drm/i915: Generalize the PPS vlv_pipe_check() stuff
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Nov 2022 17:31:50 +0000 (19:31 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Dec 2022 17:02:49 +0000 (19:02 +0200)
commit209074fd5a8217688b9ee5c200d470df3e32dee1
tree3339306331532d3756f3966ebc1da253ebffa881
parent3f9ffce5765d68775163b8b134c4d7f156b48eec
drm/i915: Generalize the PPS vlv_pipe_check() stuff

Restate the vlv_pipe_check() stuff in terms of PPS index
(rather than pipe, which it is on VLV/CHV) so that we can
reuse this same mechanim on other platforms as well.

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