drm/radeon: fix UVD destroy IB size
authorChristian König <christian.koenig@amd.com>
Wed, 30 Oct 2013 11:56:05 +0000 (12:56 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Nov 2013 19:25:50 +0000 (15:25 -0400)
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>
drivers/gpu/drm/radeon/radeon_uvd.c

index 9e4b19c..234b2a3 100644 (file)
@@ -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;