Searched refs:scratch_page (Results 1 – 15 of 15) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | psb_drv.c | 181 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()
|
D | gtt.c | 134 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()
|
D | psb_drv.h | 443 struct page *scratch_page; member
|
/Linux-v5.4/drivers/char/agp/ |
D | agp.h | 135 unsigned long scratch_page; member 172 #define PGE_EMPTY(b, p) (!(p) || (p) == (unsigned long) (b)->scratch_page)
|
D | ati-agp.c | 69 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()
|
D | sworks-agp.c | 61 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()
|
D | amd-k7-agp.c | 49 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()
|
D | intel-gtt.c | 76 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()
|
D | parisc-agp.c | 104 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()
|
D | hp-agp.c | 309 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()
|
D | backend.c | 156 bridge->scratch_page = bridge->driver->mask_memory(bridge, in agp_backend_initialize()
|
D | nvidia-agp.c | 254 writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); in nvidia_remove_memory()
|
D | generic.c | 964 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()
|
/Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
D | gtt.h | 94 struct page *scratch_page; member
|
D | gtt.c | 2703 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()
|