OSDN Git Service

drm/amdgpu: only apply gds clearing workaround when ras is supported
authorHawking Zhang <Hawking.Zhang@amd.com>
Sat, 31 Aug 2019 06:27:13 +0000 (14:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:36:29 +0000 (17:36 -0500)
commit39857252e5e50edd90bff444ca0e3375aed68a94
tree18fe8fb7d6e82e7e323ff6e479b17973a9b984aa
parent8bf2485aec63b9a9cc81ad795e1bb7fda19bf33c
drm/amdgpu: only apply gds clearing workaround when ras is supported

gds clearing workaround should only be applied on asics that support gfx ras

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c