drm/i915: Improve PPS debugs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Sun, 27 Nov 2022 15:52:39 +0000 (17:52 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Dec 2022 17:02:50 +0000 (19:02 +0200)
commit4c0eb35fc103eb71e9b842270f449b79b1cf69b2
treee20f94f1a57d4a3fcdc9db731c2a0e0c6bcd5473
parented5509d1d45102fd82d2d870616ceb48fcc474aa
drm/i915: Improve PPS debugs

Always include both the encoder and PPS instance information
in the debug prints so that we know what piece of hardware
we're actually dealing with.

v2: Make sure pps is selected before debug prints/etc. in
    intel_pps_vdd_on_unlocked() on vlv/chv
    There is no pps on pipe C on chv
v3: Allow PPS=INVALID_PIPE for vlv/chv

Cc: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221127155239.26973-1-ville.syrjala@linux.intel.com
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
drivers/gpu/drm/i915/display/intel_pps.c