diff mbox

drm/radeon: fix UVD fence emit

Message ID 1373616347-10493-1-git-send-email-deathsimple@vodafone.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christian König July 12, 2013, 8:05 a.m. UTC
From: Christian König <christian.koenig@amd.com>

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>
---
 drivers/gpu/drm/radeon/r600.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Deucher July 12, 2013, 2:10 p.m. UTC | #1
On Fri, Jul 12, 2013 at 4:05 AM, Christian König
<deathsimple@vodafone.de> wrote:
> From: Christian König <christian.koenig@amd.com>
>
> 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>

Applied to my fixes tree.  Thanks!

Alex

> ---
>  drivers/gpu/drm/radeon/r600.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
> index 2d3655f..44bdb28 100644
> --- a/drivers/gpu/drm/radeon/r600.c
> +++ b/drivers/gpu/drm/radeon/r600.c
> @@ -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
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 2d3655f..44bdb28 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -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);