]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Return the correct HDCP error code
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Wed, 14 Feb 2024 20:29:51 +0000 (13:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:37 +0000 (15:28 +0200)
commitc7c855fd3d5af01496aaa8be93a1e9811166cf11
tree0acd1c2a23c67c93f5b995ef2d9d1c4d7b8b9256
parent6fcd12cb90888ef2d8af8d4c04e913252eee4ef3
drm/amd/display: Return the correct HDCP error code

[ Upstream commit e64b3f55e458ce7e2087a0051f47edabf74545e7 ]

[WHY & HOW]
If the display is null when creating an HDCP session, return a proper
error code.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c