drm/xe: Fix a missing argument to drm_err_printer
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 12 Feb 2024 10:38:33 +0000 (11:38 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 12 Feb 2024 11:14:02 +0000 (12:14 +0100)
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 <jani.nikula@intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240212103833.138263-1-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c

index 7eef23a..d42645f 100644 (file)
@@ -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 = &gt->uc.guc;
-       struct drm_printer p = drm_err_printer(__func__);
+       struct drm_printer p = drm_err_printer(&xe->drm, __func__);
        int ret;
 
        /*