Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_test.c86 void *gtt_map, *vram_map; in amdgpu_do_test_moves() local
113 r = amdgpu_bo_kmap(gtt_obj[i], &gtt_map); in amdgpu_do_test_moves()
119 for (gart_start = gtt_map, gart_end = gtt_map + size; in amdgpu_do_test_moves()
149 for (gart_start = gtt_map, gart_end = gtt_map + size, in amdgpu_do_test_moves()
160 (void*)gart_start - gtt_map), in amdgpu_do_test_moves()
163 (void*)gart_start - gtt_map)); in amdgpu_do_test_moves()
189 r = amdgpu_bo_kmap(gtt_obj[i], &gtt_map); in amdgpu_do_test_moves()
195 for (gart_start = gtt_map, gart_end = gtt_map + size, in amdgpu_do_test_moves()
/drivers/gpu/drm/radeon/
Dradeon_test.c85 void *gtt_map, *vram_map; in radeon_do_test_moves() local
107 r = radeon_bo_kmap(gtt_obj[i], &gtt_map); in radeon_do_test_moves()
113 for (gtt_start = gtt_map, gtt_end = gtt_map + size; in radeon_do_test_moves()
148 for (gtt_start = gtt_map, gtt_end = gtt_map + size, in radeon_do_test_moves()
159 (void*)gtt_start - gtt_map), in radeon_do_test_moves()
162 (void*)gtt_start - gtt_map)); in radeon_do_test_moves()
193 r = radeon_bo_kmap(gtt_obj[i], &gtt_map); in radeon_do_test_moves()
199 for (gtt_start = gtt_map, gtt_end = gtt_map + size, in radeon_do_test_moves()
/drivers/gpu/drm/gma500/
Dgtt.c62 return dev_priv->gtt_map + (offset >> PAGE_SHIFT); in psb_gtt_entry()
392 if (dev_priv->gtt_map) { in psb_gtt_takedown()
393 iounmap(dev_priv->gtt_map); in psb_gtt_takedown()
394 dev_priv->gtt_map = NULL; in psb_gtt_takedown()
403 iounmap(dev_priv->gtt_map); in psb_gtt_takedown()
506 dev_priv->gtt_map = ioremap(pg->gtt_phys_start, in psb_gtt_init()
508 if (!dev_priv->gtt_map) { in psb_gtt_init()
534 iowrite32(pte, dev_priv->gtt_map + i); in psb_gtt_init()
544 iowrite32(pte, dev_priv->gtt_map + i); in psb_gtt_init()
546 (void) ioread32(dev_priv->gtt_map + i - 1); in psb_gtt_init()
Dpsb_drv.h446 u32 __iomem *gtt_map; member