From 529ace788762e91165f11942ea39305116b64c7a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 25 Apr 2019 17:33:36 -0700 Subject: [PATCH] iris: Silence unused function warning --- src/gallium/drivers/iris/iris_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 6802cb22d11..04766716bc0 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -653,7 +653,7 @@ iris_emit_default_l3_config(struct iris_batch *batch, iris_emit_l3_config(batch, cfg, has_slm, wants_dc_cache); } -#if GEN_GEN >= 9 +#if GEN_GEN == 9 || GEN_GEN == 10 static void iris_enable_obj_preemption(struct iris_batch *batch, bool enable) { -- 2.30.2