Lines Matching refs:num_fences
512 for (i = 0; i < ggtt->num_fences; i++) in intel_ggtt_restore_fences()
842 int num_fences; in intel_ggtt_init_fences() local
851 num_fences = 0; in intel_ggtt_init_fences()
854 num_fences = 32; in intel_ggtt_init_fences()
858 num_fences = 16; in intel_ggtt_init_fences()
860 num_fences = 8; in intel_ggtt_init_fences()
863 num_fences = intel_uncore_read(uncore, in intel_ggtt_init_fences()
865 ggtt->fence_regs = kcalloc(num_fences, in intel_ggtt_init_fences()
869 num_fences = 0; in intel_ggtt_init_fences()
872 for (i = 0; i < num_fences; i++) { in intel_ggtt_init_fences()
880 ggtt->num_fences = num_fences; in intel_ggtt_init_fences()
889 for (i = 0; i < ggtt->num_fences; i++) { in intel_ggtt_fini_fences()