Home
last modified time | relevance | path

Searched refs:block_width (Results 1 – 14 of 14) sorted by relevance

/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() local
57 unsigned int bits_per_pixel = 8 / block_width; in gud_xrgb8888_to_r124()
67 rect->x1 = ALIGN_DOWN(rect->x1, block_width); in gud_xrgb8888_to_r124()
83 unsigned int pixpos = x % block_width; /* within byte from the left */ in gud_xrgb8888_to_r124()
84 unsigned int pixshift = (block_width - pixpos - 1) * bits_per_pixel; in gud_xrgb8888_to_r124()
105 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_color() local
106 unsigned int bits_per_pixel = 8 / block_width; in gud_xrgb8888_to_color()
114 rect->x1 = ALIGN_DOWN(rect->x1, block_width); in gud_xrgb8888_to_color()
123 unsigned int pixpos = x % block_width; /* within byte from the left */ in gud_xrgb8888_to_color()
124 unsigned int pixshift = (block_width - pixpos - 1) * bits_per_pixel; in gud_xrgb8888_to_color()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c972 unsigned int block_width, unsigned int block_height, in amdgpu_display_verify_plane() argument
980 unsigned int block_pitch = block_width * cpp; in amdgpu_display_verify_plane()
1026 unsigned int i, block_width, block_height, block_size_log2; in amdgpu_display_verify_sizes() local
1033 block_width = 256 / format_info->cpp[i]; in amdgpu_display_verify_sizes()
1059 &block_width, &block_height); in amdgpu_display_verify_sizes()
1086 &block_width, &block_height); in amdgpu_display_verify_sizes()
1090 block_width, block_height, block_size_log2); in amdgpu_display_verify_sizes()
1100 &block_width, &block_height); in amdgpu_display_verify_sizes()
1102 block_width, block_height, in amdgpu_display_verify_sizes()
1115 &block_width, &block_height); in amdgpu_display_verify_sizes()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c532 afbc_fb->block_width = 16; in drm_gem_afbc_min_size()
536 afbc_fb->block_width = 32; in drm_gem_afbc_min_size()
550 w_alignment = afbc_fb->block_width; in drm_gem_afbc_min_size()
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
H A Dia_css_sdis_common_types.h133 unsigned char block_width; member
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-css-params.c304 int block_width; member
347 unsigned int block_width; member
487 reso.block_width = IMGU_OSYS_BLOCK_WIDTH; in imgu_css_osys_calc_frame_and_stripe_params()
833 stripe_params[s].block_width = reso.block_width; in imgu_css_osys_calc_frame_and_stripe_params()
988 int block_width; in imgu_css_osys_calc() local
1013 osys->stripe[s].block_width = in imgu_css_osys_calc()
1014 stripe_params[s].block_width; in imgu_css_osys_calc()
1050 block_width = stripe_params[s].block_width; in imgu_css_osys_calc()
1053 block_width = IMGU_OSYS_BLOCK_WIDTH; in imgu_css_osys_calc()
1129 block_width); in imgu_css_osys_calc()
[all …]
H A Dipu3-css-fw.c212 if (bi->info.isp.sp.block.block_width <= 0 || in imgu_css_fw_init()
213 bi->info.isp.sp.block.block_width > BLOCK_MAX || in imgu_css_fw_init()
H A Dipu3-abi.h690 u32 block_width:3; member
869 u8 block_width; member
1046 u32 block_width; member
1623 u32 block_width; member
H A Dipu3-css.c1260 bi->info.isp.sp.block.block_width * in imgu_css_binary_setup()
/openbmc/linux/drivers/media/i2c/ccs/
H A Dccs-data.h173 u8 block_width; member
H A Dccs-data-defs.h212 u8 block_width; member
H A Dccs-data.c623 (*pdaf)->block_width = __pdaf->block_width; in ccs_data_parse_pdaf()
/openbmc/linux/include/drm/
H A Ddrm_framebuffer.h313 u32 block_width; member
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_acc_types.h196 u32 block_width; member
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr100.c2124 int block_width, block_height, block_bytes; in r100_track_compress_size() local
2129 block_width = 4; in r100_track_compress_size()
2145 wblocks = (w + block_width - 1) / block_width; in r100_track_compress_size()