Searched refs:pixel_size (Results 1 – 5 of 5) sorted by relevance
71 const struct drm_vmw_size *pixel_size, in vmw_surface_get_size_in_blocks() argument74 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()76 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks()78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
242 size_t line_width, pixel_size = sizeof(struct pixel_argb_u16); in compose_active_planes() local264 stage_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()270 output_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()278 &output_buffer, line_width * pixel_size); in compose_active_planes()
35 int pixel_size = bpp / 8; in linear_x_y_to_ftiled_pos() local53 x *= pixel_size; in linear_x_y_to_ftiled_pos()78 GEM_BUG_ON(!IS_ALIGNED(pos, pixel_size)); in linear_x_y_to_ftiled_pos()80 return pos / pixel_size * 4; in linear_x_y_to_ftiled_pos()
42 if (dssdev->ctrl.pixel_size == 24) in omapdss_default_get_recommended_bpp()
639 u8 pixel_size; member