Lines Matching refs:ISL_DEV_GEN
57 dev->use_separate_stencil = ISL_DEV_GEN(dev) >= 6; in isl_device_init()
131 if (ISL_DEV_GEN(dev) >= 9) { in isl_device_get_sample_counts()
137 } else if (ISL_DEV_GEN(dev) >= 8) { in isl_device_get_sample_counts()
142 } else if (ISL_DEV_GEN(dev) >= 7) { in isl_device_get_sample_counts()
146 } else if (ISL_DEV_GEN(dev) >= 6) { in isl_device_get_sample_counts()
344 if (ISL_DEV_GEN(dev) >= 6) { in isl_surf_choose_tiling()
390 if (ISL_DEV_GEN(dev) >= 8) { in isl_choose_msaa_layout()
392 } else if (ISL_DEV_GEN(dev) >= 7) { in isl_choose_msaa_layout()
394 } else if (ISL_DEV_GEN(dev) >= 6) { in isl_choose_msaa_layout()
442 if (ISL_DEV_GEN(dev) >= 8) { in isl_choose_array_pitch_span()
463 } else if (ISL_DEV_GEN(dev) >= 7) { in isl_choose_array_pitch_span()
496 } else if ((ISL_DEV_GEN(dev) == 5 || ISL_DEV_GEN(dev) == 6) && in isl_choose_array_pitch_span()
508 if ((ISL_DEV_GEN(dev) == 5 || ISL_DEV_GEN(dev) == 6) && in isl_choose_array_pitch_span()
573 assert(ISL_DEV_GEN(dev) >= 6); in isl_choose_image_alignment_el()
574 if (ISL_DEV_GEN(dev) == 6) { in isl_choose_image_alignment_el()
586 if (ISL_DEV_GEN(dev) >= 9) { in isl_choose_image_alignment_el()
589 } else if (ISL_DEV_GEN(dev) >= 8) { in isl_choose_image_alignment_el()
592 } else if (ISL_DEV_GEN(dev) >= 7) { in isl_choose_image_alignment_el()
595 } else if (ISL_DEV_GEN(dev) >= 6) { in isl_choose_image_alignment_el()
611 if (ISL_DEV_GEN(dev) == 6 && in isl_surf_choose_dim_layout()
615 if (ISL_DEV_GEN(dev) >= 9) { in isl_surf_choose_dim_layout()
651 if (ISL_DEV_GEN(dev) == 4 && (usage & ISL_SURF_USAGE_CUBE_BIT)) in isl_surf_choose_dim_layout()
705 if (ISL_DEV_GEN(dev) == 4 && (info->usage & ISL_SURF_USAGE_CUBE_BIT)) in isl_calc_phys_level0_extent_sa()
778 assert(ISL_DEV_GEN(dev) >= 9); in isl_calc_phys_level0_extent_sa()
789 assert(ISL_DEV_GEN(dev) < 9); in isl_calc_phys_level0_extent_sa()
835 if (ISL_DEV_GEN(dev) >= 7) { in isl_calc_array_pitch_el_rows_gen4_2d()
844 if (ISL_DEV_GEN(dev) == 6 && info->samples > 1 && in isl_calc_array_pitch_el_rows_gen4_2d()
867 if (ISL_DEV_GEN(dev) >= 9 && fmtl->txc == ISL_TXC_CCS) { in isl_calc_array_pitch_el_rows_gen4_2d()
890 if (ISL_DEV_GEN(dev) >= 9 && in isl_calc_array_pitch_el_rows_gen4_2d()
1035 assert(ISL_DEV_GEN(dev) == 4); in isl_calc_phys_total_extent_el_gen4_3d()
1495 if (ISL_DEV_GEN(dev) < 9) { in isl_surf_init_s()
1556 assert(ISL_DEV_GEN(dev) >= 5 && ISL_DEV_USE_SEPARATE_STENCIL(dev)); in isl_surf_get_hiz_surf()
1617 const unsigned samples = ISL_DEV_GEN(dev) >= 9 ? 1 : surf->samples; in isl_surf_get_hiz_surf()
1685 assert(ISL_DEV_GEN(dev) >= 7); in isl_surf_get_ccs_surf()
1694 if (ISL_DEV_GEN(dev) <= 8 && surf->dim != ISL_SURF_DIM_2D) in isl_surf_get_ccs_surf()
1710 if (ISL_DEV_GEN(dev) <= 7 && in isl_surf_get_ccs_surf()
1720 if (ISL_DEV_GEN(dev) >= 9) { in isl_surf_get_ccs_surf()
1766 switch (ISL_DEV_GEN(dev)) { \
2290 assert(ISL_DEV_GEN(dev) < 7); in isl_surf_get_depth_format()
2296 assert(ISL_DEV_GEN(dev) < 7); in isl_surf_get_depth_format()
2303 assert(ISL_DEV_GEN(dev) < 7); in isl_surf_get_depth_format()
2306 assert(ISL_DEV_GEN(dev) >= 5); in isl_surf_get_depth_format()