aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 595fd0a1a54..4dbda07449a 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -108,6 +108,11 @@ if with_gallium_imx
gallium_dri_link_with += libimxdrm
gallium_dri_drivers += 'imx-drm_dri.so'
endif
+if with_gallium_i915
+ gallium_dri_c_args += '-DGALLIUM_I915'
+ gallium_dri_link_with += [libi915, libi915drm]
+ gallium_dri_drivers += 'i915_dri.so'
+endif
if with_gallium_vc4 or with_gallium_vc5
gallium_dri_link_with += libbroadcom_cle