Searched refs:drm_format_info_min_pitch (Results 1 – 8 of 8) sorted by relevance
| /Linux-v6.1/drivers/gpu/drm/tests/ |
| D | drm_format_test.c | 128 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 …]
|
| /Linux-v6.1/drivers/gpu/drm/gud/ |
| D | gud_pipe.c | 72 len = drm_format_info_min_pitch(format, 0, width) * height; in gud_xrgb8888_to_r124() 118 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color() 167 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush() 395 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(&damage)); in gud_flush_work()
|
| D | gud_drv.c | 547 fmt_buf_size = drm_format_info_min_pitch(info, 0, drm->mode_config.max_width) * in gud_probe()
|
| /Linux-v6.1/include/drm/ |
| D | drm_fourcc.h | 320 uint64_t drm_format_info_min_pitch(const struct drm_format_info *info,
|
| /Linux-v6.1/drivers/gpu/drm/ |
| D | drm_fourcc.c | 436 uint64_t drm_format_info_min_pitch(const struct drm_format_info *info, in drm_format_info_min_pitch() function 446 EXPORT_SYMBOL(drm_format_info_min_pitch);
|
| D | drm_gem_framebuffer_helper.c | 181 + drm_format_info_min_pitch(info, i, width) in drm_gem_fb_init_with_funcs()
|
| D | drm_framebuffer.c | 202 u64 min_pitch = drm_format_info_min_pitch(info, i, width); in framebuffer_check()
|
| /Linux-v6.1/drivers/gpu/drm/tiny/ |
| D | simpledrm.c | 696 stride = drm_format_info_min_pitch(format, 0, width); in simpledrm_device_create()
|