]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: switch to cached fw flags for mem training cap
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 13 May 2021 14:17:07 +0000 (22:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:30:11 +0000 (22:30 -0400)
commit82a520301628dd51eb7ca7a60bbde574a4baebd1
tree0b812a33671e48911155063a105ba0f0727ff358
parent698b1010864e4e396762567748724ebadc8184cd
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 <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/amdgpu/amdgpu_ttm.c