summaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/alderlake/graphics.c')
-rw-r--r--src/soc/intel/alderlake/graphics.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/graphics.c b/src/soc/intel/alderlake/graphics.c
new file mode 100644
index 0000000000..f2c792c0d8
--- /dev/null
+++ b/src/soc/intel/alderlake/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_alderlake_config *const chip = dev->chip_info;
+ return &chip->gfx;
+}