OSDN Git Service

drm/i915/dp: Disable Port sync mode correctly on teardown
authorManasi Navare <manasi.d.navare@intel.com>
Sat, 28 Dec 2019 03:12:04 +0000 (19:12 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Mon, 30 Dec 2019 08:16:07 +0000 (00:16 -0800)
commita3d9382bd439e7be1858abc3d5f014dd55913448
tree4ee9d32bca3e1355e66e9ba22777c42c1c0feed3
parentaee40639cdc315c0bd7618f84577eeb2ff0ef9b1
drm/i915/dp: Disable Port sync mode correctly on teardown

While clearing the Ports ync mode enable and master select bits
we need to clear the register completely instead of using disable masks

v3:
* Remove reg variable (Matt)
v2:
* Just write 0 to the reg (Ville)
* Rebase

Bugzilla: https://gitlab.freedesktop.org/drm/intel/issues/5
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Fixes: 51528afe7c5e ("drm/i915/display/icl: Disable transcoder port sync as part of crtc_disable() sequence")
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191228031204.10189-3-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c