Home
last modified time | relevance | path

Searched refs:pixmap (Results 1 – 25 of 26) sorted by relevance

12

/drivers/gpu/drm/sti/
Dsti_cursor.c70 struct dma_pixmap pixmap; member
95 if (cursor->pixmap.paddr == val) in cursor_dbg_pml()
96 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml()
149 u8 *dst = cursor->pixmap.base; in sti_cursor_argb8888_to_clut8()
223 if (!cursor->pixmap.base || in sti_cursor_atomic_check()
229 if (cursor->pixmap.base) in sti_cursor_atomic_check()
230 dma_free_wc(cursor->dev, cursor->pixmap.size, in sti_cursor_atomic_check()
231 cursor->pixmap.base, cursor->pixmap.paddr); in sti_cursor_atomic_check()
233 cursor->pixmap.size = cursor->width * cursor->height; in sti_cursor_atomic_check()
235 cursor->pixmap.base = dma_alloc_wc(cursor->dev, in sti_cursor_atomic_check()
[all …]
/drivers/video/fbdev/
Dskeletonfb.c729 info->pixmap.addr = kmalloc(PIXMAP_SIZE, GFP_KERNEL); in xxxfb_probe()
730 if (!info->pixmap.addr) { in xxxfb_probe()
734 info->pixmap.size = PIXMAP_SIZE; in xxxfb_probe()
744 info->pixmap.flags = FB_PIXMAP_SYSTEM; in xxxfb_probe()
750 info->pixmap.scan_align = 4; in xxxfb_probe()
757 info->pixmap.buf_align = 4; in xxxfb_probe()
765 info->pixmap.access_align = 32; in xxxfb_probe()
Dpm3fb.c581 + info->pixmap.scan_align - 1; in pm3fb_imageblit()
1399 info->pixmap.addr = kmalloc(PM3_PIXMAP_SIZE, GFP_KERNEL); in pm3fb_probe()
1400 if (!info->pixmap.addr) { in pm3fb_probe()
1404 info->pixmap.size = PM3_PIXMAP_SIZE; in pm3fb_probe()
1405 info->pixmap.buf_align = 4; in pm3fb_probe()
1406 info->pixmap.scan_align = 4; in pm3fb_probe()
1407 info->pixmap.access_align = 32; in pm3fb_probe()
1408 info->pixmap.flags = FB_PIXMAP_SYSTEM; in pm3fb_probe()
1445 kfree(info->pixmap.addr); in pm3fb_probe()
1477 kfree(info->pixmap.addr); in pm3fb_remove()
Dtridentfb.c1611 info->pixmap.addr = kmalloc(4096, GFP_KERNEL); in trident_pci_probe()
1612 if (!info->pixmap.addr) { in trident_pci_probe()
1617 info->pixmap.size = 4096; in trident_pci_probe()
1618 info->pixmap.buf_align = 4; in trident_pci_probe()
1619 info->pixmap.scan_align = 1; in trident_pci_probe()
1620 info->pixmap.access_align = 32; in trident_pci_probe()
1621 info->pixmap.flags = FB_PIXMAP_SYSTEM; in trident_pci_probe()
1626 info->pixmap.scan_align = 4; in trident_pci_probe()
1632 info->pixmap.scan_align = 1; in trident_pci_probe()
1707 kfree(info->pixmap.addr); in trident_pci_probe()
[all …]
Dpm2fb.c1243 + info->pixmap.scan_align - 1; in pm2fb_imageblit()
1663 info->pixmap.addr = kmalloc(PM2_PIXMAP_SIZE, GFP_KERNEL); in pm2fb_probe()
1664 if (!info->pixmap.addr) { in pm2fb_probe()
1668 info->pixmap.size = PM2_PIXMAP_SIZE; in pm2fb_probe()
1669 info->pixmap.buf_align = 4; in pm2fb_probe()
1670 info->pixmap.scan_align = 4; in pm2fb_probe()
1671 info->pixmap.access_align = 32; in pm2fb_probe()
1672 info->pixmap.flags = FB_PIXMAP_SYSTEM; in pm2fb_probe()
1677 info->pixmap.scan_align = 1; in pm2fb_probe()
1708 kfree(info->pixmap.addr); in pm2fb_probe()
[all …]
Dvt8623fb.c389 info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); in vt8623fb_set_par()
390 info->pixmap.blit_y = ~(u32)0; in vt8623fb_set_par()
407 info->pixmap.blit_x = 1 << (8 - 1); in vt8623fb_set_par()
408 info->pixmap.blit_y = 1 << (16 - 1); in vt8623fb_set_par()
Darkfb.c629 info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); in arkfb_set_par()
630 info->pixmap.blit_y = ~(u32)0; in arkfb_set_par()
642 info->pixmap.blit_x = 1 << (8 - 1); in arkfb_set_par()
643 info->pixmap.blit_y = 1 << (16 - 1); in arkfb_set_par()
Ds3fb.c617 info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); in s3fb_set_par()
618 info->pixmap.blit_y = ~(u32)0; in s3fb_set_par()
630 info->pixmap.blit_x = 1 << (8 - 1); in s3fb_set_par()
631 info->pixmap.blit_y = 1 << (16 - 1); in s3fb_set_par()
Dneofb.c1432 int scan_align = info->pixmap.scan_align - 1; in neo2200_imageblit()
1433 int buf_align = info->pixmap.buf_align - 1; in neo2200_imageblit()
/drivers/video/fbdev/core/
Dsoftcursor.c25 unsigned int scan_align = info->pixmap.scan_align - 1; in soft_cursor()
26 unsigned int buf_align = info->pixmap.buf_align - 1; in soft_cursor()
55 dst = fb_get_buffer_offset(info, &info->pixmap, size); in soft_cursor()
Dfbmem.c1652 if (fb_info->pixmap.addr == NULL) { in do_register_framebuffer()
1653 fb_info->pixmap.addr = kmalloc(FBPIXMAPSIZE, GFP_KERNEL); in do_register_framebuffer()
1654 if (fb_info->pixmap.addr) { in do_register_framebuffer()
1655 fb_info->pixmap.size = FBPIXMAPSIZE; in do_register_framebuffer()
1656 fb_info->pixmap.buf_align = 1; in do_register_framebuffer()
1657 fb_info->pixmap.scan_align = 1; in do_register_framebuffer()
1658 fb_info->pixmap.access_align = 32; in do_register_framebuffer()
1659 fb_info->pixmap.flags = FB_PIXMAP_DEFAULT; in do_register_framebuffer()
1662 fb_info->pixmap.offset = 0; in do_register_framebuffer()
1664 if (!fb_info->pixmap.blit_x) in do_register_framebuffer()
[all …]
Dfbcon_cw.c122 u32 maxcnt = info->pixmap.size/cellsize; in cw_putcs()
123 u32 scan_align = info->pixmap.scan_align - 1; in cw_putcs()
124 u32 buf_align = info->pixmap.buf_align - 1; in cw_putcs()
157 dst = fb_get_buffer_offset(info, &info->pixmap, size); in cw_putcs()
Dbitblit.c150 u32 maxcnt = info->pixmap.size/cellsize; in bit_putcs()
151 u32 scan_align = info->pixmap.scan_align - 1; in bit_putcs()
152 u32 buf_align = info->pixmap.buf_align - 1; in bit_putcs()
181 dst = fb_get_buffer_offset(info, &info->pixmap, size); in bit_putcs()
Dfbcon_ud.c159 u32 maxcnt = info->pixmap.size/cellsize; in ud_putcs()
160 u32 scan_align = info->pixmap.scan_align - 1; in ud_putcs()
161 u32 buf_align = info->pixmap.buf_align - 1; in ud_putcs()
197 dst = fb_get_buffer_offset(info, &info->pixmap, size); in ud_putcs()
Dfbcon_ccw.c137 u32 maxcnt = info->pixmap.size/cellsize; in ccw_putcs()
138 u32 scan_align = info->pixmap.scan_align - 1; in ccw_putcs()
139 u32 buf_align = info->pixmap.buf_align - 1; in ccw_putcs()
174 dst = fb_get_buffer_offset(info, &info->pixmap, size); in ccw_putcs()
Dtileblit.c69 blit.indices = (u32 *) fb_get_buffer_offset(info, &info->pixmap, size); in tile_putcs()
Dfbcon.c996 info->pixmap.blit_x, in fbcon_startup()
997 info->pixmap.blit_y); in fbcon_startup()
1073 info->pixmap.blit_x, in fbcon_init()
1074 info->pixmap.blit_y); in fbcon_init()
2507 if (!(info->pixmap.blit_x & BIT(font->width - 1)) || in fbcon_set_font()
2508 !(info->pixmap.blit_y & BIT(font->height - 1))) in fbcon_set_font()
2561 info->pixmap.blit_x, info->pixmap.blit_y); in fbcon_set_def_font()
/drivers/video/fbdev/nvidia/
Dnvidia.c664 info->pixmap.scan_align = 4; in nvidiafb_set_par()
673 info->pixmap.scan_align = 1; in nvidiafb_set_par()
1167 info->pixmap.scan_align = 4; in nvidia_set_fbinfo()
1168 info->pixmap.buf_align = 4; in nvidia_set_fbinfo()
1169 info->pixmap.access_align = 32; in nvidia_set_fbinfo()
1170 info->pixmap.size = 8 * 1024; in nvidia_set_fbinfo()
1171 info->pixmap.flags = FB_PIXMAP_SYSTEM; in nvidia_set_fbinfo()
1293 info->pixmap.addr = kzalloc(8 * 1024, GFP_KERNEL); in nvidiafb_probe()
1295 if (info->pixmap.addr == NULL) in nvidiafb_probe()
1420 kfree(info->pixmap.addr); in nvidiafb_probe()
[all …]
Dnv_accel.c79 info->pixmap.scan_align = 1; in nvidiafb_safe_mode()
/drivers/video/fbdev/intelfb/
Dintelfbdrv.c423 kfree(dinfo->info->pixmap.addr); in cleanup()
508 info->pixmap.addr = kzalloc(64 * 1024, GFP_KERNEL); in intelfb_pci_register()
509 if (info->pixmap.addr == NULL) { in intelfb_pci_register()
1097 info->pixmap.size = 64*1024; in intelfb_set_fbinfo()
1098 info->pixmap.buf_align = 8; in intelfb_set_fbinfo()
1099 info->pixmap.access_align = 32; in intelfb_set_fbinfo()
1100 info->pixmap.flags = FB_PIXMAP_SYSTEM; in intelfb_set_fbinfo()
1105 info->pixmap.scan_align = 1; in intelfb_set_fbinfo()
/drivers/video/fbdev/riva/
Dfbdev.c1208 info->pixmap.scan_align = 1; in rivafb_set_par()
1210 info->pixmap.scan_align = 4; in rivafb_set_par()
1718 info->pixmap.size = 8 * 1024; in riva_set_fbinfo()
1719 info->pixmap.buf_align = 4; in riva_set_fbinfo()
1720 info->pixmap.access_align = 32; in riva_set_fbinfo()
1721 info->pixmap.flags = FB_PIXMAP_SYSTEM; in riva_set_fbinfo()
1909 info->pixmap.addr = kzalloc(8 * 1024, GFP_KERNEL); in rivafb_probe()
1910 if (info->pixmap.addr == NULL) { in rivafb_probe()
2069 kfree(info->pixmap.addr); in rivafb_probe()
2097 kfree(info->pixmap.addr); in rivafb_remove()
/drivers/video/fbdev/i810/
Di810_accel.c78 info->pixmap.scan_align = 1; in wait_for_space()
106 info->pixmap.scan_align = 1; in wait_for_engine_idle()
Di810_main.c1447 info->pixmap.scan_align = 2; in i810fb_set_par()
1449 info->pixmap.scan_align = 1; in i810fb_set_par()
2026 if (!(info->pixmap.addr = kzalloc(8*1024, GFP_KERNEL))) { in i810fb_init_pci()
2030 info->pixmap.size = 8*1024; in i810fb_init_pci()
2031 info->pixmap.buf_align = 8; in i810fb_init_pci()
2032 info->pixmap.access_align = 32; in i810fb_init_pci()
2033 info->pixmap.flags = FB_PIXMAP_SYSTEM; in i810fb_init_pci()
/drivers/video/fbdev/savage/
Dsavagefb_driver.c2148 info->pixmap.addr = kcalloc(8, 1024, GFP_KERNEL); in savage_init_fb_info()
2151 if (info->pixmap.addr) { in savage_init_fb_info()
2152 info->pixmap.size = 8*1024; in savage_init_fb_info()
2153 info->pixmap.scan_align = 4; in savage_init_fb_info()
2154 info->pixmap.buf_align = 4; in savage_init_fb_info()
2155 info->pixmap.access_align = 32; in savage_init_fb_info()
2163 kfree(info->pixmap.addr); in savage_init_fb_info()
2323 kfree(info->pixmap.addr); in savagefb_probe()
2347 kfree(info->pixmap.addr); in savagefb_remove()
/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c589 fbcon->helper.fbdev->pixmap.buf_align = 4; in nouveau_fbcon_init()

12