/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | context.c | 85 atomic_inc(&dev->queuelist[i]->use_count); in drm_alloc_queue() 86 if (atomic_read(&dev->queuelist[i]->use_count) == 1 in drm_alloc_queue() 87 && !atomic_read(&dev->queuelist[i]->finalization)) { in drm_alloc_queue() 91 atomic_dec(&dev->queuelist[i]->use_count); in drm_alloc_queue() 105 oldslots = dev->queue_slots * sizeof(*dev->queuelist); in drm_alloc_queue() 108 newslots = dev->queue_slots * sizeof(*dev->queuelist); in drm_alloc_queue() 110 dev->queuelist = drm_realloc(dev->queuelist, in drm_alloc_queue() 114 if (!dev->queuelist) { in drm_alloc_queue() 120 dev->queuelist[dev->queue_count-1] = queue; in drm_alloc_queue() 165 drm_init_queue(dev, dev->queuelist[ctx.handle], &ctx); in drm_addctx() [all …]
|
D | gamma_drv.c | 168 dev->queuelist = NULL; in gamma_setup() 283 if (dev->queuelist) { in gamma_takedown() 285 drm_waitlist_destroy(&dev->queuelist[i]->waitlist); in gamma_takedown() 286 if (dev->queuelist[i]) { in gamma_takedown() 287 drm_free(dev->queuelist[i], in gamma_takedown() 288 sizeof(*dev->queuelist[0]), in gamma_takedown() 290 dev->queuelist[i] = NULL; in gamma_takedown() 293 drm_free(dev->queuelist, in gamma_takedown() 294 dev->queue_slots * sizeof(*dev->queuelist), in gamma_takedown() 296 dev->queuelist = NULL; in gamma_takedown()
|
D | i810_drv.c | 177 dev->queuelist = NULL; in i810_setup() 309 if (dev->queuelist) { in i810_takedown() 311 drm_waitlist_destroy(&dev->queuelist[i]->waitlist); in i810_takedown() 312 if (dev->queuelist[i]) { in i810_takedown() 313 drm_free(dev->queuelist[i], in i810_takedown() 314 sizeof(*dev->queuelist[0]), in i810_takedown() 316 dev->queuelist[i] = NULL; in i810_takedown() 319 drm_free(dev->queuelist, in i810_takedown() 320 dev->queue_slots * sizeof(*dev->queuelist), in i810_takedown() 322 dev->queuelist = NULL; in i810_takedown()
|
D | mga_drv.c | 178 dev->queuelist = NULL; in mga_setup() 309 if (dev->queuelist) { in mga_takedown() 311 drm_waitlist_destroy(&dev->queuelist[i]->waitlist); in mga_takedown() 312 if (dev->queuelist[i]) { in mga_takedown() 313 drm_free(dev->queuelist[i], in mga_takedown() 314 sizeof(*dev->queuelist[0]), in mga_takedown() 316 dev->queuelist[i] = NULL; in mga_takedown() 319 drm_free(dev->queuelist, in mga_takedown() 320 dev->queue_slots * sizeof(*dev->queuelist), in mga_takedown() 322 dev->queuelist = NULL; in mga_takedown()
|
D | dma.c | 237 q = dev->queuelist[new]; in drm_context_switch() 308 if (!dev->queuelist || !dev->queuelist[DRM_KERNEL_CONTEXT]) { in drm_select_queue() 394 q = dev->queuelist[DRM_KERNEL_CONTEXT]; in drm_dma_enqueue() 397 q = dev->queuelist[d->context]; in drm_dma_enqueue()
|
D | lock.c | 118 drm_queue_t *q = dev->queuelist[context]; in drm_flush_queue() 150 drm_queue_t *q = dev->queuelist[context]; in drm_flush_unblock_queue()
|
D | gamma_dma.c | 240 && !(dev->queuelist[buf->context]->flags in gamma_do_dma() 346 q = dev->queuelist[next]; in gamma_dma_schedule() 466 && !(dev->queuelist[buf->context]->flags in gamma_dma_priority() 762 q = dev->queuelist[lock.context]; in gamma_lock()
|
D | drmP.h | 295 #define DRM_WAITCOUNT(dev,idx) DRM_BUFCOUNT(&dev->queuelist[idx]->waitlist) 570 drm_queue_t **queuelist; /* Vector of pointers to DMA queues */ member
|
D | proc.c | 228 q = dev->queuelist[i]; in _drm_queues_info()
|
D | r128_drv.c | 185 dev->queuelist = NULL; in r128_setup()
|
D | tdfx_drv.c | 160 dev->queuelist = NULL; in tdfx_setup()
|
D | radeon_drv.c | 183 dev->queuelist = NULL; in radeon_setup()
|
D | ffb_drv.c | 520 dev->queuelist = NULL; in ffb_setup()
|
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_context.h | 447 q = dev->queuelist[new]; in DRM() 546 atomic_inc(&dev->queuelist[i]->use_count); in DRM() 547 if (atomic_read(&dev->queuelist[i]->use_count) == 1 in DRM() 548 && !atomic_read(&dev->queuelist[i]->finalization)) { in DRM() 552 atomic_dec(&dev->queuelist[i]->use_count); in DRM() 563 oldslots = dev->queue_slots * sizeof(*dev->queuelist); in DRM() 566 newslots = dev->queue_slots * sizeof(*dev->queuelist); in DRM() 568 dev->queuelist = DRM(realloc)(dev->queuelist, in DRM() 572 if (!dev->queuelist) { in DRM() 578 dev->queuelist[dev->queue_count-1] = queue; in DRM() [all …]
|
D | drm_drv.h | 318 dev->queuelist = NULL; in DRM() 476 if ( dev->queuelist ) { in DRM() 478 DRM(waitlist_destroy)( &dev->queuelist[i]->waitlist ); in DRM() 479 if ( dev->queuelist[i] ) { in DRM() 480 DRM(free)( dev->queuelist[i], in DRM() 481 sizeof(*dev->queuelist[0]), in DRM() 483 dev->queuelist[i] = NULL; in DRM() 486 DRM(free)( dev->queuelist, in DRM() 487 dev->queue_slots * sizeof(*dev->queuelist), in DRM() 489 dev->queuelist = NULL; in DRM() [all …]
|
D | drm_lock.h | 117 drm_queue_t *q = dev->queuelist[context]; in DRM() 148 drm_queue_t *q = dev->queuelist[context]; in DRM()
|
D | drm_dma.h | 263 if (!dev->queuelist || !dev->queuelist[DRM_KERNEL_CONTEXT]) { in DRM() 349 q = dev->queuelist[DRM_KERNEL_CONTEXT]; in DRM() 352 q = dev->queuelist[d->context]; in DRM()
|
D | gamma_dma.c | 203 && !(dev->queuelist[buf->context]->flags in gamma_do_dma() 308 q = dev->queuelist[next]; in gamma_dma_schedule() 425 && !(dev->queuelist[buf->context]->flags in gamma_dma_priority()
|
D | drmP.h | 333 #define DRM_WAITCOUNT(dev,idx) DRM_BUFCOUNT(&dev->queuelist[idx]->waitlist) 644 drm_queue_t **queuelist; /* Vector of pointers to DMA queues */ member
|
D | drm_proc.h | 247 q = dev->queuelist[i]; in DRM()
|