Commit c3bd4a40 authored by Dave Airlie's avatar Dave Airlie

remove __HAVE_DMA_SCHEDULE was only used by gamma.

Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent d38043a0
...@@ -67,9 +67,6 @@ ...@@ -67,9 +67,6 @@
#ifndef __HAVE_MULTIPLE_DMA_QUEUES #ifndef __HAVE_MULTIPLE_DMA_QUEUES
#define __HAVE_MULTIPLE_DMA_QUEUES 0 #define __HAVE_MULTIPLE_DMA_QUEUES 0
#endif #endif
#ifndef __HAVE_DMA_SCHEDULE
#define __HAVE_DMA_SCHEDULE 0
#endif
#ifndef __HAVE_COUNTERS #ifndef __HAVE_COUNTERS
#define __HAVE_COUNTERS 0 #define __HAVE_COUNTERS 0
#endif #endif
...@@ -1116,10 +1113,6 @@ int DRM(unlock)( struct inode *inode, struct file *filp, ...@@ -1116,10 +1113,6 @@ int DRM(unlock)( struct inode *inode, struct file *filp,
DRM(lock_transfer)( dev, &dev->lock.hw_lock->lock, DRM(lock_transfer)( dev, &dev->lock.hw_lock->lock,
DRM_KERNEL_CONTEXT ); DRM_KERNEL_CONTEXT );
#if __HAVE_DMA_SCHEDULE
DRM(dma_schedule)( dev, 1 );
#endif
if ( DRM(lock_free)( dev, &dev->lock.hw_lock->lock, if ( DRM(lock_free)( dev, &dev->lock.hw_lock->lock,
DRM_KERNEL_CONTEXT ) ) { DRM_KERNEL_CONTEXT ) ) {
DRM_ERROR( "\n" ); DRM_ERROR( "\n" );
......
...@@ -81,10 +81,8 @@ ...@@ -81,10 +81,8 @@
#define __HAVE_DMA_WAITQUEUE 1 #define __HAVE_DMA_WAITQUEUE 1
#define __HAVE_DMA_WAITLIST 1 #define __HAVE_DMA_WAITLIST 1
/* removed from DRM HAVE_DMA_FREELIST */
//#define __HAVE_DMA_FREELIST 1
#define __HAVE_DMA_SCHEDULE 1 /* removed from DRM HAVE_DMA_FREELIST & HAVE_DMA_SCHEDULE */
#define __HAVE_IRQ 1 #define __HAVE_IRQ 1
#define __HAVE_IRQ_BH 1 #define __HAVE_IRQ_BH 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment