drm/radeon: fix UVD fence emit
Subsystems (2)
PATCH 1/1 drm/radeon: fix UVD fence emit
From: Christian König <[email protected]>
Currently doesn't matter cause we allocate the fence in the lower 265MB anyway.
Reported-by Frank Huang <[email protected]>
Signed-off-by Christian König <[email protected]>
--- drivers/gpu/drm/radeon/r600.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/r600.c +1 -1
@@ -3019,7 +3019,7 @@ void r600_uvd_fence_emit(struct radeon_device *rdev, struct radeon_fence *fence) {struct radeon_ring *ring = &rdev->ring[fence->ring]; -uint32_t addr = rdev->fence_drv[fence->ring].gpu_addr; +uint64_t addr = rdev->fence_drv[fence->ring].gpu_addr;radeon_ring_write (ring,PACKET0 (UVD_CONTEXT_ID ,0 ));radeon_ring_write (ring, fence->seq);
Signature · 6 lines
1.7.9.5 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher
AppliedQuoted 7 lines · Christian König
From: Christian König <[email protected]>
Currently doesn't matter cause we allocate the fence in the lower 265MB anyway.
Reported-by Frank Huang <[email protected]>Signed-off-by Christian König <[email protected]>
Applied to my fixes tree. Thanks!
Alex
Quoted 20 lines
--- drivers/gpu/drm/radeon/r600.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/r600.c +1
-2@@ -3019,7 +3019,7 @@ void r600_uvd_fence_emit(struct radeon_device *rdev, struct radeon_fence *fence) {struct radeon_ring *ring = &rdev->ring[fence->ring]; -uint32_t addr = rdev->fence_drv[fence->ring].gpu_addr; +uint64_t addr = rdev->fence_drv[fence->ring].gpu_addr;radeon_ring_write (ring,PACKET0 (UVD_CONTEXT_ID ,0 ));radeon_ring_write (ring, fence->seq); --1.7.9.5