drm/amdgpu: Add PSP loading support for DMCUB ucode
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 22 Oct 2019 17:24:00 +0000 (13:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:42 +0000 (15:29 -0500)
commit2bd2a27ffc7cc43216a35ad516c5b96156c52fb8
tree1ef12080c13c8d458b24018a2daf58eadcd60f24
parent02350f0bdf44d888b2c3284ecd9836524d930e00
drm/amdgpu: Add PSP loading support for DMCUB ucode

DMCUB ucode requires secure loading through PSP. This is already
supported in PSP as GFX_FW_TYPE_DMUB, it just needs to be mapped from
AMDGPU_UCODE_ID_DMCUB to GFX_FW_TYPE_DMUB.

DMUB is a shorthand name for DMCUB and can be used interchangeably.

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