/linux/drivers/gpu/drm/ |
A D | drm_fourcc.c | 227 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info() 230 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info() 233 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info() 236 .char_per_block = { 8, 0, 0 }, .block_w = { 2, 0, 0 }, .block_h = { 2, 0, 0 }, in __drm_format_info() 239 .char_per_block = { 2, 4, 0 }, .block_w = { 1, 1, 0 }, .block_h = { 1, 1, 0 }, in __drm_format_info() 249 .block_w = { 1, 1, 0 }, .block_h = { 1, 1, 0 }, .hsub = 2, in __drm_format_info() 262 .block_w = { 4, 2, 0 }, .block_h = { 1, 1, 0 }, .hsub = 2, in __drm_format_info() 266 .block_w = { 1, 1, 1 }, .block_h = { 1, 1, 1 }, .hsub = 0, in __drm_format_info() 270 .block_w = { 1, 1, 1 }, .block_h = { 1, 1, 1 }, .hsub = 0, in __drm_format_info() 364 if (!info->block_h[plane]) in drm_format_info_block_height() [all …]
|
A D | drm_fb_cma_helper.c | 73 u32 block_h = drm_format_info_block_height(fb->format, plane); in drm_fb_cma_get_gem_addr() local 93 block_start_y = (sample_y / block_h) * block_h; in drm_fb_cma_get_gem_addr()
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
A D | komeda_framebuffer.c | 118 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/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_display.c | 540 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 544 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 547 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 550 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 557 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 560 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 572 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 575 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 578 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 585 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, [all …]
|
/linux/drivers/gpu/drm/arm/ |
A D | malidp_planes.c | 515 unsigned int block_w, block_h; in malidp_de_plane_check() local 541 block_h = drm_format_info_block_height(fb->format, 0); in malidp_de_plane_check() 542 if (fb->width % block_w || fb->height % block_h) { in malidp_de_plane_check() 546 if ((new_plane_state->src_x >> 16) % block_w || (new_plane_state->src_y >> 16) % block_h) { in malidp_de_plane_check() 636 unsigned int block_h = drm_format_info_block_height(mp->base.state->fb->format, i); in malidp_de_set_plane_pitches() local 638 malidp_hw_write(mp->hwdev, pitches[i] * block_h, in malidp_de_set_plane_pitches()
|
/linux/include/drm/ |
A D | drm_fourcc.h | 129 u8 block_h[DRM_FORMAT_MAX_PLANES]; member
|
/linux/drivers/gpu/drm/arm/display/komeda/d71/ |
A D | d71_component.c | 192 int block_h; in d71_layer_update_fb() local 198 block_h = drm_format_info_block_height(info, 1); in d71_layer_update_fb() 199 malidp_write32(reg, BLK_P1_STRIDE, fb->pitches[1] * block_h); in d71_layer_update_fb() 203 block_h = drm_format_info_block_height(info, 0); in d71_layer_update_fb() 204 malidp_write32(reg, BLK_P0_STRIDE, fb->pitches[0] * block_h); in d71_layer_update_fb()
|
/linux/drivers/gpu/drm/gud/ |
A D | gud_drv.c | 39 .block_h = { 1, 0, 0 }, 49 .block_h = { 1, 0, 0 },
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-common.c | 334 if (!info->block_h[plane]) in v4l2_format_block_height() 336 return info->block_h[plane]; in v4l2_format_block_height()
|
/linux/include/media/ |
A D | v4l2-common.h | 496 u8 block_h[4]; member
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_display.c | 941 .char_per_block = { 4, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 944 .char_per_block = { 4, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 947 .char_per_block = { 4, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 950 .char_per_block = { 4, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 953 .char_per_block = { 2, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 956 .char_per_block = { 2, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 959 .char_per_block = { 2, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 962 .char_per_block = { 2, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 965 .char_per_block = { 4, 1 }, .block_w = { 1, 2 }, .block_h = { 1, 1 }, 987 .char_per_block = { 4, 1, 0 }, .block_w = { 1, 2, 2 }, .block_h = { 1, 1, 1 }, [all …]
|