drm/amdgpu: add helper function to query gecc status in boot config
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 25 May 2021 15:57:14 +0000 (23:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Jun 2021 20:05:46 +0000 (16:05 -0400)
commitc6642234919c1cc11d2097c0868085ee19912477
tree0cd6db65c8f2d3f809263b9ff9a208d02d1112a3
parent55188d64edd72a33bc8fd0e42703140ce8e80bb0
drm/amdgpu: add helper function to query gecc status in boot config

Query GECC enablement status in boot config

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c