[PATCH i-g-t v3 2/2] tests/intel/xe_exec_atomic: Fix incorrect GEM create flag

Dandamudi, Priyanka priyanka.dandamudi at intel.com
Wed Jun 18 07:36:18 UTC 2025


LGTM,
Reviewed-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Lukasz
> Laguna
> Sent: 16 June 2025 07:53 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Auld, Matthew <matthew.auld at intel.com>; Konieczny, Kamil
> <kamil.konieczny at intel.com>; Laguna, Lukasz <lukasz.laguna at intel.com>
> Subject: [PATCH i-g-t v3 2/2] tests/intel/xe_exec_atomic: Fix incorrect GEM
> create flag
> 
> Replace I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS with the correct
> DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM.
> 
> Suggested-by: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Lukasz Laguna <lukasz.laguna at intel.com>
> ---
>  tests/intel/xe_exec_atomic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/intel/xe_exec_atomic.c b/tests/intel/xe_exec_atomic.c index
> 825d7d190..39c739b64 100644
> --- a/tests/intel/xe_exec_atomic.c
> +++ b/tests/intel/xe_exec_atomic.c
> @@ -85,7 +85,7 @@ static void basic_inst(int fd, int inst_type, struct
> drm_xe_engine_class_instanc
>  	bo_size = xe_bb_size(fd, bo_size);
> 
>  	bo = xe_bo_create(fd, vm, bo_size, placement,
> -
> I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS);
> +
> DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM);
> 
>  	exec_queue = xe_exec_queue_create(fd, vm, eci, 0);
>  	bind_engine = xe_bind_exec_queue_create(fd, vm, 0);
> --
> 2.40.0



More information about the igt-dev mailing list