Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_format_test.c128 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 0, 0), 0); in drm_test_format_min_pitch_invalid()
129 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, -1, 0), 0); in drm_test_format_min_pitch_invalid()
130 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 1, 0), 0); in drm_test_format_min_pitch_invalid()
139 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 0, 0), 0); in drm_test_format_min_pitch_one_plane_8bpp()
140 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, -1, 0), 0); in drm_test_format_min_pitch_one_plane_8bpp()
141 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 1, 0), 0); in drm_test_format_min_pitch_one_plane_8bpp()
143 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 0, 1), 1); in drm_test_format_min_pitch_one_plane_8bpp()
144 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 0, 2), 2); in drm_test_format_min_pitch_one_plane_8bpp()
145 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 0, 640), 640); in drm_test_format_min_pitch_one_plane_8bpp()
146 KUNIT_EXPECT_EQ(test, drm_format_info_min_pitch(info, 0, 1024), 1024); in drm_test_format_min_pitch_one_plane_8bpp()
[all …]
Ddrm_format_helper_test.c549 dst_pitch = drm_format_info_min_pitch(dst_fi, plane, drm_rect_width(clip)); in conversion_buf_size()
1316 pitch = drm_format_info_min_pitch(format_info, 0, in drm_test_fb_clip_offset()
/linux-6.12.1/drivers/gpu/drm/gud/
Dgud_pipe.c71 len = drm_format_info_min_pitch(format, 0, width) * height; in gud_xrgb8888_to_r124()
117 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color()
164 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush()
335 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(damage)); in gud_flush_damage()
Dgud_drv.c537 fmt_buf_size = drm_format_info_min_pitch(info, 0, drm->mode_config.max_width) * in gud_probe()
/linux-6.12.1/include/drm/
Ddrm_fourcc.h321 uint64_t drm_format_info_min_pitch(const struct drm_format_info *info,
/linux-6.12.1/drivers/gpu/drm/tiny/
Dcirrus.c174 return drm_format_info_min_pitch(format, 0, fb->width); in cirrus_pitch()
615 uint64_t pitch = drm_format_info_min_pitch(format, 0, mode->hdisplay); in cirrus_mode_config_mode_valid()
Dsimpledrm.c856 stride = drm_format_info_min_pitch(format, 0, width); in simpledrm_device_create()
Dofdrm.c1178 linebytes = drm_format_info_min_pitch(format, 0, width); in ofdrm_device_create()
/linux-6.12.1/drivers/gpu/drm/solomon/
Dssd130x.c994 pitch = drm_format_info_min_pitch(fi, 0, ssd130x->width); in ssd133x_clear_screen()
1077 dst_pitch = drm_format_info_min_pitch(fi, 0, drm_rect_width(rect)); in ssd133x_fb_blit_rect()
1123 pitch = drm_format_info_min_pitch(fi, 0, ssd130x->width); in ssd130x_primary_plane_atomic_check()
1172 pitch = drm_format_info_min_pitch(fi, 0, ssd130x->width); in ssd132x_primary_plane_atomic_check()
1545 pitch = drm_format_info_min_pitch(fi, 0, ssd130x->width); in ssd133x_crtc_atomic_check()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_fourcc.c448 uint64_t drm_format_info_min_pitch(const struct drm_format_info *info, in drm_format_info_min_pitch() function
458 EXPORT_SYMBOL(drm_format_info_min_pitch);
Ddrm_gem_framebuffer_helper.c189 + drm_format_info_min_pitch(info, i, width) in drm_gem_fb_init_with_funcs()
Ddrm_framebuffer.c184 u64 min_pitch = drm_format_info_min_pitch(info, i, width); in framebuffer_check()
Ddrm_mipi_dbi.c303 len = drm_format_info_min_pitch(dst_format, 0, width) * height; in mipi_dbi_fb_dirty()
/linux-6.12.1/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c966 offset = drm_format_info_min_pitch(fb->format, 0, in vop_plane_atomic_update()
1010 offset = drm_format_info_min_pitch(fb->format, 1, in vop_plane_atomic_update()