drm/amdgpu: add helper function to query dynamic boot config cap
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 13 May 2021 15:06:57 +0000 (23:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:30:14 +0000 (22:30 -0400)
commitcffd6f9d42bd2119edff9efdaaed08cc08178f95
treef779e3571b9851798d0cc4884ce05796da4ef0c7
parent82a520301628dd51eb7ca7a60bbde574a4baebd1
drm/amdgpu: add helper function to query dynamic boot config cap

Check firmware flags to determine whether dynmaic
boot config is supported or not.

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_atomfirmware.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
drivers/gpu/drm/amd/include/atomfirmware.h