Lines Matching refs:num_fences
510 for (i = 0; i < ggtt->num_fences; i++) in intel_ggtt_restore_fences()
840 int num_fences; in intel_ggtt_init_fences() local
849 num_fences = 0; in intel_ggtt_init_fences()
852 num_fences = 32; in intel_ggtt_init_fences()
856 num_fences = 16; in intel_ggtt_init_fences()
858 num_fences = 8; in intel_ggtt_init_fences()
861 num_fences = intel_uncore_read(uncore, in intel_ggtt_init_fences()
863 ggtt->fence_regs = kcalloc(num_fences, in intel_ggtt_init_fences()
867 num_fences = 0; in intel_ggtt_init_fences()
870 for (i = 0; i < num_fences; i++) { in intel_ggtt_init_fences()
878 ggtt->num_fences = num_fences; in intel_ggtt_init_fences()
887 for (i = 0; i < ggtt->num_fences; i++) { in intel_ggtt_fini_fences()