aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/atomfirmware.h
diff options
context:
space:
mode:
authorHawking Zhang <[email protected]>2021-05-13 15:06:57 +0000
committerAlex Deucher <[email protected]>2021-05-20 02:30:14 +0000
commitcffd6f9d42bd2119edff9efdaaed08cc08178f95 (patch)
treef779e3571b9851798d0cc4884ce05796da4ef0c7 /drivers/gpu/drm/amd/include/atomfirmware.h
parentdrm/amdgpu: switch to cached fw flags for mem training cap (diff)
downloadkernel-cffd6f9d42bd2119edff9efdaaed08cc08178f95.tar.gz
kernel-cffd6f9d42bd2119edff9efdaaed08cc08178f95.zip
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/atomfirmware.h')
-rw-r--r--drivers/gpu/drm/amd/include/atomfirmware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
index f2564ba21c0b..2aa6d27ed68f 100644
--- a/drivers/gpu/drm/amd/include/atomfirmware.h
+++ b/drivers/gpu/drm/amd/include/atomfirmware.h
@@ -501,6 +501,7 @@ enum atombios_firmware_capability
ATOM_FIRMWARE_CAP_SRAM_ECC = 0x00000200,
ATOM_FIRMWARE_CAP_ENABLE_2STAGE_BIST_TRAINING = 0x00000400,
ATOM_FIRMWARE_CAP_ENABLE_2ND_USB20PORT = 0x0008000,
+ ATOM_FIRMWARE_CAP_DYNAMIC_BOOT_CFG_ENABLE = 0x0020000,
};
enum atom_cooling_solution_id{