Searched refs:primary_size (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/mga/ |
D | mga_ioc32.c | 133 u32 primary_size; member 157 || __put_user(dma_bootstrap32.primary_size, in compat_mga_dma_bootstrap() 158 &dma_bootstrap->primary_size) in compat_mga_dma_bootstrap() 176 || __get_user(dma_bootstrap32.primary_size, in compat_mga_dma_bootstrap() 177 &dma_bootstrap->primary_size) in compat_mga_dma_bootstrap()
|
D | mga_dma.c | 538 err = drm_legacy_addmap(dev, offset, dma_bs->primary_size, in mga_do_agp_dma_bootstrap() 545 offset += dma_bs->primary_size; in mga_do_agp_dma_bootstrap() 633 unsigned int primary_size; in mga_do_pci_dma_bootstrap() local 663 for (primary_size = dma_bs->primary_size; primary_size != 0; in mga_do_pci_dma_bootstrap() 664 primary_size >>= 1) { in mga_do_pci_dma_bootstrap() 666 err = drm_legacy_addmap(dev, 0, primary_size, _DRM_CONSISTENT, in mga_do_pci_dma_bootstrap() 677 if (dev_priv->primary->size != dma_bs->primary_size) { in mga_do_pci_dma_bootstrap() 679 dma_bs->primary_size, in mga_do_pci_dma_bootstrap() 681 dma_bs->primary_size = dev_priv->primary->size; in mga_do_pci_dma_bootstrap()
|