aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/apple/hybrid_graphics/hybrid_graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/apple/hybrid_graphics/hybrid_graphics.h')
-rw-r--r--src/drivers/apple/hybrid_graphics/hybrid_graphics.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/drivers/apple/hybrid_graphics/hybrid_graphics.h b/src/drivers/apple/hybrid_graphics/hybrid_graphics.h
new file mode 100644
index 0000000000..af2d56d528
--- /dev/null
+++ b/src/drivers/apple/hybrid_graphics/hybrid_graphics.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _DRIVERS_APPLE_HYBRID_GRAPHICS_H_
+#define _DRIVERS_APPLE_HYBRID_GRAPHICS_H_
+
+#define HYBRID_GRAPHICS_PORT 0xff
+#define HYBRID_GRAPHICS_DEVICE 0xf
+
+void early_hybrid_graphics(bool *enable_igd, bool *enable_peg);
+
+#endif /* _DRIVERS_APPLE_HYBRID_GRAPHICS_CHIP_H_ */