summaryrefslogtreecommitdiffstats
path: root/src/gallium/meson.build
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-01-29 05:46:07 +0000
committerAlyssa Rosenzweig <[email protected]>2019-02-05 01:19:30 +0000
commit61d3ae6e0bde93c5601278d1a60c44be655a7cb5 (patch)
treec0c23980f21110a1459db40e18b06edb92d87ded /src/gallium/meson.build
parent742d6cdb42e5570a3a74005f18bb89208069d01f (diff)
panfrost: Initial stub for Panfrost driver
This patch adds an initial stub for the Gallium driver, containing simple screen functions and the majority of the driver headers but no actual functionality. It further adds the winsys glue for linking in this stub driver via kmsro on Rockchip/Amlogic boards. Signed-off-by: Alyssa Rosenzweig <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Acked-by: Rob Clark <[email protected]> Acked-by: Eric Anholt <[email protected]> Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/meson.build')
-rw-r--r--src/gallium/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build
index 5e311217cfe..1626cd524fe 100644
--- a/src/gallium/meson.build
+++ b/src/gallium/meson.build
@@ -89,6 +89,12 @@ if with_gallium_vc4
else
driver_vc4 = declare_dependency()
endif
+if with_gallium_panfrost
+ subdir('winsys/panfrost/drm')
+ subdir('drivers/panfrost')
+else
+ driver_panfrost = declare_dependency()
+endif
if with_gallium_etnaviv
subdir('winsys/etnaviv/drm')
subdir('drivers/etnaviv')