Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/gma500/
Dpsb_drv.c199 if (dev_priv->scratch_page) { in psb_driver_unload()
200 set_pages_wb(dev_priv->scratch_page, 1); in psb_driver_unload()
201 __free_page(dev_priv->scratch_page); in psb_driver_unload()
202 dev_priv->scratch_page = NULL; in psb_driver_unload()
325 dev_priv->scratch_page = alloc_page(GFP_DMA32 | __GFP_ZERO); in psb_driver_load()
326 if (!dev_priv->scratch_page) in psb_driver_load()
329 set_pages_uc(dev_priv->scratch_page, 1); in psb_driver_load()
Dgtt.c114 pte = psb_gtt_mask_pte(page_to_pfn(pdev->scratch_page), PSB_MMU_CACHED_MEMORY); in psb_gtt_remove_pages()
176 pfn_base = page_to_pfn(pdev->scratch_page); in psb_gtt_clear()
Dpsb_drv.h401 struct page *scratch_page; member
/linux-6.1.9/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()
Dati-agp.c73 writel(agp_bridge->scratch_page, page_map->remapped+i); in ati_create_page_map()
338 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in ati_remove_memory()
407 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in ati_create_gatt_table()
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()
375 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in serverworks_remove_memory()
Dintel-gtt.c77 struct page *scratch_page; member
317 intel_private.scratch_page = page; in intel_gtt_setup_scratch_page()
553 set_pages_wb(intel_private.scratch_page, 1); in intel_gtt_teardown_scratch_page()
558 __free_page(intel_private.scratch_page); in intel_gtt_teardown_scratch_page()
1453 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.c158 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.c960 writel(bridge->scratch_page, bridge->gatt_table+i); in agp_generic_create_gatt_table()
1136 writel(bridge->scratch_page, bridge->gatt_table+i); in agp_generic_remove_memory()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dgtt.h103 struct page *scratch_page; member
Dgtt.c2776 gvt->gtt.scratch_page = virt_to_page(page); in intel_gvt_init_gtt()
2784 __free_page(gvt->gtt.scratch_page); in intel_gvt_init_gtt()
2809 __free_page(gvt->gtt.scratch_page); in intel_gvt_clean_gtt()