drm/i915: Don't use __func__ as prefix for drm_dbg_printer

Updated code of drm_dbg_printer() is already printing symbolic
name of the caller like drm_dbg() does.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240517163406.2348-4-michal.wajdeczko@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
Michal Wajdeczko 2024-05-17 18:34:06 +02:00 committed by Rodrigo Vivi
parent c2ef66e9ad
commit ce79b73336
No known key found for this signature in database
GPG Key ID: FA625F640EEB13CA
2 changed files with 2 additions and 2 deletions

View File

@ -1025,7 +1025,7 @@ void intel_gt_set_wedged(struct intel_gt *gt)
if (GEM_SHOW_DEBUG()) {
struct drm_printer p = drm_dbg_printer(&gt->i915->drm,
DRM_UT_DRIVER, __func__);
DRM_UT_DRIVER, NULL);
struct intel_engine_cs *engine;
enum intel_engine_id id;

View File

@ -286,7 +286,7 @@ out_engine:
if (intel_engine_pm_is_awake(engine)) {
struct drm_printer p = drm_dbg_printer(&engine->i915->drm,
DRM_UT_DRIVER, __func__);
DRM_UT_DRIVER, NULL);
intel_engine_dump(engine, &p,
"%s is still awake:%d after idle-barriers\n",