diff options
| author | Hawking Zhang <Hawking.Zhang@amd.com> | 2021-05-13 23:06:57 +0800 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-19 22:30:14 -0400 | 
| commit | cffd6f9d42bd2119edff9efdaaed08cc08178f95 (patch) | |
| tree | f779e3571b9851798d0cc4884ce05796da4ef0c7 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
| parent | 82a520301628dd51eb7ca7a60bbde574a4baebd1 (diff) | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h index 8be95d860e45..1bbbb195015d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h @@ -37,6 +37,7 @@ int amdgpu_atomfirmware_get_gfx_info(struct amdgpu_device *adev);  bool amdgpu_atomfirmware_mem_ecc_supported(struct amdgpu_device *adev);  bool amdgpu_atomfirmware_sram_ecc_supported(struct amdgpu_device *adev);  bool amdgpu_atomfirmware_mem_training_supported(struct amdgpu_device *adev); +bool amdgpu_atomfirmware_dynamic_boot_config_supported(struct amdgpu_device *adev);  int amdgpu_atomfirmware_get_fw_reserved_fb_size(struct amdgpu_device *adev);  #endif | 
