fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy
Subsystems (3)
PATCH 1/1 fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy
Change rsvd to pad in struct drm_xe_class_instance to prevent the field from being used in future.
--- drivers/gpu/drm/xe/xe_query.c | 5 ++++- include/uapi/drm/xe_drm.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_query.c +4 -1
@@ -215,7 +215,10 @@ static int query_engines(struct xe_device *xe, xe_to_user_engine_class[hwe->class]; hw_engine_info[i].engine_instance = hwe->logical_instance; - hw_engine_info[i++].gt_id = gt->info.id; + hw_engine_info[i].gt_id = gt->info.id; + hw_engine_info[i].pad =0 ; + + i++; }if (copy_to_user (query_ptr, hw_engine_info, size)) {
include/uapi/drm/xe_drm.h +1 -1
@@ -144,7 +144,7 @@ struct drm_xe_engine_class_instance {__u16 engine_instance;__u16 gt_id; -__u16 rsvd; +__u16 pad; };/**
Signature · 1 line
2.38.1
Patchwork
CI[Intel-xe] ✗ CI.Patch_applied: failure for fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy
== Series Details ==
== Series Details ==
Series: fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy
URL : https://patchwork.freedesktop.org/series/124690/
State : failure
== Summary ==
=== Applying kernel patches on branch 'drm-xe-next' with base: ===
Base commit: b3daf7f07 drm/xe/hwmon: fix uaf on unload
=== git am output follows ===
error: patch failed: include/uapi/drm/xe_drm.h:144
error: include/uapi/drm/xe_drm.h: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch
Applying: fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy Patch failed at 0001 fixup! drm/xe: Correlate engine and cpu timestamps with better accuracy When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Quoted 2 lines · Umesh Nerlige Ramappa
Change rsvd to pad in struct
drm_xe_class_instanceto prevent the field from being used in future.
Quoted 36 lines
Signed-off-by Umesh Nerlige Ramappa <[email protected]>--- drivers/gpu/drm/xe/xe_query.c | 5 ++++- include/uapi/drm/xe_drm.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-)drivers/gpu/drm/xe/xe_query.c +4
-1@@ -215,7 +215,10 @@ static int query_engines(struct xe_device *xe, xe_to_user_engine_class[hwe->class]; hw_engine_info[i].engine_instance = hwe->logical_instance; - hw_engine_info[i++].gt_id = gt->info.id; + hw_engine_info[i].gt_id = gt->info.id; + hw_engine_info[i].pad =0 ; + + i++; }if (copy_to_user (query_ptr, hw_engine_info, size)) {include/uapi/drm/xe_drm.h +1
-1@@ -144,7 +144,7 @@ struct drm_xe_engine_class_instance {__u16 engine_instance;__u16 gt_id; -__u16 rsvd; +__u16 pad; };/**