Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/
Ddrm_fb_cma_helper.c70 u32 block_h = drm_format_info_block_height(fb->format, plane); in drm_fb_cma_get_gem_addr() local
90 block_start_y = (sample_y / block_h) * block_h; in drm_fb_cma_get_gem_addr()
Ddrm_fourcc.c244 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info()
247 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info()
250 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info()
253 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info()
256 .char_per_block = { 2, 4, 0 }, .block_w = { 1, 0, 0 }, .block_h = { 1, 0, 0 }, in __drm_format_info()
259 .char_per_block = { 2, 4, 0 }, .block_w = { 1, 0, 0 }, .block_h = { 1, 0, 0 }, in __drm_format_info()
262 .char_per_block = { 2, 4, 0 }, .block_w = { 1, 0, 0 }, .block_h = { 1, 0, 0 }, in __drm_format_info()
266 .block_w = { 1, 0, 0 }, .block_h = { 1, 0, 0 }, .hsub = 2, in __drm_format_info()
369 if (!info->block_h[plane]) in drm_format_info_block_height()
371 return info->block_h[plane]; in drm_format_info_block_height()
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c118 u32 i, block_h; in komeda_fb_none_afbc_size_check() local
132 block_h = drm_format_info_block_height(info, i); in komeda_fb_none_afbc_size_check()
133 if ((fb->pitches[i] * block_h) % mdev->chip.bus_width) { in komeda_fb_none_afbc_size_check()
214 u32 block_h = drm_format_info_block_height(fb->format, 0); in komeda_fb_check_src_coords() local
229 (src_y % block_h) || (src_h % block_h)) { in komeda_fb_check_src_coords()
/Linux-v5.4/drivers/gpu/drm/arm/
Dmalidp_planes.c513 unsigned int block_w, block_h; in malidp_de_plane_check() local
539 block_h = drm_format_info_block_height(fb->format, 0); in malidp_de_plane_check()
540 if (fb->width % block_w || fb->height % block_h) { in malidp_de_plane_check()
544 if ((state->src_x >> 16) % block_w || (state->src_y >> 16) % block_h) { in malidp_de_plane_check()
634 unsigned int block_h = drm_format_info_block_height(mp->base.state->fb->format, i); in malidp_de_set_plane_pitches() local
636 malidp_hw_write(mp->hwdev, pitches[i] * block_h, in malidp_de_set_plane_pitches()
/Linux-v5.4/include/drm/
Ddrm_fourcc.h124 u8 block_h[3]; member
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c175 int block_h; in d71_layer_update_fb() local
181 block_h = drm_format_info_block_height(info, 1); in d71_layer_update_fb()
182 malidp_write32(reg, BLK_P1_STRIDE, fb->pitches[1] * block_h); in d71_layer_update_fb()
186 block_h = drm_format_info_block_height(info, 0); in d71_layer_update_fb()
187 malidp_write32(reg, BLK_P0_STRIDE, fb->pitches[0] * block_h); in d71_layer_update_fb()
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-common.c329 if (!info->block_h[plane]) in v4l2_format_block_height()
331 return info->block_h[plane]; in v4l2_format_block_height()
/Linux-v5.4/include/media/
Dv4l2-common.h478 u8 block_h[4]; member