]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu: disable gfxoff if VCN is busy
authorJiansong Chen <Jiansong.Chen@amd.com>
Fri, 30 Oct 2020 11:23:07 +0000 (19:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:32:43 +0000 (15:32 -0500)
commitef3b2987254035f9b869f70151b4220c34f2f133
tree8c2113ae5b42b45a889cb6ad397f988a273d9941
parent84aef2ab0977199784671295a07043191233d7c7
drm/amdgpu: disable gfxoff if VCN is busy

Toggle on/off gfxoff during video playback to fix gpu hang.

v2: change sequence to be more compatible with original code.

Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c