]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: query boot config cap before issue psp cmd
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 13 May 2021 15:55:49 +0000 (23:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:30:17 +0000 (22:30 -0400)
commitc6a11133337c644d1e63a78217d490e871796d1e
tree5cbc6eb693b776435464aa546f0f6467f5d0785e
parentcffd6f9d42bd2119edff9efdaaed08cc08178f95
drm/amdgpu: query boot config cap before issue psp cmd

Only send boot_config cmd to ASICs that support dynamic
boot config. Otherwise, the boot_config cmd will fail.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c