drm/xe: Fix a missing argument to drm_err_printer
Subsystems (2)
Thomas Hellström
maintainerPATCH 1/1 drm/xe: Fix a missing argument to drm_err_printer
The indicated commit below added a device argument to the function, but there was a call in the xe driver that was not properly changed.
--- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c +1 -1
@@ -314,7 +314,7 @@ int xe_gt_tlb_invalidation_wait(struct xe_gt *gt, int seqno) {struct xe_device *xe =gt_to_xe (gt);struct xe_guc *guc = >->uc.guc; -struct drm_printer p =drm_err_printer (__func__); +struct drm_printer p =drm_err_printer (&xe->drm, __func__);int ret;/*
Signature · 1 line
2.43.0
Quoted 9 lines · Thomas Hellström
The indicated commit below added a device argument to the function, but there was a call in the xe driver that was not properly changed.
Fixes 5e0c04c8c40b ("drm/print: make drm_err_printer() device specific by using drm_err()")Cc Jani Nikula <[email protected]>Cc Luca Coelho <[email protected]>Cc Maxime Ripard <[email protected]>Signed-off-by Thomas Hellström <[email protected]>
Maxime
Quoted 3 lines · Thomas Hellström
The indicated commit below added a device argument to the function, but there was a call in the xe driver that was not properly changed.
Aww, crap. Looks like my drm-misc-next configs don't have xe enabled.
Quoted 22 lines
Fixes 5e0c04c8c40b ("drm/print: make drm_err_printer() device specific by using drm_err()")Cc Jani Nikula <[email protected]>Cc Luca Coelho <[email protected]>Cc Maxime Ripard <[email protected]>Signed-off-by Thomas Hellström <[email protected]>--- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c +1
-1@@ -314,7 +314,7 @@ int xe_gt_tlb_invalidation_wait(struct xe_gt *gt, int seqno) {struct xe_device *xe =gt_to_xe (gt);struct xe_guc *guc = >->uc.guc; -struct drm_printer p =drm_err_printer (__func__); +struct drm_printer p =drm_err_printer (&xe->drm, __func__);int ret;/*
Signature · 1 line
Jani Nikula, Intel
Quoted 6 lines · Jani Nikula
Quoted 3 lines · Thomas Hellström
The indicated commit below added a device argument to the function, but there was a call in the xe driver that was not properly changed.
Aww, crap. Looks like my drm-misc-next configs don't have xe enabled.
FTR, there's defconfigs in the drm-rerere repo that are fairly well maintained.
Maxime
Quoted 9 lines · Maxime Ripard
Quoted 6 lines · Jani Nikula
Quoted 3 lines · Thomas Hellström
The indicated commit below added a device argument to the function, but there was a call in the xe driver that was not properly changed.
Aww, crap. Looks like my drm-misc-next configs don't have xe enabled.
FTR, there's defconfigs in the drm-rerere repo that are fairly well maintained.
None of them have CONFIG_DRM_XE enabled.
What's the procedure for updating the defconfigs? Do we have it documented somewhere?
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel
Quoted 7 lines · Jani Nikula
Quoted 6 lines · Maxime Ripard
Quoted 5 lines · Jani Nikula
Quoted 3 lines · Thomas Hellström
The indicated commit below added a device argument to the function, but there was a call in the xe driver that was not properly changed.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Aww, crap. Looks like my drm-misc-next configs don't have xe enabled.
FTR, there's defconfigs in the drm-rerere repo that are fairly well maintained.
None of them have
CONFIG_DRM_XEenabled.What's the procedure for updating the defconfigs? Do we have it documented somewhere?
I'm not sure there's a procedure, everytime I needed it I just changed the defconfig, committed and pushed.
Maxime