Mesa (main): crocus: Add pipe loader driver

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jul 3 07:09:52 UTC 2021


Module: Mesa
Branch: main
Commit: e309d1a3a33f7f2c9d8a738d295db60e5f5f30b3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e309d1a3a33f7f2c9d8a738d295db60e5f5f30b3

Author: Zoltán Böszörményi <zboszor at gmail.com>
Date:   Fri Jul  2 11:04:13 2021 +0200

crocus:	Add pipe loader driver

Signed-off-by: Zoltán Böszörményi <zboszor at gmail.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11694>

---

 src/gallium/targets/pipe-loader/meson.build   | 1 +
 src/gallium/targets/pipe-loader/pipe_crocus.c | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/src/gallium/targets/pipe-loader/meson.build b/src/gallium/targets/pipe-loader/meson.build
index 7726bbcd93e..5e0ce239384 100644
--- a/src/gallium/targets/pipe-loader/meson.build
+++ b/src/gallium/targets/pipe-loader/meson.build
@@ -58,6 +58,7 @@ endif
 
 pipe_loaders = [
   [with_gallium_i915, 'i915', driver_i915, []],
+  [with_gallium_crocus, 'crocus', [driver_crocus, idep_xmlconfig], []],
   [with_gallium_iris, 'iris', [driver_iris, idep_xmlconfig], []],
   [with_gallium_nouveau, 'nouveau', driver_nouveau, []],
   [with_gallium_r300, 'r300', driver_r300, []],
diff --git a/src/gallium/targets/pipe-loader/pipe_crocus.c b/src/gallium/targets/pipe-loader/pipe_crocus.c
new file mode 100644
index 00000000000..1664939421e
--- /dev/null
+++ b/src/gallium/targets/pipe-loader/pipe_crocus.c
@@ -0,0 +1,5 @@
+#include "frontend/drm_driver.h"
+#include "target-helpers/drm_helper.h"
+#include "target-helpers/inline_debug_helper.h"
+#include "crocus/drm/crocus_drm_public.h"
+#include "util/driconf.h"



More information about the mesa-commit mailing list