| /linux-6.15/drivers/gpu/drm/tests/ |
| H A D | drm_format_helper_test.c | 28 unsigned int dst_pitch; member 33 unsigned int dst_pitch; member 38 unsigned int dst_pitch; member 431 .dst_pitch = 5, 439 .dst_pitch = 5, 447 .dst_pitch = 10, 460 .dst_pitch = 10, 468 .dst_pitch = 10, 476 .dst_pitch = 10, 530 .dst_pitch = 2, [all …]
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_format_helper.c | 160 if (!dst_pitch) in __drm_fb_xfrm() 171 dst += dst_pitch; in __drm_fb_xfrm() 203 if (!dst_pitch) in __drm_fb_xfrm_toio() 215 dst += dst_pitch; in __drm_fb_xfrm_toio() 233 if (!dst_pitch) in drm_fb_xfrm() 234 dst_pitch = default_dst_pitch; in drm_fb_xfrm() 276 if (!dst_pitch) in drm_fb_memcpy() 277 dst_pitch = default_dst_pitch; in drm_fb_memcpy() 1258 if (!dst_pitch) in drm_fb_xrgb8888_to_mono() 1259 dst_pitch = default_dst_pitch; in drm_fb_xrgb8888_to_mono() [all …]
|
| /linux-6.15/include/drm/ |
| H A D | drm_format_helper.h | 73 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch, 76 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch, 80 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch, 83 void drm_fb_xrgb8888_to_rgb565(struct iosys_map *dst, const unsigned int *dst_pitch, 87 void drm_fb_xrgb8888_to_xrgb1555(struct iosys_map *dst, const unsigned int *dst_pitch, 90 void drm_fb_xrgb8888_to_argb1555(struct iosys_map *dst, const unsigned int *dst_pitch, 93 void drm_fb_xrgb8888_to_rgba5551(struct iosys_map *dst, const unsigned int *dst_pitch, 96 void drm_fb_xrgb8888_to_rgb888(struct iosys_map *dst, const unsigned int *dst_pitch, 99 void drm_fb_xrgb8888_to_bgr888(struct iosys_map *dst, const unsigned int *dst_pitch, 113 void drm_fb_xrgb8888_to_gray8(struct iosys_map *dst, const unsigned int *dst_pitch, [all …]
|
| /linux-6.15/drivers/video/fbdev/via/ |
| H A D | accel.c | 40 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_1() argument 139 if (tmp & 0xFFFFC007 || dst_pitch & 0xFFFFC007) { in hw_bitblt_1() 141 tmp, dst_pitch); in hw_bitblt_1() 144 tmp = VIA_PITCH_ENABLE | (tmp >> 3) | (dst_pitch << (16 - 3)); in hw_bitblt_1() 173 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_2() argument 220 if (tmp & 0xFFFFC007 || dst_pitch & 0xFFFFC007) { in hw_bitblt_2() 222 tmp, dst_pitch); in hw_bitblt_2() 225 tmp = (tmp >> 3) | (dst_pitch << (16 - 3)); in hw_bitblt_2()
|
| H A D | viafbdev.h | 53 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y,
|
| /linux-6.15/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_client_blt.c | 146 u32 src_pitch, dst_pitch; in prepare_blit() local 177 dst_pitch = t->width; /* in dwords */ in prepare_blit() 185 dst_pitch *= 4; /* in bytes */ in prepare_blit() 190 *cs++ = src_4t | dst_4t | BLT_DEPTH_32 | dst_pitch; in prepare_blit() 229 dst_pitch = t->width * 4; in prepare_blit() 232 dst_pitch /= 4; in prepare_blit() 236 *cs++ = BLT_DEPTH_32 | BLT_ROP_SRC_COPY | dst_pitch; in prepare_blit()
|
| /linux-6.15/drivers/gpu/drm/clients/ |
| H A D | drm_log.c | 73 static void drm_log_blit(struct iosys_map *dst, unsigned int dst_pitch, in drm_log_blit() argument 79 drm_draw_blit16(dst, dst_pitch, src, src_pitch, height, width, scale, color); in drm_log_blit() 82 drm_draw_blit24(dst, dst_pitch, src, src_pitch, height, width, scale, color); in drm_log_blit() 85 drm_draw_blit32(dst, dst_pitch, src, src_pitch, height, width, scale, color); in drm_log_blit()
|
| /linux-6.15/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_stdu.c | 504 s32 src_pitch, dst_pitch; in vmw_stdu_bo_cpu_commit() local 523 dst_pitch = ddirty->pitch; in vmw_stdu_bo_cpu_commit() 525 dst_offset = ddirty->fb_top * dst_pitch + ddirty->fb_left * stdu->cpp; in vmw_stdu_bo_cpu_commit() 527 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, in vmw_stdu_bo_cpu_commit() 1179 s32 src_pitch, dst_pitch; in vmw_stdu_bo_populate_update_cpu() local 1192 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_populate_update_cpu() 1193 dst_offset = bb->y1 * dst_pitch + bb->x1 * stdu->cpp; in vmw_stdu_bo_populate_update_cpu() 1200 (void) vmw_bo_cpu_blit(dst_bo, dst_offset, dst_pitch, src_bo, in vmw_stdu_bo_populate_update_cpu()
|
| /linux-6.15/drivers/gpu/drm/solomon/ |
| H A D | ssd130x.c | 1010 unsigned int dst_pitch; in ssd130x_fb_blit_rect() local 1017 dst_pitch = DIV_ROUND_UP(drm_rect_width(rect), 8); in ssd130x_fb_blit_rect() 1024 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd130x_fb_blit_rect() 1040 unsigned int dst_pitch; in ssd132x_fb_blit_rect() local 1049 dst_pitch = drm_rect_width(rect); in ssd132x_fb_blit_rect() 1056 drm_fb_xrgb8888_to_gray8(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd132x_fb_blit_rect() 1072 unsigned int dst_pitch; in ssd133x_fb_blit_rect() local 1079 dst_pitch = drm_format_info_min_pitch(fi, 0, drm_rect_width(rect)); in ssd133x_fb_blit_rect() 1086 drm_fb_xrgb8888_to_rgb332(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd133x_fb_blit_rect() 1090 ssd133x_update_rect(ssd130x, rect, data_array, dst_pitch); in ssd133x_fb_blit_rect()
|
| /linux-6.15/drivers/gpu/drm/tiny/ |
| H A D | ofdrm.c | 810 unsigned int dst_pitch = odev->pitch; in ofdrm_primary_plane_helper_atomic_update() local 831 iosys_map_incr(&dst, drm_fb_clip_offset(dst_pitch, dst_format, &dst_clip)); in ofdrm_primary_plane_helper_atomic_update() 832 drm_fb_blit(&dst, &dst_pitch, dst_format->format, shadow_plane_state->data, fb, in ofdrm_primary_plane_helper_atomic_update() 849 unsigned int dst_pitch = odev->pitch; in ofdrm_primary_plane_helper_atomic_disable() local 866 dst_vmap += drm_fb_clip_offset(dst_pitch, dst_format, &dst_clip); in ofdrm_primary_plane_helper_atomic_disable() 869 dst_vmap += dst_pitch; in ofdrm_primary_plane_helper_atomic_disable()
|
| H A D | repaper.c | 518 unsigned int dst_pitch = 0; in repaper_fb_dirty() local 550 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, &vmap, fb, &clip, fmtcnv_state); in repaper_fb_dirty()
|