Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/mga/
Dmga_dma.c547 _DRM_AGP, 0, &dev->agp_buffer_map); in mga_do_agp_dma_bootstrap()
570 if (_entry->map == dev->agp_buffer_map) in mga_do_agp_dma_bootstrap()
589 drm_legacy_ioremap(dev->agp_buffer_map, dev); in mga_do_agp_dma_bootstrap()
592 !dev_priv->primary->handle || !dev->agp_buffer_map->handle) { in mga_do_agp_dma_bootstrap()
595 dev->agp_buffer_map->handle); in mga_do_agp_dma_bootstrap()
863 dev->agp_buffer_map = in mga_do_init_dma()
865 if (!dev->agp_buffer_map) { in mga_do_init_dma()
872 drm_legacy_ioremap(dev->agp_buffer_map, dev); in mga_do_init_dma()
882 ((dev->agp_buffer_map == NULL) || in mga_do_init_dma()
883 (dev->agp_buffer_map->handle == NULL)))) { in mga_do_init_dma()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/r128/
Dr128_cce.c492 dev->agp_buffer_map = drm_legacy_findmap(dev, init->buffers_offset); in r128_do_init_cce()
493 if (!dev->agp_buffer_map) { in r128_do_init_cce()
519 drm_legacy_ioremap_wc(dev->agp_buffer_map, dev); in r128_do_init_cce()
522 !dev->agp_buffer_map->handle) { in r128_do_init_cce()
535 dev->agp_buffer_map->handle = in r128_do_init_cce()
536 (void *)(unsigned long)dev->agp_buffer_map->offset; in r128_do_init_cce()
617 if (dev->agp_buffer_map != NULL) { in r128_do_cleanup_cce()
618 drm_legacy_ioremapfree(dev->agp_buffer_map, dev); in r128_do_cleanup_cce()
619 dev->agp_buffer_map = NULL; in r128_do_cleanup_cce()
Dr128_state.c658 ((char *)dev->agp_buffer_map->handle in r128_cce_dispatch_indirect()
703 int offset = dev->agp_buffer_map->offset - dev_priv->cce_buffers_offset; in r128_cce_dispatch_indices()
722 data = (u32 *) ((char *)dev->agp_buffer_map->handle in r128_cce_dispatch_indices()
846 data = (u32 *) ((char *)dev->agp_buffer_map->handle + buf->offset); in r128_cce_dispatch_blit()
/kernel/linux/linux-5.10/drivers/gpu/drm/savage/
Dsavage_bci.c728 dev->agp_buffer_map = drm_legacy_findmap(dev, in savage_do_init_bci()
730 if (!dev->agp_buffer_map) { in savage_do_init_bci()
735 drm_legacy_ioremap(dev->agp_buffer_map, dev); in savage_do_init_bci()
736 if (!dev->agp_buffer_map->handle) { in savage_do_init_bci()
909 dev->agp_buffer_map && dev->agp_buffer_map->handle) { in savage_do_cleanup_bci()
910 drm_legacy_ioremapfree(dev->agp_buffer_map, dev); in savage_do_cleanup_bci()
914 dev->agp_buffer_map = NULL; in savage_do_cleanup_bci()
/kernel/linux/linux-5.10/include/drm/
Ddrm_device.h376 struct drm_local_map *agp_buffer_map; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i810/
Di810_dma.c350 dev->agp_buffer_map = drm_legacy_findmap(dev, init->buffers_offset); in i810_dma_initialize()
351 if (!dev->agp_buffer_map) { in i810_dma_initialize()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_bufs.c1517 struct drm_local_map *map = dev->agp_buffer_map; in __drm_legacy_mapbufs()