[Intel-xe] [PATCH 2/3] drm/xe: Set the correct type for xe_to_user_engine_class

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Sat Aug 5 06:54:53 UTC 2023


On Fri, Aug 04, 2023 at 02:32:52PM -0700, Umesh Nerlige Ramappa wrote:
>User engine class is of type u16. Set the same type for the array used to
>map xe engines to user engines.
>
>Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>

This patch should be merged with original patch.
So, use the below fixup commit header
"fixup! drm/xe: Introduce a new DRM driver for Intel GPUs"

With that,
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>

>---
> drivers/gpu/drm/xe/xe_query.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_query.c b/drivers/gpu/drm/xe/xe_query.c
>index 297e93a0eb8c..99a4800c7c53 100644
>--- a/drivers/gpu/drm/xe/xe_query.c
>+++ b/drivers/gpu/drm/xe/xe_query.c
>@@ -19,7 +19,7 @@
> #include "xe_macros.h"
> #include "xe_ttm_vram_mgr.h"
>
>-static const enum xe_engine_class xe_to_user_engine_class[] = {
>+static const u16 xe_to_user_engine_class[] = {
> 	[XE_ENGINE_CLASS_RENDER] = DRM_XE_ENGINE_CLASS_RENDER,
> 	[XE_ENGINE_CLASS_COPY] = DRM_XE_ENGINE_CLASS_COPY,
> 	[XE_ENGINE_CLASS_VIDEO_DECODE] = DRM_XE_ENGINE_CLASS_VIDEO_DECODE,
>-- 
>2.38.1
>


More information about the Intel-xe mailing list