]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/vcn:Add ring W/R PTR check for VCN DPG mode stop
authorJames Zhu <James.Zhu@amd.com>
Wed, 3 Oct 2018 21:36:58 +0000 (17:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Oct 2018 17:54:17 +0000 (12:54 -0500)
commit15296db70619984157e60666da5da8994a66870e
treed7f177da7c04e6a7d8ae349dfe76cf7734383d9f
parent5866fb929c90e3189c1abd4d6518712ad56c90b4
drm/amdgpu/vcn:Add ring W/R PTR check for VCN DPG mode stop

Add ring write/read pointer check for VCN dynamic power gate mode
stop,to make sure that no job is left in ring before turn off DPG mode.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c