aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/tigerlake/graphics.c')
-rw-r--r--src/soc/intel/tigerlake/graphics.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/graphics.c b/src/soc/intel/tigerlake/graphics.c
new file mode 100644
index 0000000000..1696d52053
--- /dev/null
+++ b/src/soc/intel/tigerlake/graphics.c
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <intelblocks/graphics.h>
+#include <soc/ramstage.h>
+
+const struct i915_gpu_controller_info *
+intel_igd_get_controller_info(const struct device *const dev)
+{
+ const struct soc_intel_tigerlake_config *const chip = dev->chip_info;
+ return &chip->gfx;
+}