]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu/gfx10: re-init clear state buffer after gpu reset
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Wed, 20 Nov 2019 06:02:22 +0000 (14:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:27:11 +0000 (14:27 -0500)
commitc25edaaf75af4e291e63f58f17b5f5b499dd6e38
treea176dd9171d0174cbdb41f9e72e65d25569e3d77
parent6a93b58e5fe233dae2fb98ac86610afdb6745da8
drm/amdgpu/gfx10: re-init clear state buffer after gpu reset

This patch fixes 2nd baco reset failure with gfxoff enabled on navi1x.

clear state buffer (resides in vram) is corrupted after 1st baco reset,
upon gfxoff exit, CPF gets garbage header in CSIB and hangs.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c