mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
drm/rockchip: dw-dp: fix HDCP1.3 write Ainfo register issue
Some device DPCD Reversion is 1.2, but It can't write Ainfo register REAUTHENTICATION_ENABLE_IRQ_HPD bit. For there devices, it should avoid write REAUTHENTICATION_ENABLE_IRQ_HPD bit. It better to write REAUTHENTICATION_ENABLE_IRQ_HPD bit to Ainfo register just when the DPCE Reversion higher than 1.2. Change-Id: I10dcae33e8f33c9d41a05752caebc9cd085e729b Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
This commit is contained in:
@@ -786,7 +786,7 @@ static int _dw_dp_hdcp_enable(struct dw_dp *dp)
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
if (rev >= DP_DPCD_REV_12)
|
||||
if (rev > DP_DPCD_REV_12)
|
||||
regmap_update_bits(dp->regmap, DPTX_HDCPCFG, DPCD12PLUS, DPCD12PLUS);
|
||||
|
||||
regmap_update_bits(dp->regmap, DPTX_HDCPCFG, ENABLE_HDCP | ENABLE_HDCP_13,
|
||||
|
||||
Reference in New Issue
Block a user