drm/radeon: rework UVD writeback & [rw]ptr handling
The hardware just doesn't support this correctly. Disable it before we accidentally write anywhere we shouldn't. Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
76a0df859d
commit
02c9f7fa4e
@@ -1157,9 +1157,9 @@ static struct radeon_asic_ring rv770_uvd_ring = {
|
||||
.ring_test = &r600_uvd_ring_test,
|
||||
.ib_test = &r600_uvd_ib_test,
|
||||
.is_lockup = &radeon_ring_test_lockup,
|
||||
.get_rptr = &radeon_ring_generic_get_rptr,
|
||||
.get_wptr = &radeon_ring_generic_get_wptr,
|
||||
.set_wptr = &radeon_ring_generic_set_wptr,
|
||||
.get_rptr = &r600_uvd_get_rptr,
|
||||
.get_wptr = &r600_uvd_get_wptr,
|
||||
.set_wptr = &r600_uvd_set_wptr,
|
||||
};
|
||||
|
||||
static struct radeon_asic rv770_asic = {
|
||||
@@ -1593,9 +1593,9 @@ static struct radeon_asic_ring cayman_uvd_ring = {
|
||||
.ring_test = &r600_uvd_ring_test,
|
||||
.ib_test = &r600_uvd_ib_test,
|
||||
.is_lockup = &radeon_ring_test_lockup,
|
||||
.get_rptr = &radeon_ring_generic_get_rptr,
|
||||
.get_wptr = &radeon_ring_generic_get_wptr,
|
||||
.set_wptr = &radeon_ring_generic_set_wptr,
|
||||
.get_rptr = &r600_uvd_get_rptr,
|
||||
.get_wptr = &r600_uvd_get_wptr,
|
||||
.set_wptr = &r600_uvd_set_wptr,
|
||||
};
|
||||
|
||||
static struct radeon_asic cayman_asic = {
|
||||
|
Reference in New Issue
Block a user