Home
last modified time | relevance | path

Searched refs:fmtcnv_state (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_format_helper_test.c24 static struct drm_format_conv_state fmtcnv_state = variable
637 drm_fb_xrgb8888_to_gray8(&dst, dst_pitch, &src, &fb, &params->clip, &fmtcnv_state); in drm_test_fb_xrgb8888_to_gray8()
670 drm_fb_xrgb8888_to_rgb332(&dst, dst_pitch, &src, &fb, &params->clip, &fmtcnv_state); in drm_test_fb_xrgb8888_to_rgb332()
704 &fmtcnv_state, false); in drm_test_fb_xrgb8888_to_rgb565()
710 &fmtcnv_state, true); in drm_test_fb_xrgb8888_to_rgb565()
720 &fmtcnv_state); in drm_test_fb_xrgb8888_to_rgb565()
757 drm_fb_xrgb8888_to_xrgb1555(&dst, dst_pitch, &src, &fb, &params->clip, &fmtcnv_state); in drm_test_fb_xrgb8888_to_xrgb1555()
767 &fmtcnv_state); in drm_test_fb_xrgb8888_to_xrgb1555()
804 drm_fb_xrgb8888_to_argb1555(&dst, dst_pitch, &src, &fb, &params->clip, &fmtcnv_state); in drm_test_fb_xrgb8888_to_argb1555()
814 &fmtcnv_state); in drm_test_fb_xrgb8888_to_argb1555()
[all …]
/linux-6.12.1/drivers/gpu/drm/gud/
Dgud_pipe.c55 struct drm_format_conv_state *fmtcnv_state) in gud_xrgb8888_to_r124() argument
79 drm_fb_xrgb8888_to_gray8(&dst_map, NULL, &vmap, fb, rect, fmtcnv_state); in gud_xrgb8888_to_r124()
157 struct drm_format_conv_state *fmtcnv_state) in gud_prep_flush() argument
183 len = gud_xrgb8888_to_r124(buf, format, vaddr, fb, rect, fmtcnv_state); in gud_prep_flush()
187 drm_fb_xrgb8888_to_gray8(&dst, NULL, src, fb, rect, fmtcnv_state); in gud_prep_flush()
189 drm_fb_xrgb8888_to_rgb332(&dst, NULL, src, fb, rect, fmtcnv_state); in gud_prep_flush()
191 drm_fb_xrgb8888_to_rgb565(&dst, NULL, src, fb, rect, fmtcnv_state, in gud_prep_flush()
194 drm_fb_xrgb8888_to_rgb888(&dst, NULL, src, fb, rect, fmtcnv_state); in gud_prep_flush()
199 drm_fb_swab(&dst, NULL, src, fb, rect, cached_reads, fmtcnv_state); in gud_prep_flush()
272 struct drm_format_conv_state *fmtcnv_state) in gud_flush_rect() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/tiny/
Dst7586.c68 struct drm_format_conv_state *fmtcnv_state) in st7586_xrgb8888_to_gray332() argument
81 drm_fb_xrgb8888_to_gray8(&dst_map, NULL, &vmap, fb, clip, fmtcnv_state); in st7586_xrgb8888_to_gray332()
97 struct drm_rect *clip, struct drm_format_conv_state *fmtcnv_state) in st7586_buf_copy() argument
105 st7586_xrgb8888_to_gray332(dst, src->vaddr, fb, clip, fmtcnv_state); in st7586_buf_copy()
113 struct drm_rect *rect, struct drm_format_conv_state *fmtcnv_state) in st7586_fb_dirty() argument
125 ret = st7586_buf_copy(dbidev->tx_buf, src, fb, rect, fmtcnv_state); in st7586_fb_dirty()
165 &shadow_plane_state->fmtcnv_state); in st7586_pipe_update()
244 &shadow_plane_state->fmtcnv_state); in st7586_pipe_enable()
Dili9225.c81 struct drm_rect *rect, struct drm_format_conv_state *fmtcnv_state) in ili9225_fb_dirty() argument
101 ret = mipi_dbi_buf_copy(tr, src, fb, rect, swap, fmtcnv_state); in ili9225_fb_dirty()
175 &shadow_plane_state->fmtcnv_state); in ili9225_pipe_update()
286 &shadow_plane_state->fmtcnv_state); in ili9225_pipe_enable()
Drepaper.c513 struct drm_format_conv_state *fmtcnv_state) in repaper_fb_dirty() argument
549 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, &vmap, fb, &clip, fmtcnv_state); in repaper_fb_dirty()
834 struct drm_format_conv_state fmtcnv_state = DRM_FORMAT_CONV_STATE_INIT; in repaper_pipe_update() local
841 repaper_fb_dirty(state->fb, &fmtcnv_state); in repaper_pipe_update()
843 drm_format_conv_state_release(&fmtcnv_state); in repaper_pipe_update()
Dsimpledrm.c612 buf = drm_format_conv_state_reserve(&new_shadow_plane_state->fmtcnv_state, in simpledrm_primary_plane_helper_atomic_check()
651 fb, &damage, &shadow_plane_state->fmtcnv_state); in simpledrm_primary_plane_helper_atomic_update()
Dofdrm.c787 buf = drm_format_conv_state_reserve(&new_shadow_plane_state->fmtcnv_state, in ofdrm_primary_plane_helper_atomic_check()
833 &damage, &shadow_plane_state->fmtcnv_state); in ofdrm_primary_plane_helper_atomic_update()
Dcirrus.c415 &damage, &shadow_plane_state->fmtcnv_state); in cirrus_primary_plane_helper_atomic_update()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_gem_atomic_helper.c227 drm_format_conv_state_copy(&new_shadow_plane_state->fmtcnv_state, in __drm_gem_duplicate_shadow_plane_state()
228 &shadow_plane_state->fmtcnv_state); in __drm_gem_duplicate_shadow_plane_state()
276 drm_format_conv_state_release(&shadow_plane_state->fmtcnv_state); in __drm_gem_destroy_shadow_plane_state()
313 drm_format_conv_state_init(&shadow_plane_state->fmtcnv_state); in __drm_gem_reset_shadow_plane()
Ddrm_mipi_dbi.c207 struct drm_format_conv_state *fmtcnv_state) in mipi_dbi_buf_copy() argument
222 fmtcnv_state); in mipi_dbi_buf_copy()
232 drm_fb_xrgb8888_to_rgb565(&dst_map, NULL, src, fb, clip, fmtcnv_state, swap); in mipi_dbi_buf_copy()
235 drm_fb_xrgb8888_to_rgb888(&dst_map, NULL, src, fb, clip, fmtcnv_state); in mipi_dbi_buf_copy()
269 struct drm_rect *rect, struct drm_format_conv_state *fmtcnv_state) in mipi_dbi_fb_dirty() argument
289 ret = mipi_dbi_buf_copy(tr, src, fb, rect, swap, fmtcnv_state); in mipi_dbi_fb_dirty()
357 &shadow_plane_state->fmtcnv_state); in mipi_dbi_pipe_update()
394 &shadow_plane_state->fmtcnv_state); in mipi_dbi_enable_flush()
/linux-6.12.1/drivers/gpu/drm/solomon/
Dssd130x.c1006 struct drm_format_conv_state *fmtcnv_state) in ssd130x_fb_blit_rect() argument
1024 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd130x_fb_blit_rect()
1037 struct drm_format_conv_state *fmtcnv_state) in ssd132x_fb_blit_rect() argument
1054 drm_fb_xrgb8888_to_gray8(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd132x_fb_blit_rect()
1066 struct drm_format_conv_state *fmtcnv_state) in ssd133x_fb_blit_rect() argument
1084 drm_fb_xrgb8888_to_rgb332(&dst, &dst_pitch, vmap, fb, rect, fmtcnv_state); in ssd133x_fb_blit_rect()
1129 buf = drm_format_conv_state_reserve(&shadow_plane_state->fmtcnv_state, in ssd130x_primary_plane_atomic_check()
1178 buf = drm_format_conv_state_reserve(&shadow_plane_state->fmtcnv_state, in ssd132x_primary_plane_atomic_check()
1243 &shadow_plane_state->fmtcnv_state); in ssd130x_primary_plane_atomic_update()
1278 &shadow_plane_state->fmtcnv_state); in ssd132x_primary_plane_atomic_update()
[all …]
/linux-6.12.1/include/drm/
Ddrm_gem_atomic_helper.h60 struct drm_format_conv_state fmtcnv_state; member
Ddrm_mipi_dbi.h207 struct drm_format_conv_state *fmtcnv_state);