Home
last modified time | relevance | path

Searched refs:prim_buffer (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/char/drm-4.0/
Dmga_dma.c289 drm_mga_prim_buf_t *prim_buffer; in mga_init_primary_bufs() local
319 prim_buffer = drm_alloc(sizeof(drm_mga_prim_buf_t), in mga_init_primary_bufs()
321 if(prim_buffer == NULL) return -ENOMEM; in mga_init_primary_bufs()
322 memset(prim_buffer, 0, sizeof(drm_mga_prim_buf_t)); in mga_init_primary_bufs()
323 prim_buffer->phys_head = offset + dev->agp->base; in mga_init_primary_bufs()
324 prim_buffer->current_dma_ptr = in mga_init_primary_bufs()
325 prim_buffer->head = in mga_init_primary_bufs()
329 prim_buffer->num_dwords = 0; in mga_init_primary_bufs()
330 prim_buffer->max_dwords = size_of_buf / sizeof(u32); in mga_init_primary_bufs()
331 prim_buffer->max_dwords -= 5; /* Leave room for the softrap */ in mga_init_primary_bufs()
[all …]