Home
last modified time | relevance | path

Searched refs:pfb (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/nouveau/
Dnv20_fb.c10 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv20_fb_alloc_tag() local
14 ret = drm_mm_pre_get(&pfb->tag_heap); in nv20_fb_alloc_tag()
19 mem = drm_mm_search_free(&pfb->tag_heap, size, 0, 0); in nv20_fb_alloc_tag()
121 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv20_fb_init() local
125 drm_mm_init(&pfb->tag_heap, 0, 64 * 1024); in nv20_fb_init()
127 drm_mm_init(&pfb->tag_heap, 0, 32 * 1024); in nv20_fb_init()
130 pfb->num_tiles = NV10_PFB_TILE__SIZE; in nv20_fb_init()
131 for (i = 0; i < pfb->num_tiles; i++) in nv20_fb_init()
132 pfb->set_tile_region(dev, i); in nv20_fb_init()
141 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv20_fb_takedown() local
[all …]
Dnv10_fb.c84 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv10_fb_init() local
88 pfb->num_tiles = NV10_PFB_TILE__SIZE; in nv10_fb_init()
89 for (i = 0; i < pfb->num_tiles; i++) in nv10_fb_init()
90 pfb->set_tile_region(dev, i); in nv10_fb_init()
99 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv10_fb_takedown() local
102 for (i = 0; i < pfb->num_tiles; i++) in nv10_fb_takedown()
103 pfb->free_tile_region(dev, i); in nv10_fb_takedown()
Dnv50_fb.c15 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv50_fb_destroy() local
16 struct nv50_fb_priv *priv = pfb->priv; in nv50_fb_destroy()
18 if (drm_mm_initialized(&pfb->tag_heap)) in nv50_fb_destroy()
19 drm_mm_takedown(&pfb->tag_heap); in nv50_fb_destroy()
28 pfb->priv = NULL; in nv50_fb_destroy()
35 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv50_fb_create() local
43 pfb->priv = priv; in nv50_fb_create()
60 ret = drm_mm_init(&pfb->tag_heap, 0, tagmem); in nv50_fb_create()
Dnv40_fb.c123 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv40_fb_init() local
139 pfb->num_tiles = NV10_PFB_TILE__SIZE; in nv40_fb_init()
146 pfb->num_tiles = NV40_PFB_TILE__SIZE_1; in nv40_fb_init()
149 pfb->num_tiles = NV40_PFB_TILE__SIZE_0; in nv40_fb_init()
154 for (i = 0; i < pfb->num_tiles; i++) in nv40_fb_init()
155 pfb->set_tile_region(dev, i); in nv40_fb_init()
Dnvc0_fb.c68 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nvc0_fb_destroy() local
69 struct nvc0_fb_priv *priv = pfb->priv; in nvc0_fb_destroy()
80 pfb->priv = NULL; in nvc0_fb_destroy()
87 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nvc0_fb_create() local
93 pfb->priv = priv; in nvc0_fb_create()
Dnv30_fb.c82 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv30_fb_init() local
85 pfb->num_tiles = NV10_PFB_TILE__SIZE; in nv30_fb_init()
88 for (i = 0; i < pfb->num_tiles; i++) in nv30_fb_init()
89 pfb->set_tile_region(dev, i); in nv30_fb_init()
Dnv50_vram.c105 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv50_vram_new() local
108 mem->tag = drm_mm_search_free(&pfb->tag_heap, n, 0, 0); in nv50_vram_new()
Dnouveau_mem.c54 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv10_mem_update_tile_region() local
61 pfb->free_tile_region(dev, i); in nv10_mem_update_tile_region()
64 pfb->init_tile_region(dev, i, addr, size, pitch, flags); in nv10_mem_update_tile_region()
72 pfb->set_tile_region(dev, i); in nv10_mem_update_tile_region()
125 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv10_mem_set_tiling() local
129 for (i = 0; i < pfb->num_tiles; i++) { in nv10_mem_set_tiling()
Dnv40_graph.c186 struct nouveau_fb_engine *pfb = &dev_priv->engine.fb; in nv40_graph_init() local
303 for (i = 0; i < pfb->num_tiles; i++) in nv40_graph_init()
/drivers/gpu/drm/gma500/
Dframebuffer.h39 struct psb_framebuffer pfb; member
Dframebuffer.c97 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_pan()
165 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_mmap()
347 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_create()
567 struct psb_framebuffer *psbfb = &fbdev->pfb; in psb_fbdev_destroy()
Daccel_2d.c243 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_copyarea_accel()
326 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_sync()