]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add comments to hdcp property change code
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Thu, 26 Sep 2019 21:44:50 +0000 (17:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Nov 2020 19:36:25 +0000 (14:36 -0500)
commite3afddb36dd068feb73aacaf0d6ffab9866c7860
tree97ab452510716454f6bdec5893ebc7ebd14db513
parentcd213ac72be24c9efa14bddccec1fe8ebdbf373d
drm/amd/display: Add comments to hdcp property change code

[Why]
These comments are helpful in understanding which case each if
statement handles.

[How]
Add comments for state transitions (9 possible cases)

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c