diff options
author | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2021-07-20 12:01:11 +0200 |
---|---|---|
committer | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2021-08-10 21:02:50 +0200 |
commit | ad3ad1ebab84ff5d02b23abdd8ca2025ec5a5e9a (patch) | |
tree | 0da326924577308d9986a32d7d644496aab2772a /lib/huc_copy.h | |
parent | cbdf3b1d3acc14da497259e6e8f6e0fd0632d8fd (diff) |
lib/huc_copy: Extend huc copy prototype to pass allocator handle
For testing gem_huc_copy on no-reloc platforms we need to pass
allocator handle and object sizes to properly acquire offsets from
allocator.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'lib/huc_copy.h')
-rw-r--r-- | lib/huc_copy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/huc_copy.h b/lib/huc_copy.h index ac31d800..69d14093 100644 --- a/lib/huc_copy.h +++ b/lib/huc_copy.h @@ -43,7 +43,7 @@ #define HUC_VIRTUAL_ADDR_REGION_DST 14 void -gen9_huc_copyfunc(int fd, - struct drm_i915_gem_exec_object2 *obj); +gen9_huc_copyfunc(int fd, uint64_t ahnd, + struct drm_i915_gem_exec_object2 *obj, uint64_t *objsize); #endif /* HUC_COPY_H */ |