Re: [PATCH 2/2] drm/amdgpu: add TMR destory function for psp

2020-06-30 Thread Deucher, Alexander
[AMD Public Use] Series is: Reviewed-by: Alex Deucher From: amd-gfx on behalf of Huang Rui Sent: Tuesday, June 30, 2020 6:30 AM To: amd-gfx@lists.freedesktop.org Cc: Huang, Ray Subject: [PATCH 2/2] drm/amdgpu: add TMR destory function for psp TMR

[PATCH 2/2] drm/amdgpu: add TMR destory function for psp

2020-06-30 Thread Huang Rui
TMR is required to be destoried with GFX_CMD_ID_DESTROY_TMR while the system goes to suspend. Otherwise, PSP may return the failure state (0x007) on Gfx-2-PSP command GFX_CMD_ID_SETUP_TMR after do multiple times suspend/resume. Signed-off-by: Huang Rui ---