]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: pin the csb buffer on hw init v2
authorEvan Quan <evan.quan@amd.com>
Wed, 4 Jul 2018 08:21:52 +0000 (16:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:44:08 +0000 (14:44 -0500)
commitd7a2416a9958e6906c1372409aaed7bd3a3cb240
tree327587ca5021a2393a3b5ed7c757a9a5d0d15c2f
parente5699d2e3d5145b448810bbc87e1f4df0c7341a9
drm/amdgpu: pin the csb buffer on hw init v2

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.

v2: fit amdgpu_bo_pin change(take one less argument)

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c