From d9adb55a4d855ad871cdfa3b4a892d9f93ae6e6b Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 10 Aug 2020 18:33:46 -0500 Subject: [PATCH] iris: Add pipe-loader support Reviewed-by: Kenneth Graunke Reviewed-by: Francisco Jerez Part-of: --- src/gallium/targets/pipe-loader/meson.build | 1 + src/gallium/targets/pipe-loader/pipe_iris.c | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 src/gallium/targets/pipe-loader/pipe_iris.c diff --git a/src/gallium/targets/pipe-loader/meson.build b/src/gallium/targets/pipe-loader/meson.build index 65f782f45ed..7726bbcd93e 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_iris, 'iris', [driver_iris, idep_xmlconfig], []], [with_gallium_nouveau, 'nouveau', driver_nouveau, []], [with_gallium_r300, 'r300', driver_r300, []], [with_gallium_r600, 'r600', driver_r600, []], diff --git a/src/gallium/targets/pipe-loader/pipe_iris.c b/src/gallium/targets/pipe-loader/pipe_iris.c new file mode 100644 index 00000000000..d7e85a0b6c2 --- /dev/null +++ b/src/gallium/targets/pipe-loader/pipe_iris.c @@ -0,0 +1,5 @@ +#include "frontend/drm_driver.h" +#include "target-helpers/drm_helper.h" +#include "target-helpers/inline_debug_helper.h" +#include "iris/drm/iris_drm_public.h" +#include "util/driconf.h"