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>
Wed, 19 May 2021 22:02:27 +0000 (18:02 -0400)
commitdbd1003d1252db5973dddf20b24bb0106ac52aa2
tree8d9d37a989ed100540ed1632764234cfbefc30b9
parentd53751568359e5b3ffb859b13cbd79dc77a571f1
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c