Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/tests/
H A 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/drivers/gpu/drm/gud/
H A 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/drivers/gpu/drm/tiny/
H A Dst7586.c69 struct drm_format_conv_state *fmtcnv_state) in st7586_xrgb8888_to_gray332() argument
82 drm_fb_xrgb8888_to_gray8(&dst_map, NULL, &vmap, fb, clip, fmtcnv_state); in st7586_xrgb8888_to_gray332()
98 struct drm_rect *clip, struct drm_format_conv_state *fmtcnv_state) in st7586_buf_copy() argument
106 st7586_xrgb8888_to_gray332(dst, src->vaddr, fb, clip, fmtcnv_state); in st7586_buf_copy()
114 struct drm_rect *rect, struct drm_format_conv_state *fmtcnv_state) in st7586_fb_dirty() argument
126 ret = st7586_buf_copy(dbidev->tx_buf, src, fb, rect, fmtcnv_state); in st7586_fb_dirty()
166 &shadow_plane_state->fmtcnv_state); in st7586_pipe_update()
245 &shadow_plane_state->fmtcnv_state); in st7586_pipe_enable()
H A Dsharp-memory.c131 struct drm_format_conv_state *fmtcnv_state) in sharp_memory_set_tx_buffer_data() argument
144 drm_fb_xrgb8888_to_mono(&dst, &pitch, &vmap, fb, &clip, fmtcnv_state); in sharp_memory_set_tx_buffer_data()
152 struct drm_format_conv_state *fmtcnv_state) in sharp_memory_update_display() argument
166 sharp_memory_set_tx_buffer_data(&tx_buffer[2], fb, clip, pitch, fmtcnv_state); in sharp_memory_update_display()
245 struct drm_format_conv_state fmtcnv_state = DRM_FORMAT_CONV_STATE_INIT; in sharp_memory_plane_atomic_update() local
254 sharp_memory_fb_dirty(plane_state->fb, &rect, &fmtcnv_state); in sharp_memory_plane_atomic_update()
256 drm_format_conv_state_release(&fmtcnv_state); in sharp_memory_plane_atomic_update()
H A Dili9225.c82 struct drm_rect *rect, struct drm_format_conv_state *fmtcnv_state) in ili9225_fb_dirty() argument
102 ret = mipi_dbi_buf_copy(tr, src, fb, rect, swap, fmtcnv_state); in ili9225_fb_dirty()
176 &shadow_plane_state->fmtcnv_state); in ili9225_pipe_update()
287 &shadow_plane_state->fmtcnv_state); in ili9225_pipe_enable()
H A Drepaper.c514 struct drm_format_conv_state *fmtcnv_state) in repaper_fb_dirty() argument
550 drm_fb_xrgb8888_to_mono(&dst, &dst_pitch, &vmap, fb, &clip, fmtcnv_state); in repaper_fb_dirty()
835 struct drm_format_conv_state fmtcnv_state = DRM_FORMAT_CONV_STATE_INIT; in repaper_pipe_update() local
842 repaper_fb_dirty(state->fb, &fmtcnv_state); in repaper_pipe_update()
844 drm_format_conv_state_release(&fmtcnv_state); in repaper_pipe_update()
H A 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()
H A 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()
H A Dcirrus-qemu.c415 &damage, &shadow_plane_state->fmtcnv_state); in cirrus_primary_plane_helper_atomic_update()
/linux/drivers/gpu/drm/
H A 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()
H A 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/drivers/gpu/drm/solomon/
H A 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/include/drm/
H A Ddrm_gem_atomic_helper.h60 struct drm_format_conv_state fmtcnv_state; member
H A Ddrm_mipi_dbi.h207 struct drm_format_conv_state *fmtcnv_state);