drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang
authorChangfeng <Changfeng.Zhu@amd.com>
Fri, 14 May 2021 07:28:25 +0000 (15:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:38:08 +0000 (22:38 -0400)
commit8ef4f94addd734a6ce2d3f7d2a178b608e2dd8c7
tree2d57db1b947b95dc854c69d787e4d4a3d9ab55b4
parentd9c7f753b8b4d69294ec990c185d5d5fd0a29336
drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang

There is problem with 3DCGCG firmware and it will cause compute test
hang on picasso/raven1. It needs to disable 3DCGCG in driver to avoid
compute hang.

Signed-off-by: Changfeng <Changfeng.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@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/soc15.c