]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2019 06:30:16 +0000 (08:30 +0200)
commit39db6b4e6fa1fe302e2e03aa5054e2c6cfbf0c73
tree46e54befa8fe46b40d07f658cb9b20090ba20ee4
parent84de7cd06750319006a20404f0493bb4119560c1
drm/amdgpu: pin the csb buffer on hw init for gfx v8

[ Upstream commit 72cda9bb5e219aea0f2f62f56ae05198c59022a7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c