diff options
| author | Hawking Zhang <[email protected]> | 2021-05-13 14:17:07 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-20 02:30:11 +0000 |
| commit | 82a520301628dd51eb7ca7a60bbde574a4baebd1 (patch) | |
| tree | 0b812a33671e48911155063a105ba0f0727ff358 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
| parent | drm/amdgpu: switch to cached fw flags for sram ecc cap (diff) | |
| download | kernel-82a520301628dd51eb7ca7a60bbde574a4baebd1.tar.gz kernel-82a520301628dd51eb7ca7a60bbde574a4baebd1.zip | |
drm/amdgpu: switch to cached fw flags for mem training cap
Check cached firmware_flags to determin whether
two stage mem training 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/amdgpu/amdgpu_atomfirmware.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h index 5d837297a25b..8be95d860e45 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h @@ -36,7 +36,7 @@ int amdgpu_atomfirmware_get_clock_info(struct amdgpu_device *adev); 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); int amdgpu_atomfirmware_get_fw_reserved_fb_size(struct amdgpu_device *adev); -int amdgpu_mem_train_support(struct amdgpu_device *adev); #endif |
