Home
last modified time | relevance | path

Searched refs:drm_format_info_block_width (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_format_test.c16 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()
50 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1); in drm_test_format_block_width_three_plane()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_fourcc.c379 unsigned int drm_format_info_block_width(const struct drm_format_info *info, in drm_format_info_block_width() function
389 EXPORT_SYMBOL(drm_format_info_block_width);
425 (drm_format_info_block_width(info, plane) * in drm_format_info_bpp()
447 drm_format_info_block_width(info, plane) * in drm_format_info_min_pitch()
H A Ddrm_fb_dma_helper.c77 u32 block_w = drm_format_info_block_width(fb->format, plane); in drm_fb_dma_get_gem_addr()
H A Ddrm_fb_helper.c1243 if ((drm_format_info_block_width(format, 0) > 1) || in drm_fb_helper_check_var()
1713 WARN_ON((drm_format_info_block_width(format, 0) > 1) || in drm_fb_helper_fill_var()
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_framebuffer.c213 u32 block_w = drm_format_info_block_width(fb->format, 0); in komeda_fb_check_src_coords()
254 block_w = drm_format_info_block_width(fb->format, plane); in komeda_fb_get_pixel_addr()
/openbmc/linux/include/drm/
H A Ddrm_fourcc.h315 unsigned int drm_format_info_block_width(const struct drm_format_info *info,
/openbmc/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c56 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()
/openbmc/linux/drivers/gpu/drm/arm/
H A Dmalidp_planes.c528 block_w = drm_format_info_block_width(fb->format, 0); in malidp_de_plane_check()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c876 *hsub = drm_format_info_block_width(fb->format, color_plane) / in intel_fb_plane_get_subsampling()
877 drm_format_info_block_width(fb->format, main_plane); in intel_fb_plane_get_subsampling()