]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915/dp: Make port sync mode assignments only if all tiles present
authorManasi Navare <manasi.d.navare@intel.com>
Sat, 28 Dec 2019 03:12:03 +0000 (19:12 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Mon, 30 Dec 2019 08:15:48 +0000 (00:15 -0800)
commitaee40639cdc315c0bd7618f84577eeb2ff0ef9b1
tree9e86954e9f3b3f4b6781f87d0d50a93c987e73a4
parenta603f5bd1691f975d036718ff176e10332d2bc64
drm/i915/dp: Make port sync mode assignments only if all tiles present

Add an extra check before making master slave assignments for tiled
displays to make sure we make these assignments only if all tiled
connectors are present. If not then initialize the state to defaults
so it does a normal non tiled modeset without transcoder port sync.

v4:
deafulat port sync values in prepare_cleared_state (Ville)
v3:
* Default master trans to INVALID to avoid pipe mismatch
v2:
* Rename icl_add_sync_mode_crtcs
* Move this function just before .compute_config hook
* Check if DP before master slave assignments (Ville)

Bugzilla: https://gitlab.freedesktop.org/drm/intel/issues/5
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191228031204.10189-2-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_display.c