]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Don't ask PSP to load DMCUB for backdoor load
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 28 Jan 2020 20:14:07 +0000 (15:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2020 16:03:24 +0000 (11:03 -0500)
commitc5e6696a52411c865e6cb13b58117df6b097756e
treeec608131983342771d6795cadfbca15a1a09f692
parent8abe8f6f39356f65d7054bdee49b773c5f6c680d
drm/amd/display: Don't ask PSP to load DMCUB for backdoor load

[Why]
If we're doing backdoor load then do it entirely ourselves without
invoking any of the frontdoor path to avoid potential issues with
outdated tOS.

[How]
Check the load type and don't pass it to base if we don't want it
loaded.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c