]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit383f9dfd31256c2a941f554b7a18a717301af24f
tree306feb03298ca3c3faa6ce5de72cf8d5d3ff6ade
parent0d750f2c8839a0843b17d1313b254c0df6b136c0
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