]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm/radeon: fix UVD fence emit
authorChristian König <christian.koenig@amd.com>
Fri, 12 Jul 2013 08:05:47 +0000 (10:05 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 14 Jul 2013 14:11:30 +0000 (10:11 -0400)
Currently doesn't matter cause we allocate the fence in the
lower 265MB anyway.

Reported-by: Frank Huang <FrankR.Huang@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/r600.c

index 4982cd8ce8b7215879e2b0a75f955ccdeb832e70..393880a094129d5fe54a6e6431de09798101e858 100644 (file)
@@ -3008,7 +3008,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);