drm/i915: Extract intel_crtc_compute_pipe_mode()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 Feb 2022 13:13:10 +0000 (15:13 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Feb 2022 17:08:50 +0000 (19:08 +0200)
commit6f4cafdfe77c396d6029d80a645e949f62e670c9
tree0013208ed3708bd9a2d85d8c47ec8c71969f2b59
parent9c1197a0f82d4a8a32e29ba4c3c044b5057376c3
drm/i915: Extract intel_crtc_compute_pipe_mode()

Pull intel_crtc_compute_pipe_mode() out from
intel_crtc_compute_config(). Since it's semi related
we'll suck in the max dotclock/double wide checks in
as well.

And we'll pimp the debugs while at it.

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220223131315.18016-9-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c