static void layout_init_walk(struct ilo_layout *layout, struct ilo_layout_params *params) { if (ilo_dev_gen(params->dev) >= ILO_GEN(7)) layout_init_walk_gen7(layout, params); else layout_init_walk_gen6(layout, params); }
static void layout_init_walk(struct intel_layout *layout, struct intel_layout_params *params) { if (intel_gpu_gen(params->gpu) >= INTEL_GEN(7)) layout_init_walk_gen7(layout, params); else layout_init_walk_gen6(layout, params); }