mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
lib: switch intel_copy_bo to directly take a size
Instead of a width/height combination. Since I've been lazy with the math this now only accepts page-aligned copy operations, but that's all we need really. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -241,7 +241,7 @@ static void blitter_busy(data_t *data)
|
||||
intel_copy_bo(data->batch,
|
||||
data->blitter.srcs[i],
|
||||
data->blitter.dsts[i],
|
||||
WIDTH, HEIGHT);
|
||||
WIDTH*HEIGHT*4);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ static void blitter_busy_fini(data_t *data)
|
||||
|
||||
static void blitter_copy(data_t *data, drm_intel_bo *src, drm_intel_bo *dst)
|
||||
{
|
||||
intel_copy_bo(data->batch, dst, src, WIDTH, HEIGHT);
|
||||
intel_copy_bo(data->batch, dst, src, WIDTH*HEIGHT*4);
|
||||
}
|
||||
|
||||
struct ring_ops {
|
||||
|
||||
Reference in New Issue
Block a user