OSDN Git Service

drm/i915: add pipe id/name to pipe mismatch logs
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 11 Oct 2019 01:09:05 +0000 (18:09 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 19 Oct 2019 00:28:20 +0000 (17:28 -0700)
commit73cefd903de77ac084b278e152248d6923d400e5
tree67a6f186c2bfa095af91a212b325a9784d17058f
parentcbd9b9f2e7b1f2e34478e0b1d944d521063e430d
drm/i915: add pipe id/name to pipe mismatch logs

This way it's easier to figure out what didn't match when we have
multiple pipes enabled.

v2: pass drm_crtc and use the more common [CRTC:%d:%s] format
    (Ville)
v3: use struct intel_crtc type to pass crtc around (Ville)

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191015164029.18431-5-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display.c