]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix hdcp1 create session
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 3 Dec 2019 20:47:53 +0000 (15:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:13:13 +0000 (12:13 -0500)
commitcf474c2aa14f517b11b9a67db177e351817fead8
tree2f9caf524ed630a6040d5c03727f85dc95064535
parent6b25d2a3365ed2f50100306733f1a959df93b728
drm/amd/display: Fix hdcp1 create session

[Why]
PSP needs session ID to destroy a session, In the case where we fail
create session we don't have a session ID

[How]
Set the session ID before returning

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c