Searched refs:block_width (Results 1 – 13 of 13) sorted by relevance
/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 56 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()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 973 unsigned int block_width, unsigned int block_height, in amdgpu_display_verify_plane() argument 981 unsigned int block_pitch = block_width * cpp; in amdgpu_display_verify_plane() 1027 unsigned int i, block_width, block_height, block_size_log2; in amdgpu_display_verify_sizes() local 1034 block_width = 256 / format_info->cpp[i]; in amdgpu_display_verify_sizes() 1063 &block_width, &block_height); in amdgpu_display_verify_sizes() 1067 block_width, block_height, block_size_log2); in amdgpu_display_verify_sizes() 1076 &block_width, &block_height); in amdgpu_display_verify_sizes() 1078 block_width, block_height, in amdgpu_display_verify_sizes() 1091 &block_width, &block_height); in amdgpu_display_verify_sizes() 1093 block_width, block_height, block_size_log2); in amdgpu_display_verify_sizes()
|
/drivers/gpu/drm/ |
D | drm_gem_framebuffer_helper.c | 532 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()
|
/drivers/staging/media/ipu3/ |
D | ipu3-css-params.c | 304 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() 490 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() 906 scaler->out_buf_y_line_stride = stripe_params[s].block_width / in imgu_css_osys_calc() 913 scaler->out_buf_uv_line_stride = stripe_params[s].block_width / in imgu_css_osys_calc() 926 scaler->int_buf_chunk_height = stripe_params[s].block_width; in imgu_css_osys_calc() 988 int block_width; in imgu_css_osys_calc() local 1013 osys->stripe[s].block_width = in imgu_css_osys_calc() [all …]
|
D | ipu3-css-fw.c | 212 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()
|
D | ipu3-abi.h | 690 u32 block_width:3; member 869 u8 block_width; member 1046 u32 block_width; member 1623 u32 block_width; member
|
D | ipu3-css.c | 1260 bi->info.isp.sp.block.block_width * in imgu_css_binary_setup()
|
/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/ |
D | ia_css_sdis_common_types.h | 133 unsigned char block_width; member
|
/drivers/media/i2c/ccs/ |
D | ccs-data.h | 173 u8 block_width; member
|
D | ccs-data-defs.h | 212 u8 block_width; member
|
D | ccs-data.c | 623 (*pdaf)->block_width = __pdaf->block_width; in ccs_data_parse_pdaf()
|
/drivers/staging/media/atomisp/pci/ |
D | ia_css_acc_types.h | 196 u32 block_width; member
|
/drivers/gpu/drm/radeon/ |
D | r100.c | 2104 int block_width, block_height, block_bytes; in r100_track_compress_size() local 2109 block_width = 4; in r100_track_compress_size() 2125 wblocks = (w + block_width - 1) / block_width; in r100_track_compress_size()
|