Home
last modified time | relevance | path

Searched refs:pixel_size (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h77 const struct drm_vmw_size *pixel_size, in vmw_surface_get_size_in_blocks() argument
80 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()
/linux/drivers/media/pci/mgb4/
H A Dmgb4_io.h44 static inline u32 pixel_size(struct v4l2_dv_timings *timings) in pixel_size() function
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c38 int pixel_size = bpp / 8; in linear_x_y_to_ftiled_pos() local
56 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()