commit | c564b8601ae917086751d90f464d5f19d731ece7 | [log] [tgz] |
---|---|---|
author | Huang Rui <ray.huang@amd.com> | Tue Jun 30 12:32:57 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jul 09 14:24:15 2020 -0400 |
tree | fe6dca4c191378e82545dbd87b55bef52e77da74 | |
parent | 20303ec5d2165ee6344190274bc59118921f71d9 [diff] |
drm/amdgpu: add TMR destory function for psp 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 (0xFFFF007) on Gfx-2-PSP command GFX_CMD_ID_SETUP_TMR after do multiple times suspend/resume. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org