Lines Matching refs:tile_width

643 			    unsigned int *tile_width,  in intel_tile_dims()  argument
649 *tile_width = tile_width_bytes / cpp; in intel_tile_dims()
659 unsigned int *tile_width, in intel_tile_block_dims() argument
662 intel_tile_dims(fb, color_plane, tile_width, tile_height); in intel_tile_block_dims()
670 unsigned int tile_width, tile_height; in intel_tile_row_size() local
672 intel_tile_dims(fb, color_plane, &tile_width, &tile_height); in intel_tile_row_size()
856 unsigned int tile_width, in intel_adjust_tile_offset() argument
863 unsigned int pitch_pixels = pitch_tiles * tile_width; in intel_adjust_tile_offset()
873 *x += tiles % pitch_tiles * tile_width; in intel_adjust_tile_offset()
909 unsigned int tile_size, tile_width, tile_height; in intel_adjust_aligned_offset() local
913 intel_tile_dims(fb, color_plane, &tile_width, &tile_height); in intel_adjust_aligned_offset()
917 swap(tile_width, tile_height); in intel_adjust_aligned_offset()
919 pitch_tiles = pitch / (tile_width * cpp); in intel_adjust_aligned_offset()
922 intel_adjust_tile_offset(x, y, tile_width, tile_height, in intel_adjust_aligned_offset()
974 unsigned int tile_size, tile_width, tile_height; in intel_compute_aligned_offset() local
978 intel_tile_dims(fb, color_plane, &tile_width, &tile_height); in intel_compute_aligned_offset()
982 swap(tile_width, tile_height); in intel_compute_aligned_offset()
984 pitch_tiles = pitch / (tile_width * cpp); in intel_compute_aligned_offset()
990 tiles = *x / tile_width; in intel_compute_aligned_offset()
991 *x %= tile_width; in intel_compute_aligned_offset()
999 intel_adjust_tile_offset(x, y, tile_width, tile_height, in intel_compute_aligned_offset()
1092 int tile_width, tile_height; in intel_fb_check_ccs_xy() local
1104 intel_tile_block_dims(fb, ccs_plane, &tile_width, &tile_height); in intel_fb_check_ccs_xy()
1107 tile_width *= hsub; in intel_fb_check_ccs_xy()
1110 ccs_x = (x * hsub) % tile_width; in intel_fb_check_ccs_xy()
1114 main_x = intel_fb->normal_view.color_plane[main_plane].x % tile_width; in intel_fb_check_ccs_xy()
1274 unsigned int tile_width, tile_height; member
1284 intel_tile_dims(&fb->base, color_plane, &dims->tile_width, &dims->tile_height); in init_plane_view_dims()
1292 dims->tile_width * fb->base.format->cpp[color_plane]); in plane_view_src_stride_tiles()
1312 unsigned int tile_width, in plane_view_scanout_stride() argument
1322 return stride_tiles * tile_width * fb->base.format->cpp[color_plane]; in plane_view_scanout_stride()
1330 return DIV_ROUND_UP(x + dims->width, dims->tile_width); in plane_view_width_tiles()
1374 unsigned int tile_width = dims->tile_width; in calc_plane_remap_info() local
1408 remap_info->width * tile_width, in calc_plane_remap_info()
1421 swap(tile_width, tile_height); in calc_plane_remap_info()
1449 tile_width * in calc_plane_remap_info()
1452 plane_view_scanout_stride(fb, color_plane, tile_width, in calc_plane_remap_info()
1472 tile_width, tile_height, in calc_plane_remap_info()
1707 u32 tile_width; in intel_fb_stride_alignment() local
1725 tile_width = intel_tile_width_bytes(fb, color_plane); in intel_fb_stride_alignment()
1732 tile_width *= 4; in intel_fb_stride_alignment()
1744 tile_width *= 4; in intel_fb_stride_alignment()
1746 return tile_width; in intel_fb_stride_alignment()