Home
last modified time | relevance | path

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

/drivers/gpu/drm/gma500/
Dpsb_drv.c181 if (dev_priv->scratch_page) { in psb_driver_unload()
182 set_pages_wb(dev_priv->scratch_page, 1); in psb_driver_unload()
183 __free_page(dev_priv->scratch_page); in psb_driver_unload()
184 dev_priv->scratch_page = NULL; in psb_driver_unload()
306 dev_priv->scratch_page = alloc_page(GFP_DMA32 | __GFP_ZERO); in psb_driver_load()
307 if (!dev_priv->scratch_page) in psb_driver_load()
310 set_pages_uc(dev_priv->scratch_page, 1); in psb_driver_load()
Dgtt.c134 pte = psb_gtt_mask_pte(page_to_pfn(dev_priv->scratch_page), in psb_gtt_remove()
541 pfn_base = page_to_pfn(dev_priv->scratch_page); in psb_gtt_init()
Dpsb_drv.h443 struct page *scratch_page; member
/drivers/char/agp/
Dagp.h135 unsigned long scratch_page; member
172 #define PGE_EMPTY(b, p) (!(p) || (p) == (unsigned long) (b)->scratch_page)
Damd-k7-agp.c49 writel(agp_bridge->scratch_page, page_map->remapped+i); in amd_create_page_map()
166 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in amd_create_gatt_table()
340 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in amd_remove_memory()
Dsworks-agp.c61 writel(agp_bridge->scratch_page, page_map->remapped+i); in serverworks_create_page_map()
158 writel(agp_bridge->scratch_page, serverworks_private.scratch_dir.remapped+i); in serverworks_create_gatt_table()
378 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in serverworks_remove_memory()
Dati-agp.c69 writel(agp_bridge->scratch_page, page_map->remapped+i); in ati_create_page_map()
334 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in ati_remove_memory()
403 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in ati_create_gatt_table()
Dintel-gtt.c76 struct page *scratch_page; member
314 intel_private.scratch_page = page; in intel_gtt_setup_scratch_page()
550 set_pages_wb(intel_private.scratch_page, 1); in intel_gtt_teardown_scratch_page()
555 __free_page(intel_private.scratch_page); in intel_gtt_teardown_scratch_page()
1448 if (intel_private.scratch_page) in intel_gmch_remove()
Dparisc-agp.c104 info->gatt[i] = (unsigned long)agp_bridge->scratch_page; in parisc_agp_create_gatt_table()
183 info->gatt[i] = agp_bridge->scratch_page; in parisc_agp_remove_memory()
Dhp-agp.c309 hp->gatt[i] = (unsigned long) agp_bridge->scratch_page; in hp_zx1_create_gatt_table()
389 hp->gatt[i] = agp_bridge->scratch_page; in hp_zx1_remove_memory()
Dbackend.c156 bridge->scratch_page = bridge->driver->mask_memory(bridge, in agp_backend_initialize()
Dnvidia-agp.c254 writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); in nvidia_remove_memory()
Dgeneric.c964 writel(bridge->scratch_page, bridge->gatt_table+i); in agp_generic_create_gatt_table()
1140 writel(bridge->scratch_page, bridge->gatt_table+i); in agp_generic_remove_memory()
/drivers/gpu/drm/i915/gvt/
Dgtt.h94 struct page *scratch_page; member
Dgtt.c2703 gvt->gtt.scratch_page = virt_to_page(page); in intel_gvt_init_gtt()
2711 __free_page(gvt->gtt.scratch_page); in intel_gvt_init_gtt()
2736 __free_page(gvt->gtt.scratch_page); in intel_gvt_clean_gtt()