summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-04-25 17:33:36 -0700
committerKenneth Graunke <[email protected]>2019-04-25 17:33:56 -0700
commit529ace788762e91165f11942ea39305116b64c7a (patch)
treec59117797b7dc38e7924bb32f8a8b9e588804bb2 /src
parentc5f65bfe6c9b82925d65ba677664cfc063a9b96c (diff)
iris: Silence unused function warning
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_state.c2
1 files changed, 1 insertions, 1 deletions
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)
{