]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Decouple intel_dp_{min,output}_bpp() from crtc_state
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 Sep 2020 21:43:34 +0000 (00:43 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Sep 2020 16:50:07 +0000 (19:50 +0300)
commitf1bce832500ea2c7903382ee4217e2e5e6eb6953
tree432d22b66ec5c34c4c95d5b16a3c590ce96b5550
parent773bd825c4cc0e0461c8f227e813fb7e9c13d2b0
drm/i915: Decouple intel_dp_{min,output}_bpp() from crtc_state

Pass the output_format directly to intel_dp_{min,output}_bpp()
rather than passing in the crtc_state and digging out the
output_format inside the functions. This will allow us to reuse
the functions for mode validation purposes.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200917214335.3569-2-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h
drivers/gpu/drm/i915/display/intel_dp_mst.c