summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-12 18:39:08 -0700
committerEric Anholt <[email protected]>2017-10-17 13:41:59 -0700
commit1918c9b1627d5403e2efbffa03441c4b7d61a63e (patch)
tree780c115b218f47fd4b39d065036e698b53f9c080 /src/gallium/targets
parent1ae8018a6af81eec4832a57d9d0346aa3dd98d28 (diff)
meson: Add support for the pl111 driver.
Reviewed-by: Dylan Baker <[email protected]>
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 02ea2e26bcd..fd758e1b60a 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -51,6 +51,11 @@ if with_gallium_drisw_kms
gallium_dri_link_with += libswkmsdri
endif
+if with_gallium_pl111
+ gallium_dri_c_args += '-DGALLIUM_PL111'
+ gallium_dri_link_with += [libpl111winsys]
+ gallium_dri_drivers += 'pl111_dri.so'
+endif
if with_gallium_radeonsi
gallium_dri_c_args += '-DGALLIUM_RADEONSI'
gallium_dri_link_with += [