Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/r128/
Dati_pcigart.c46 struct drm_ati_pcigart_info *gart_info) in drm_ati_alloc_pcigart_table() argument
53 dmah->size = gart_info->table_size; in drm_ati_alloc_pcigart_table()
64 gart_info->table_handle = dmah; in drm_ati_alloc_pcigart_table()
69 struct drm_ati_pcigart_info *gart_info) in drm_ati_free_pcigart_table() argument
71 drm_dma_handle_t *dmah = gart_info->table_handle; in drm_ati_free_pcigart_table()
76 gart_info->table_handle = NULL; in drm_ati_free_pcigart_table()
79 int drm_ati_pcigart_cleanup(struct drm_device *dev, struct drm_ati_pcigart_info *gart_info) in drm_ati_pcigart_cleanup() argument
93 if (gart_info->bus_addr) { in drm_ati_pcigart_cleanup()
95 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup()
106 if (gart_info->gart_table_location == DRM_ATI_GART_MAIN) in drm_ati_pcigart_cleanup()
[all …]
Dati_pcigart.h27 struct drm_ati_pcigart_info * gart_info);
29 struct drm_ati_pcigart_info * gart_info);
Dr128_cce.c564 dev_priv->gart_info.table_mask = DMA_BIT_MASK(32); in r128_do_init_cce()
565 dev_priv->gart_info.gart_table_location = DRM_ATI_GART_MAIN; in r128_do_init_cce()
566 dev_priv->gart_info.table_size = R128_PCIGART_TABLE_SIZE; in r128_do_init_cce()
567 dev_priv->gart_info.addr = NULL; in r128_do_init_cce()
568 dev_priv->gart_info.bus_addr = 0; in r128_do_init_cce()
569 dev_priv->gart_info.gart_reg_if = DRM_ATI_GART_PCI; in r128_do_init_cce()
570 rc = drm_ati_pcigart_init(dev, &dev_priv->gart_info); in r128_do_init_cce()
577 R128_WRITE(R128_PCI_GART_PAGE, dev_priv->gart_info.bus_addr); in r128_do_init_cce()
623 if (dev_priv->gart_info.bus_addr) in r128_do_cleanup_cce()
625 &dev_priv->gart_info)) in r128_do_cleanup_cce()
Dr128_drv.h133 struct drm_ati_pcigart_info gart_info; member