]> 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 18:52:31 +0000 (13:52 -0500)
commit4abbf565bd0ca45863b863c47afc5bf013837ebf
tree5ade76d9eb7fdbe2c3da5829d6a27293756f518b
parent7ab5ee555527a298bd597d228b06db6d005e1672
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