drm/amdgpu: add atomfirmware helper function to query sram ecc caps
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 7 Mar 2019 02:52:43 +0000 (10:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:51 +0000 (15:36 -0500)
commit8b6da23f511f8d85eb5330700b45b3f5c779ffdc
tree2ac50c6eb4d35fabc097a97b8c3b191fc1a5943f
parent511c4348cf7bb4d224e944e6d84a5bf8edacbfef
drm/amdgpu: add atomfirmware helper function to query sram ecc caps

sram ecc capability could be get from firmware_capability field in firmwareinfo table

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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