An other radeon ring count patch
Subsystems (2)
Hi Christian, Alex,
While looking over the rest of the ring counts I noticed an other one, this time we reserve too much which cannot even be a potential problem. Anyway, it's nicer to be correct.
Attached that patch to uvd_v1_0_ring_test()
Greetings
Mathias
Quoted 1 line
From
889f02196e1a3a571aac8e878574e48a7469cb42Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mathias=20Fr=C3=B6hlich?= <[email protected]>
Date: Wed, 23 Apr 2014 08:37:12 +0200
Subject: [PATCH] drm/radeon: fix count in uvd_v1_0_ring_test()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Should be 2 rather than 3.
--- drivers/gpu/drm/radeon/uvd_v1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/uvd_v1_0.c +1 -1
@@ -320,7 +320,7 @@ int uvd_v1_0_ring_test(struct radeon_device *rdev, struct radeon_ring *ring)int r;WREG32 (UVD_CONTEXT_ID ,0xCAFEDEAD ); - r =radeon_ring_lock (rdev, ring,3 ); + r =radeon_ring_lock (rdev, ring,2 );if (r) {DRM_ERROR ("radeon: cp failed to lock ring %d (%d).\n" , ring->idx, r);
Signature · 1 line
1.9.0
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher
Reviewed-byQuoted 9 lines · Mathias Fröhlich
Hi Christian, Alex,
While looking over the rest of the ring counts I noticed an other one, this time we reserve too much which cannot even be a potential problem. Anyway, it's nicer to be correct.
Attached that patch to
uvd_v1_0_ring_test()
Quoted 9 lines
Greetings
Mathias
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel