]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu:fix kiq_resume routine (V2)
authorMonk Liu <Monk.Liu@amd.com>
Thu, 26 Jan 2017 07:36:37 +0000 (15:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:15 +0000 (23:53 -0400)
commit1fb37a3d0f2a227d270e7ef39b8d4dd0bfb46aca
tree536d1d2219dc37830f75abaded8f0312fd7a5449
parentf6bd79424cd02f5726c294916d9afb3cf031080c
drm/amdgpu:fix kiq_resume routine (V2)

v2:
use in_rest to fix compute ring test failure issue
which occured after FLR/gpu_reset.

we need backup a clean status of MQD which was created in drv load
stage, and use it in resume stage, otherwise KCQ and KIQ all may
faild in ring/ib test.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c