]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/display: Check the old state to find port sync slave
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 2 Dec 2019 22:25:11 +0000 (14:25 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 3 Dec 2019 20:32:47 +0000 (12:32 -0800)
commite815aff59dcf3f4aaf7ca061b07c0a6ef63f2351
tree07c199b97e0089f1748e9b3a8b1d5d79f219890e
parenta3265d851e28a5d87bf20edf025d7da3d21a760c
drm/i915/display: Check the old state to find port sync slave

If the CRTC is going from enabled to disabled and it is a port sync
slave, it needs to check to the old state to be disabled before the
port sync master.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191202222513.337777-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_display.c