Searched refs:scratch_page (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/gma500/ |
D | psb_drv.c | 199 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()
|
D | gtt.c | 114 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()
|
D | psb_drv.h | 401 struct page *scratch_page; member
|
/linux-6.1.9/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 | 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 | ati-agp.c | 73 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()
|
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() 375 writel(agp_bridge->scratch_page, cur_gatt+GET_GATT_OFF(addr)); in serverworks_remove_memory()
|
D | intel-gtt.c | 77 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()
|
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 | 158 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 | 960 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/ |
D | gtt.h | 103 struct page *scratch_page; member
|
D | gtt.c | 2776 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()
|