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 18:52:31 +0000 (13:52 -0500)
commit1f288afc2cb74e201bf8962d1c4d2f4dff2add51
tree5ade76d9eb7fdbe2c3da5829d6a27293756f518b
parentcaff0e6654377b623e37922d084b1a33aa9d44d7
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