| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_framebuffer_test.c | 37 .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 D | drm_format_helper_test.c | 653 .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 D | shmob_drm_kms.c | 132 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 D | armada_fb.c | 99 mode->flags, mode->pitches[0], mode->pitches[1], in armada_fb_create() 100 mode->pitches[2]); in armada_fb_create()
|
| H A D | armada_fbdev.c | 57 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 D | nouveau_display.c | 277 (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 D | drm_fbdev_dma.c | 114 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 D | drm_fbdev_ttm.c | 72 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 D | drm_fbdev_shmem.c | 179 info->screen_size = sizes->surface_height * fb->pitches[0]; in drm_fbdev_shmem_driver_fbdev_probe()
|
| H A D | drm_ioc32.c | 297 u32 pitches[4]; member
|
| H A D | drm_gem_framebuffer_helper.c | 186 min_size = (height - 1) * mode_cmd->pitches[i] in drm_gem_fb_init_with_funcs()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 95 + (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 D | dpu_formats.c | 196 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 D | crtc.c | 376 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 D | overlay.c | 179 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 D | rzg2l_du_kms.c | 212 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 D | malidp_hw.c | 513 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 D | malidp_hw.h | 204 s32 *pitches, int num_planes, u16 w, u16 h, u32 fmt_id,
|
| H A D | malidp_drv.c | 340 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 D | drm_framebuffer.h | 153 unsigned int pitches[DRM_FORMAT_MAX_PLANES]; member
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_txp.c | 278 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 D | rcar_du_writeback.c | 234 cfg->pitch = fb->pitches[0]; in rcar_du_writeback_setup()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_draw.c | 147 int stride = fb->pitches[0]; in qxl_draw_dirty_fb()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_plane.c | 373 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 D | gma_display.c | 89 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()
|