]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: check GFX RAS capability before reset counters
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 9 Mar 2020 08:34:37 +0000 (16:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Mar 2020 15:52:33 +0000 (11:52 -0400)
commit44fd84ec153bdd189c5bc12cc348ab3c487d20e8
tree69474889036f11cb277d6465ec6c481ee80a9e4c
parentdfe297ea068571aeaeb1c22c7ed1d63c222015b4
drm/amdgpu: check GFX RAS capability before reset counters

disallow the logical to be enabled on platforms that
don't support gfx ras at this stage, like sriov skus,
dgpu with legacy ras.etc

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c