Home
last modified time | relevance | path

Searched refs:pitches (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c37 .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 },
42 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
47 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 },
52 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 },
57 .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 },
62 .handles = { 0, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
67 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
72 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
77 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
83 .pitches = { 4 * MAX_WIDTH, 0, 0 },
[all …]
H A Ddrm_format_helper_test.c653 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_gray8()
686 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_rgb332()
719 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_rgb565()
768 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_xrgb1555()
809 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_argb1555()
850 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_rgba5551()
891 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_rgb888()
934 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_bgr888()
976 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_argb8888()
1017 .pitches = { params->pitch, 0, 0 }, in drm_test_fb_xrgb8888_to_xrgb2101010()
[all …]
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_kms.c132 if (mode_cmd->pitches[0] & 7 || mode_cmd->pitches[0] >= 65536) { in shmob_drm_fb_create()
134 mode_cmd->pitches[0]); in shmob_drm_fb_create()
141 if (mode_cmd->pitches[1] != mode_cmd->pitches[0] * chroma_cpp) { in shmob_drm_fb_create()
/linux/drivers/gpu/drm/armada/
H A Darmada_fb.c99 mode->flags, mode->pitches[0], mode->pitches[1], in armada_fb_create()
100 mode->pitches[2]); in armada_fb_create()
H A Darmada_fbdev.c57 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_driver_fbdev_probe()
61 size = mode.pitches[0] * mode.height; in armada_fbdev_driver_fbdev_probe()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c277 (mode_cmd->pitches[0] & 0x3f || /* align 64 */ in nouveau_framebuffer_new()
278 mode_cmd->pitches[0] >= 0x10000 || /* at most 64k pitch */ in nouveau_framebuffer_new()
279 (mode_cmd->pitches[1] && /* pitches for planes must match */ in nouveau_framebuffer_new()
280 mode_cmd->pitches[0] != mode_cmd->pitches[1]))) { in nouveau_framebuffer_new()
283 mode_cmd->pitches[0], mode_cmd->pitches[1]); in nouveau_framebuffer_new()
307 mode_cmd->pitches[i], in nouveau_framebuffer_new()
312 uint32_t size = mode_cmd->pitches[i] * height; in nouveau_framebuffer_new()
/linux/drivers/gpu/drm/
H A Ddrm_fbdev_dma.c114 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_dma_damage_blit_real()
143 iosys_map_incr(dst, fb->pitches[0]); in drm_fbdev_dma_damage_blit_real()
144 src += fb->pitches[0]; in drm_fbdev_dma_damage_blit_real()
215 info->screen_size = sizes->surface_height * fb->pitches[0]; in drm_fbdev_dma_driver_fbdev_probe_tail()
H A Ddrm_fbdev_ttm.c72 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_ttm_damage_blit_real()
101 iosys_map_incr(dst, fb->pitches[0]); in drm_fbdev_ttm_damage_blit_real()
102 src += fb->pitches[0]; in drm_fbdev_ttm_damage_blit_real()
H A Ddrm_fbdev_shmem.c179 info->screen_size = sizes->surface_height * fb->pitches[0]; in drm_fbdev_shmem_driver_fbdev_probe()
H A Ddrm_ioc32.c297 u32 pitches[4]; member
H A Ddrm_gem_framebuffer_helper.c186 min_size = (height - 1) * mode_cmd->pitches[i] in drm_gem_fb_init_with_funcs()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c95 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
210 info->screen_width = fb->pitches[0]; in omap_framebuffer_update_scanout()
332 i, fb->offsets[n], fb->pitches[i]); in omap_framebuffer_describe()
374 unsigned int pitch = mode_cmd->pitches[0]; in omap_framebuffer_init()
408 if (info->num_planes == 2 && pitch != mode_cmd->pitches[1]) { in omap_framebuffer_init()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.c196 if (layout->plane_pitch[i] <= fb->pitches[i]) { in _dpu_format_populate_plane_sizes_linear()
197 layout->plane_pitch[i] = fb->pitches[i]; in _dpu_format_populate_plane_sizes_linear()
200 i, layout->plane_pitch[i], fb->pitches[i]); in _dpu_format_populate_plane_sizes_linear()
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c376 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = fb->pitches[0] / 8; in nv_crtc_mode_set_vga()
389 XLATE(fb->pitches[0] / 8, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); in nv_crtc_mode_set_vga()
391 XLATE(fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11); in nv_crtc_mode_set_vga()
878 regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; in nv04_crtc_do_mode_set_base()
880 XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); in nv04_crtc_do_mode_set_base()
882 XLATE(drm_fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11); in nv04_crtc_do_mode_set_base()
889 regp->fb_start += (y * drm_fb->pitches[0]) + (x * drm_fb->format->cpp[0]); in nv04_crtc_do_mode_set_base()
1193 { { }, event, crtc, fb->format->cpp[0] * 8, fb->pitches[0], in nv04_crtc_page_flip()
H A Doverlay.c179 nvif_wr32(dev, NV_PVIDEO_FORMAT(flip), format | fb->pitches[0]); in nv10_update_plane()
405 fb->pitches[0]); in nv04_update_plane()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c212 if (mode_cmd->pitches[0] > max_pitch) { in rzg2l_du_fb_create()
214 mode_cmd->pitches[0]); in rzg2l_du_fb_create()
/linux/drivers/gpu/drm/arm/
H A Dmalidp_hw.c513 dma_addr_t *addrs, s32 *pitches, in malidp500_enable_memwrite() argument
534 malidp_hw_write(hwdev, pitches[1], base + MALIDP_MW_P2_STRIDE); in malidp500_enable_memwrite()
539 malidp_hw_write(hwdev, pitches[0], base + MALIDP_MW_P1_STRIDE); in malidp500_enable_memwrite()
854 dma_addr_t *addrs, s32 *pitches, in malidp550_enable_memwrite() argument
871 malidp_hw_write(hwdev, pitches[1], base + MALIDP_MW_P2_STRIDE); in malidp550_enable_memwrite()
876 malidp_hw_write(hwdev, pitches[0], base + MALIDP_MW_P1_STRIDE); in malidp550_enable_memwrite()
H A Dmalidp_hw.h204 s32 *pitches, int num_planes, u16 w, u16 h, u32 fmt_id,
H A Dmalidp_drv.c340 if ((mode_cmd->width * bpp) != (mode_cmd->pitches[0] * BITS_PER_BYTE)) { in malidp_verify_afbc_framebuffer_size()
343 (mode_cmd->pitches[0] * BITS_PER_BYTE), in malidp_verify_afbc_framebuffer_size()
/linux/include/drm/
H A Ddrm_framebuffer.h153 unsigned int pitches[DRM_FORMAT_MAX_PLANES]; member
/linux/drivers/gpu/drm/vc4/
H A Dvc4_txp.c278 if (fb->pitches[0] & GENMASK(3, 0)) in vc4_txp_connector_atomic_check()
344 TXP_WRITE(TXP_DST_PITCH, fb->pitches[0]); in vc4_txp_connector_atomic_commit()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_writeback.c234 cfg->pitch = fb->pitches[0]; in rcar_du_writeback_setup()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_draw.c147 int stride = fb->pitches[0]; in qxl_draw_dirty_fb()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c373 dcc->meta_pitch = afb->base.pitches[1]; in amdgpu_dm_plane_fill_gfx9_attrs_from_modifiers()
1158 fb->pitches[0] / fb->format->cpp[0]; in amdgpu_dm_plane_fill_plane_buffer_attributes()
1172 fb->pitches[0] / fb->format->cpp[0]; in amdgpu_dm_plane_fill_plane_buffer_attributes()
1181 fb->pitches[1] / fb->format->cpp[1]; in amdgpu_dm_plane_fill_plane_buffer_attributes()
1711 attributes.pitch = afb->base.pitches[0] / afb->base.format->cpp[0]; in amdgpu_dm_plane_handle_cursor_update()
/linux/drivers/gpu/drm/gma500/
H A Dgma_display.c89 offset = y * fb->pitches[0] + x * fb->format->cpp[0]; in gma_pipe_set_base()
91 REG_WRITE(map->stride, fb->pitches[0]); in gma_pipe_set_base()

12