public inbox for dri-devel@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: fix count in cik_sdma_ring_test()
@ 2014-04-22 12:17 Alex Deucher
  2014-04-22 14:33 ` Christian König
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Deucher @ 2014-04-22 12:17 UTC (permalink / raw)
  To: dri-devel, deathsimple; +Cc: Alex Deucher, stable

Should be 5 rather than 4.

Noticed-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/radeon/cik_sdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c
index 89b4afa..f7e46cf 100644
--- a/drivers/gpu/drm/radeon/cik_sdma.c
+++ b/drivers/gpu/drm/radeon/cik_sdma.c
@@ -597,7 +597,7 @@ int cik_sdma_ring_test(struct radeon_device *rdev,
 	tmp = 0xCAFEDEAD;
 	writel(tmp, ptr);
 
-	r = radeon_ring_lock(rdev, ring, 4);
+	r = radeon_ring_lock(rdev, ring, 5);
 	if (r) {
 		DRM_ERROR("radeon: dma failed to lock ring %d (%d).\n", ring->idx, r);
 		return r;
-- 
1.7.11.7

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/radeon: fix count in cik_sdma_ring_test()
  2014-04-22 12:17 [PATCH] drm/radeon: fix count in cik_sdma_ring_test() Alex Deucher
@ 2014-04-22 14:33 ` Christian König
  0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2014-04-22 14:33 UTC (permalink / raw)
  To: Alex Deucher, dri-devel; +Cc: Alex Deucher, stable

Am 22.04.2014 14:17, schrieb Alex Deucher:
> Should be 5 rather than 4.
>
> Noticed-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> Cc: stable@vger.kernel.org

Added to my 3.15 queue.

Christian.

> ---
>   drivers/gpu/drm/radeon/cik_sdma.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c
> index 89b4afa..f7e46cf 100644
> --- a/drivers/gpu/drm/radeon/cik_sdma.c
> +++ b/drivers/gpu/drm/radeon/cik_sdma.c
> @@ -597,7 +597,7 @@ int cik_sdma_ring_test(struct radeon_device *rdev,
>   	tmp = 0xCAFEDEAD;
>   	writel(tmp, ptr);
>   
> -	r = radeon_ring_lock(rdev, ring, 4);
> +	r = radeon_ring_lock(rdev, ring, 5);
>   	if (r) {
>   		DRM_ERROR("radeon: dma failed to lock ring %d (%d).\n", ring->idx, r);
>   		return r;

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-22 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22 12:17 [PATCH] drm/radeon: fix count in cik_sdma_ring_test() Alex Deucher
2014-04-22 14:33 ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox