]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix unstable HPCP compliance on Chrome Barcelo
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Fri, 27 Aug 2021 10:58:38 +0000 (06:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Sep 2021 13:56:24 +0000 (09:56 -0400)
commitd00398c748e50b84eb1b90a04ab108ac2f471cca
tree7a1c22e974054427bf429b44c070729bebfabf4b
parent4585c6a1660e997dc851f231744e5c0529844109
drm/amd/display: Fix unstable HPCP compliance on Chrome Barcelo

[Why]
Intermittently, there presents two occurrences of 0 stream
commits in a single HPD event. Current HDCP sequence does
not consider such scenerio, and will thus disable HDCP.

[How]
Add condition check to include stream remove and re-enable
case for HDCP enable.

Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com>
Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c