OSDN Git Service

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)
commit72cda9bb5e219aea0f2f62f56ae05198c59022a7
treee4087457295a20e12d96abceb14b56d247336db3
parentb887011803582c8539cd9f963035eef91373a169
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