]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: pin the csb buffer on hw init for gfx v8
authorLikun Gao <Likun.Gao@amd.com>
Fri, 2 Aug 2019 07:18:57 +0000 (15:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2019 20:04:40 +0000 (15:04 -0500)
commit5cf2fb1a9e7ec104a14937815860662153d29d46
treee4087457295a20e12d96abceb14b56d247336db3
parent529a6ca0998a8cf30cdf0a2ac8249bcf73af0ad6
drm/amdgpu: pin the csb buffer on hw init for gfx v8

Without this pin, the csb buffer will be filled with inconsistent
data after S3 resume. And that will causes gfx hang on gfxoff
exit since this csb will be executed then.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Tested-by: Paul Gover <pmw.gover@yahoo.co.uk>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c