From 10b06bc8b363146f8d41e8613d032f36ca52eb69 Mon Sep 17 00:00:00 2001 From: Leif Delgass Date: Wed, 1 May 2002 00:14:07 +0000 Subject: [PATCH] fix buffer size in descriptor for DMA test. --- linux/mach64_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/mach64_dma.c b/linux/mach64_dma.c index 9cf6dd88..530e21a1 100644 --- a/linux/mach64_dma.c +++ b/linux/mach64_dma.c @@ -239,7 +239,7 @@ static int mach64_bm_dma_test( drm_device_t *dev ) DRM_DEBUG( "Preparing table ...\n" ); table[0] = cpu_to_le32(MACH64_BM_ADDR + APERTURE_OFFSET); table[1] = cpu_to_le32(data_addr); - table[2] = cpu_to_le32(10 * sizeof( u32 ) | 0x80000000 | 0x40000000); + table[2] = cpu_to_le32(6 * sizeof( u32 ) | 0x80000000 | 0x40000000); table[3] = 0; DRM_DEBUG( "table[0] = 0x%08x\n", table[0] );