mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
rendercopy: Pass context to rendercopy functions
rendercopy does the batch buffer flush internally, so if we want to use it with multiple contexts, we need to pass the context in from caller. v2: Modify rendercopy_gen8 as well Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
@@ -84,7 +84,7 @@ static void *work(void *arg)
|
||||
|
||||
if (uncontexted) {
|
||||
igt_assert(rendercopy);
|
||||
rendercopy(batch, &src, 0, 0, 0, 0, &dst, 0, 0);
|
||||
rendercopy(batch, NULL, &src, 0, 0, 0, 0, &dst, 0, 0);
|
||||
} else {
|
||||
int ret;
|
||||
ret = drm_intel_bo_subdata(batch->bo, 0, 4096, batch->buffer);
|
||||
|
||||
Reference in New Issue
Block a user