diff options
author | Imre Deak <imre.deak@intel.com> | 2020-06-16 17:18:53 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2020-06-23 10:12:27 +0300 |
commit | 3d289d2578eff2a274fc5e63fca2a611404a3003 (patch) | |
tree | d83be109d00e74524a7fed618c399e2777e62c1e /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | e60b8672526cc0e1a033380998eff6978b8d3e09 (diff) | |
download | linux-3d289d2578eff2a274fc5e63fca2a611404a3003.tar.gz linux-3d289d2578eff2a274fc5e63fca2a611404a3003.tar.bz2 linux-3d289d2578eff2a274fc5e63fca2a611404a3003.zip |
drm/i915/dp_mst: Clear only the ACT sent flag from DP_TP_STATUS
It's not clear if the DP_TP_STATUS flags other than the ACT sent flag
have some side-effect, so don't clear those; we don't depend on the
state of these flags anyway.
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200616141855.746-4-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 33eb15478f40..2ee538d99ba7 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -323,7 +323,7 @@ static void clear_act_sent(struct intel_dp *intel_dp) struct drm_i915_private *i915 = dp_to_i915(intel_dp); intel_de_write(i915, intel_dp->regs.dp_tp_status, - intel_de_read(i915, intel_dp->regs.dp_tp_status)); + DP_TP_STATUS_ACT_SENT); } static void wait_for_act_sent(struct intel_dp *intel_dp) |