Searched refs:pixel_size (Results 1 – 3 of 3) sorted by relevance
77 const struct drm_vmw_size *pixel_size, in vmw_surface_get_size_in_blocks() argument80 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()82 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks()84 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
44 static inline u32 pixel_size(struct v4l2_dv_timings *timings) in pixel_size() function
38 int pixel_size = bpp / 8; in linear_x_y_to_ftiled_pos() local56 x *= pixel_size; in linear_x_y_to_ftiled_pos()81 GEM_BUG_ON(!IS_ALIGNED(pos, pixel_size)); in linear_x_y_to_ftiled_pos()83 return pos / pixel_size * 4; in linear_x_y_to_ftiled_pos()