summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
diff options
context:
space:
mode:
authorBokun Zhang <Bokun.Zhang@amd.com>2020-11-10 15:15:50 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-11-13 00:13:51 -0500
commit3617e579eba427ed1f6b86050fe678623184db74 (patch)
tree28d4a2a83029cc72f7591f571403c1c7ab8be457 /drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
parent6bfbfe8c4591c53bf8435af1a0f45b575ba5f53e (diff)
downloadlinux-3617e579eba427ed1f6b86050fe678623184db74.tar.bz2
drm/amd/amdgpu: Update VCN initizalization behvaior
- Issue: In the original vcn3.0 code, it assumes that the VCN's init_status is always 1, even after the MMSCH updates the header. This is incorrect since by default, it should be set to 0, and MMSCH will update it to 1 if VCN is ready. - Fix: We need to read back the table header after send it to MMSCH. After that, if a VCN instance is not ready (host disabled it), we needs to disable the ring buffer as well. Signed-off-by: Bokun Zhang <Bokun.Zhang@amd.com> Reviewed-by: Monk Liu <monk.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c')
0 files changed, 0 insertions, 0 deletions