Home
last modified time | relevance | path

Searched refs:byte_per_pixel (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/staging/sm750fb/
H A Dsm750_accel.c306 u32 byte_per_pixel, u32 dx, u32 dy, u32 width, in sm750_hw_imageblit() argument
344 ((dest_pitch / byte_per_pixel << DE_PITCH_DESTINATION_SHIFT) & in sm750_hw_imageblit()
346 (dest_pitch / byte_per_pixel & DE_PITCH_SOURCE_MASK)); /* dpr10 */ in sm750_hw_imageblit()
354 ((dest_pitch / byte_per_pixel << DE_WINDOW_WIDTH_DST_SHIFT) & in sm750_hw_imageblit()
356 (dest_pitch / byte_per_pixel & DE_WINDOW_WIDTH_SRC_MASK)); in sm750_hw_imageblit()
H A Dsm750_accel.h229 * @byte_per_pixel: Color depth of destination surface
240 u32 byte_per_pixel, u32 dx, u32 dy, u32 width,
H A Dsm750.h68 u32 byte_per_pixel, u32 dx, u32 dy, u32 width,
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_utils.h23 …_core_utils_get_tile_block_size_bytes(enum dml2_swizzle_mode sw_mode, unsigned int byte_per_pixel);
24 …ils_get_segment_horizontal_contiguous(enum dml2_swizzle_mode sw_mode, unsigned int byte_per_pixel);
H A Ddml2_core_utils.c429 …2_core_utils_get_tile_block_size_bytes(enum dml2_swizzle_mode sw_mode, unsigned int byte_per_pixel) in dml2_core_utils_get_tile_block_size_bytes() argument
461 …tils_get_segment_horizontal_contiguous(enum dml2_swizzle_mode sw_mode, unsigned int byte_per_pixel) in dml2_core_utils_get_segment_horizontal_contiguous() argument
463 return (byte_per_pixel != 2); in dml2_core_utils_get_segment_horizontal_contiguous()
H A Ddml2_core_dcn6_calcs_dchub.c218 static unsigned int calculate_tile_aligned_size(unsigned int copy_width, unsigned int copy_height, unsigned int tile_width, unsigned int tile_height, unsigned int byte_per_pixel) in calculate_max_mem_size_per_plane_per_dpp()
223 return (unsigned int)math_ceil2(mem_width * mem_height * byte_per_pixel, 256); in calculate_max_mem_size_per_plane_per_dpp()
245 unsigned int byte_per_pixel = chroma ? p->BytePerPixelC[plane_idx] : p->BytePerPixelY[plane_idx]; in calculate_max_mem_size_per_plane_per_dpp()
267 return calculate_tile_aligned_size(copy_width, copy_height, tile_width, tile_height, byte_per_pixel); in calculate_ub_copy_size_per_plane_per_dpp()
294 unsigned int byte_per_pixel = chroma ? p->BytePerPixelC[plane_idx] : p->BytePerPixelY[plane_idx]; in calculate_alt_copy_time_us()
296 return (unsigned int)math_ceil2(copy_width * copy_height * byte_per_pixel, 256); in calculate_alt_copy_time_us()
228 unsigned int byte_per_pixel = chroma ? p->BytePerPixelC[plane_idx] : p->BytePerPixelY[plane_idx]; calculate_max_mem_size_per_plane_per_dpp() local
275 unsigned int byte_per_pixel = chroma ? p->BytePerPixelC[plane_idx] : p->BytePerPixelY[plane_idx]; calculate_ub_copy_size_per_plane_per_dpp() local