drm/amd: Don't try to enable secure display TA multiple times
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 23 Jun 2023 03:18:39 +0000 (22:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:22:03 +0000 (16:22 +0200)
commit4033b47642c7e2956bb556f2dd953b5e9e47d927
tree70edc13386efbc2d58f789c69eb69928c20df6ec
parent0d4e60e23c7d6a54f80e1b8ceec9a8c3df736dad
drm/amd: Don't try to enable secure display TA multiple times

[ Upstream commit 5c6d52ff4b61e5267b25be714eb5a9ba2a338199 ]

If the securedisplay TA failed to load the first time, it's unlikely
to work again after a suspend/resume cycle or reset cycle and it appears
to be causing problems in futher attempts.

Fixes: e42dfa66d592 ("drm/amdgpu: Add secure display TA load for Renoir")
Reported-by: Filip Hejsek <filip.hejsek@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2633
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c