mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 07:16:14 +00:00
tests/pm_rps: fixup the blt copy load helper changes
All suggested by Jeff McGee. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
816c947236
commit
7a8109458e
@ -231,7 +231,7 @@ static void load_helper_run(enum load load)
|
||||
|
||||
while (!lh.exit) {
|
||||
if (lh.load == HIGH)
|
||||
intel_copy_bo(lh.batch, lh.dst, lh.dst,
|
||||
intel_copy_bo(lh.batch, lh.dst, lh.src,
|
||||
LOAD_HELPER_BO_SIZE);
|
||||
|
||||
emit_store_dword_imm(val);
|
||||
@ -294,6 +294,10 @@ static void load_helper_deinit(void)
|
||||
|
||||
if (lh.target_buffer)
|
||||
drm_intel_bo_unreference(lh.target_buffer);
|
||||
if (lh.src)
|
||||
drm_intel_bo_unreference(lh.src);
|
||||
if (lh.dst)
|
||||
drm_intel_bo_unreference(lh.dst);
|
||||
|
||||
if (lh.batch)
|
||||
intel_batchbuffer_free(lh.batch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user