Home
last modified time | relevance | path

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

/linux-6.14.4/drivers/gpu/drm/tests/
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()
41 KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0); in drm_test_format_block_width_two_plane()
[all …]
/linux-6.14.4/drivers/gpu/drm/vkms/
Dvkms_formats.c44 int block_x = x / drm_format_info_block_width(format, plane_index); in packed_pixels_offset()
48 *rem_x = x % drm_format_info_block_width(format, plane_index); in packed_pixels_offset()
104 return (int)fb->pitches[plane_index] * drm_format_info_block_width(fb->format, in get_block_step_bytes()
107 return -(int)fb->pitches[plane_index] * drm_format_info_block_width(fb->format, in get_block_step_bytes()
131 WARN_ONCE(drm_format_info_block_width(frame_info->fb->format, in packed_pixels_addr_1x1()
/linux-6.14.4/drivers/gpu/drm/
Ddrm_fourcc.c415 unsigned int drm_format_info_block_width(const struct drm_format_info *info, in drm_format_info_block_width() function
425 EXPORT_SYMBOL(drm_format_info_block_width);
461 (drm_format_info_block_width(info, plane) * in drm_format_info_bpp()
483 drm_format_info_block_width(info, plane) * in drm_format_info_min_pitch()
Ddrm_fb_dma_helper.c78 u32 block_w = drm_format_info_block_width(fb->format, plane); in drm_fb_dma_get_gem_addr()
Ddrm_fb_helper.c1250 if ((drm_format_info_block_width(format, 0) > 1) || in drm_fb_helper_check_var()
1688 WARN_ON((drm_format_info_block_width(format, 0) > 1) || in drm_fb_helper_fill_var()
/linux-6.14.4/drivers/gpu/drm/arm/display/komeda/
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()
/linux-6.14.4/include/drm/
Ddrm_fourcc.h317 unsigned int drm_format_info_block_width(const struct drm_format_info *info,
/linux-6.14.4/drivers/gpu/drm/gud/
Dgud_pipe.c57 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_r124()
106 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_color()
/linux-6.14.4/drivers/gpu/drm/arm/
Dmalidp_planes.c528 block_w = drm_format_info_block_width(fb->format, 0); in malidp_de_plane_check()
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_fb.c929 *hsub = drm_format_info_block_width(fb->format, color_plane) / in intel_fb_plane_get_subsampling()
930 drm_format_info_block_width(fb->format, main_plane); in intel_fb_plane_get_subsampling()