Home
last modified time | relevance | path

Searched refs:pitches (Results 1 – 25 of 49) 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/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/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/tiny/
H A Dcirrus-qemu.c320 if (fb->pitches[0] > CIRRUS_MAX_PITCH) in cirrus_primary_plane_helper_atomic_check()
322 else if (fb->pitches[0] > CIRRUS_VRAM_SIZE / fb->height) in cirrus_primary_plane_helper_atomic_check()
350 if (!old_fb || old_fb->pitches[0] != fb->pitches[0]) in cirrus_primary_plane_helper_atomic_update()
351 cirrus_pitch_set(cirrus, fb->pitches[0]); in cirrus_primary_plane_helper_atomic_update()
355 unsigned int offset = drm_fb_clip_offset(fb->pitches[0], fb->format, &damage); in cirrus_primary_plane_helper_atomic_update()
358 drm_fb_memcpy(&dst, fb->pitches, shadow_plane_state->data, fb, &damage); in cirrus_primary_plane_helper_atomic_update()
/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()
/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/gud/
H A Dgud_pipe.c119 sbuf32 = src + (y * fb->pitches[0]); in gud_xrgb8888_to_color()
204 } else if (compression && cached_reads && pitch == fb->pitches[0]) { in gud_prep_flush()
403 gdrm->shadow_buf = vcalloc(fb->pitches[0], fb->height); in gud_fb_queue_damage()
411 iosys_map_incr(&shadow_map, drm_fb_clip_offset(fb->pitches[0], fb->format, damage)); in gud_fb_queue_damage()
412 drm_fb_memcpy(&shadow_map, fb->pitches, src, fb, damage); in gud_fb_queue_damage()
/linux/drivers/gpu/drm/msm/
H A Dmsm_fb.c66 i, fb->offsets[i], fb->pitches[i]); in msm_framebuffer_describe()
183 min_size = (height - 1) * mode_cmd->pitches[i] in msm_framebuffer_init()
/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()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_cursor.c253 plane_state->view.color_plane[0].mapping_stride != fb->pitches[0]); in i845_check_cursor()
255 switch (fb->pitches[0]) { in i845_check_cursor()
264 fb->pitches[0]); in i845_check_cursor()
498 plane_state->view.color_plane[0].mapping_stride != fb->pitches[0]); in i9xx_check_cursor()
500 if (fb->pitches[0] != in i9xx_check_cursor()
505 fb->pitches[0], drm_rect_width(&plane_state->uapi.dst)); in i9xx_check_cursor()
/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()
/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/tegra/
H A Dhub.c469 if (new_plane_state->fb->pitches[2] != new_plane_state->fb->pitches[1]) { in tegra_shared_plane_atomic_check()
663 value = PITCH(fb->pitches[0]); in tegra_shared_plane_atomic_update()
681 value = PITCH_U(fb->pitches[1]); in tegra_shared_plane_atomic_update()
684 value |= PITCH_V(fb->pitches[2]); in tegra_shared_plane_atomic_update()
/linux/include/drm/
H A Ddrm_framebuffer.h153 unsigned int pitches[DRM_FORMAT_MAX_PLANES]; member
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c147 y * state->fb->pitches[0]; in virtio_gpu_panic_update_dumb_bo()
170 y * state->fb->pitches[0]; in virtio_gpu_update_dumb_bo()
536 sb->pitch[0] = plane->state->fb->pitches[0]; in virtio_drm_get_scanout_buffer()
/linux/drivers/gpu/drm/verisilicon/
H A Dvs_plane.c125 dma_addr += (src_rect->y1 >> 16) * fb->pitches[0]; in vs_fb_get_dma_addr()
H A Dvs_primary_plane.c134 fb->pitches[0]); in vs_primary_plane_atomic_update()
/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()

12