Browse Source

drm/radeon: fix UVD destroy IB size

The parameter is in bytes not dwords.

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Christian König 11 years ago
parent
commit
727ddc84a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/radeon/radeon_uvd.c

+ 1 - 1
drivers/gpu/drm/radeon/radeon_uvd.c

@@ -621,7 +621,7 @@ static int radeon_uvd_send_msg(struct radeon_device *rdev,
 	if (r) 
 		goto err;
 
-	r = radeon_ib_get(rdev, ring, &ib, NULL, 16);
+	r = radeon_ib_get(rdev, ring, &ib, NULL, 64);
 	if (r)
 		goto err;