]> 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)
commit790aa3513859abe53ee5800f20a8b53f4d491d00
tree327587ca5021a2393a3b5ed7c757a9a5d0d15c2f
parentc7e443de8cc53b020b9bff464ba6b69f52ec3178
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