drm/amdgpu/vcn:fix dpg pause mode hang issue
authorJames Zhu <James.Zhu@amd.com>
Tue, 2 Oct 2018 15:44:50 +0000 (11:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:07:26 +0000 (17:07 -0500)
commit2dc4aa523b538f55e38bd4c7b6d704162b5728ac
tree0d64e890334106d1769a8148a7b4423829291ddb
parent9332ddc91537cb739b8ee2cc17aebb3253cf8cde
drm/amdgpu/vcn:fix dpg pause mode hang issue

Use mmUVD_SCRATCH2 tracking decode write point.
It will help avoid dpg pause mode hang issue.

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