Searched refs:max_slice (Results 1 – 2 of 2) sorted by relevance
286 uint16_t max_slice, d; in zs_get_gen6_depth_slices() local303 max_slice = (ilo_dev_gen(dev) >= ILO_GEN(7)) ? 2048 : 512; in zs_get_gen6_depth_slices()305 assert(img->array_size <= max_slice); in zs_get_gen6_depth_slices()306 max_slice = img->array_size; in zs_get_gen6_depth_slices()323 max_slice = 2048; in zs_get_gen6_depth_slices()325 assert(img->depth0 <= max_slice); in zs_get_gen6_depth_slices()326 max_slice = u_minify(img->depth0, info->level); in zs_get_gen6_depth_slices()337 info->slice_base + info->slice_count > max_slice) { in zs_get_gen6_depth_slices()
571 uint16_t max_slice, d; in surface_get_gen6_image_slices() local611 max_slice = (ilo_dev_gen(dev) >= ILO_GEN(7.5)) ? 2048 : 512; in surface_get_gen6_image_slices()613 assert(info->img->array_size <= max_slice); in surface_get_gen6_image_slices()614 max_slice = info->img->array_size; in surface_get_gen6_image_slices()648 max_slice = 2048; in surface_get_gen6_image_slices()650 assert(info->img->depth0 <= max_slice); in surface_get_gen6_image_slices()651 max_slice = u_minify(info->img->depth0, info->level_base); in surface_get_gen6_image_slices()667 info->slice_base + info->slice_count > max_slice) { in surface_get_gen6_image_slices()