Searched refs:drm_format_info_block_width (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_format_test.c | 16 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 0); in drm_test_format_block_width_invalid() 17 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_invalid() 18 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0); in drm_test_format_block_width_invalid() 27 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1); in drm_test_format_block_width_one_plane() 28 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0); in drm_test_format_block_width_one_plane() 29 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_one_plane() 38 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1); in drm_test_format_block_width_two_plane() 39 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 1); in drm_test_format_block_width_two_plane() 40 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 2), 0); in drm_test_format_block_width_two_plane() 41 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_two_plane() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 452 unsigned int drm_format_info_block_width(const struct drm_format_info *info, in drm_format_info_block_width() function 462 EXPORT_SYMBOL(drm_format_info_block_width); 498 (drm_format_info_block_width(info, plane) * in drm_format_info_bpp() 520 drm_format_info_block_width(info, plane) * in drm_format_info_min_pitch()
|
| H A D | drm_fb_helper.c | 1182 if ((drm_format_info_block_width(format, 0) > 1) || in drm_fb_helper_check_var() 1613 WARN_ON((drm_format_info_block_width(format, 0) > 1) || in drm_fb_helper_fill_var()
|
| /linux/include/drm/ |
| H A D | drm_fourcc.h | 316 unsigned int drm_format_info_block_width(const struct drm_format_info *info,
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_pipe.c | 56 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_r124() 105 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_color()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_fb.c | 937 *hsub = drm_format_info_block_width(fb->format, color_plane) / in intel_fb_plane_get_subsampling() 938 drm_format_info_block_width(fb->format, main_plane); in intel_fb_plane_get_subsampling()
|