OSDN Git Service

drm/amdgpu: Disable gfx off if VCN is busy
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 27 Jul 2018 09:00:02 +0000 (17:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:53 +0000 (11:09 -0500)
commit3fded222f4bf7f4c56ef4854872a39a4de08f7a8
tree44d0835e37d14d7227257ab58a5fa9e449091a85
parent408acede8732bec629959f8628c46ab4517e3995
drm/amdgpu: Disable gfx off if VCN is busy

this patch is a workaround for the gpu hang
at video begin/end time if gfx off is enabled.

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