Lines Matching refs:pdevice
869 const struct radv_physical_device *pdevice = device->physical_device; in radv_postprocess_config() local
884 assert((pdevice->rad_info.chip_class >= GFX10 && num_shared_vgprs % 8 == 0) in radv_postprocess_config()
885 || (pdevice->rad_info.chip_class < GFX10 && num_shared_vgprs == 0)); in radv_postprocess_config()
905 if (!pdevice->use_ngg_streamout) { in radv_postprocess_config()
918 if (pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config()
928 config_out->rsrc1 |= S_00B228_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
932 assert(pdevice->rad_info.chip_class <= GFX8); in radv_postprocess_config()
941 config_out->rsrc1 |= S_00B128_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
948 if (pdevice->rad_info.chip_class >= GFX9) { in radv_postprocess_config()
953 if (pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config()
966 config_out->rsrc1 |= S_00B428_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10) | in radv_postprocess_config()
967 S_00B848_WGP_MODE(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
972 config_out->rsrc1 |= S_00B228_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
974 assert(pdevice->rad_info.chip_class <= GFX8); in radv_postprocess_config()
981 assert(pdevice->rad_info.chip_class <= GFX8); in radv_postprocess_config()
989 if (info->vs.needs_instance_id && pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config()
999 config_out->rsrc1 |= S_00B128_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1005 config_out->rsrc1 |= S_00B028_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1011 config_out->rsrc1 |= S_00B228_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10) | in radv_postprocess_config()
1012 S_00B848_WGP_MODE(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1017 config_out->rsrc1 |= S_00B848_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10) | in radv_postprocess_config()
1018 S_00B848_WGP_MODE(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config()
1036 if (pdevice->rad_info.chip_class >= GFX10 && info->is_ngg && in radv_postprocess_config()
1069 } else if (pdevice->rad_info.chip_class >= GFX9 && in radv_postprocess_config()
1077 es_vgpr_comp_cnt = pdevice->rad_info.chip_class >= GFX10 ? 3 : 1; in radv_postprocess_config()
1103 } else if (pdevice->rad_info.chip_class >= GFX9 && in radv_postprocess_config()