Home
last modified time | relevance | path

Searched refs:drm_format_info_block_height (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/tests/
A Ddrm_format_test.c72 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 0), 0); in drm_test_format_block_height_invalid()
73 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, -1), 0); in drm_test_format_block_height_invalid()
74 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 1), 0); in drm_test_format_block_height_invalid()
83 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 0), 1); in drm_test_format_block_height_one_plane()
85 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 1), 0); in drm_test_format_block_height_one_plane()
94 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 0), 1); in drm_test_format_block_height_two_plane()
95 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 1), 1); in drm_test_format_block_height_two_plane()
96 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 2), 0); in drm_test_format_block_height_two_plane()
106 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 0), 1); in drm_test_format_block_height_three_plane()
107 KUNIT_EXPECT_EQ(test, drm_format_info_block_height(info, 1), 1); in drm_test_format_block_height_three_plane()
[all …]
/drivers/gpu/drm/vkms/
A Dvkms_formats.c47 int block_y = y / drm_format_info_block_height(format, plane_index); in packed_pixels_offset()
48 int block_pitch = fb->pitches[plane_index] * drm_format_info_block_height(format, in packed_pixels_offset()
51 *rem_y = y % drm_format_info_block_height(format, plane_index); in packed_pixels_offset()
136 WARN_ONCE(drm_format_info_block_height(frame_info->fb->format, in packed_pixels_addr_1x1()
317 WARN_ONCE(drm_format_info_block_height(plane->frame_info->fb->format, 0) != 1, in Rx_read_line()
/drivers/gpu/drm/
A Ddrm_fourcc.c472 unsigned int drm_format_info_block_height(const struct drm_format_info *info, in drm_format_info_block_height() function
482 EXPORT_SYMBOL(drm_format_info_block_height);
499 drm_format_info_block_height(info, plane)); in drm_format_info_bpp()
521 drm_format_info_block_height(info, plane)); in drm_format_info_min_pitch()
A Ddrm_fb_dma_helper.c81 u32 block_h = drm_format_info_block_height(fb->format, plane); in drm_fb_dma_get_gem_addr()
A Ddrm_fb_helper.c1260 (drm_format_info_block_height(format, 0) > 1)) in drm_fb_helper_check_var()
1698 (drm_format_info_block_height(format, 0) > 1)); in drm_fb_helper_fill_var()
/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_framebuffer.c132 block_h = drm_format_info_block_height(info, i); in komeda_fb_none_afbc_size_check()
215 u32 block_h = drm_format_info_block_height(fb->format, 0); in komeda_fb_check_src_coords()
/drivers/gpu/drm/arm/
A Dmalidp_planes.c520 if (((fb->pitches[i] * drm_format_info_block_height(fb->format, i)) in malidp_de_plane_check()
529 block_h = drm_format_info_block_height(fb->format, 0); in malidp_de_plane_check()
624 unsigned int block_h = drm_format_info_block_height(mp->base.state->fb->format, i); in malidp_de_set_plane_pitches()
/drivers/gpu/drm/arm/display/komeda/d71/
A Dd71_component.c200 block_h = drm_format_info_block_height(info, 1); in d71_layer_update_fb()
205 block_h = drm_format_info_block_height(info, 0); in d71_layer_update_fb()

Completed in 22 milliseconds