]> git.dujemihanovic.xyz Git - linux.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)
commit4e00a434a08e0654a4dd9347485d9ec85deee1ef
tree7a1c22e974054427bf429b44c070729bebfabf4b
parent90517c9838602846daa0feec7b37382fed61b001
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