summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/gma.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/gma/gma.h')
-rw-r--r--src/drivers/intel/gma/gma.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/gma.h b/src/drivers/intel/gma/gma.h
new file mode 100644
index 0000000000..7d20e6beff
--- /dev/null
+++ b/src/drivers/intel/gma/gma.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
+
+#ifndef _GMA_H_
+#define _GMA_H_
+
+#include <stdint.h>
+
+struct i915_gpu_controller_info {
+ int use_spread_spectrum_clock;
+ int ndid;
+ u32 did[5];
+};
+
+#define GMA_STATIC_DISPLAYS(ssc) { \
+ .use_spread_spectrum_clock = (ssc), \
+ .ndid = 3, .did = { 0x0100, 0x0240, 0x0410, } \
+}
+
+void drivers_intel_gma_displays_ssdt_generate(const struct i915_gpu_controller_info *conf);
+
+#endif