]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Compute port sync crtc states post compute_config()
authorManasi Navare <manasi.d.navare@intel.com>
Fri, 14 Feb 2020 11:41:25 +0000 (03:41 -0800)
committerUma Shankar <uma.shankar@intel.com>
Thu, 20 Feb 2020 08:23:55 +0000 (13:53 +0530)
commitb50a1aa6e1e9471c4adc0589244d885496e5cd0c
tree5e3a9d11675a91fa6f3b7be6206123ef2010441a
parentf28014244d54114ee3b9ea27a3b48a9bee4a4e18
drm/i915/dp: Compute port sync crtc states post compute_config()

This patch pushes out the computation of master and slave
transcoders in crtc states after encoder's compute_config hook.
This ensures that the assigned master slave crtcs have exact same
mode and timings which is a requirement for Port sync mode
to be enabled.

v3:
* Make crtc_state const, remove crtc state NULL init (Ville)
v2:
* Correct indentation
* Rename to intel_ddi_port_sync_transcoders (Ville)
* remove unwanted debug (Ville)

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200214114126.13192-2-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.c