OSDN Git Service

drm/amdgpu: switch to cached fw flags for sram ecc cap
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 13 May 2021 14:02:29 +0000 (22:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:30:09 +0000 (22:30 -0400)
commit698b1010864e4e396762567748724ebadc8184cd
tree306feb03298ca3c3faa6ce5de72cf8d5d3ff6ade
parent58ff791ad3ef468fe8f00eb8849b435fe52811d3
drm/amdgpu: switch to cached fw flags for sram ecc cap

Check cached firmware_flags to determine whether
sram ecc 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