You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -73,18 +74,19 @@ index e02b4ae..71b5cb38 100644
73
74
#include <linux/debugfs.h>
74
75
#include <acpi/video.h>
75
76
#include <asm/io.h>
76
-
@@ -105,6 +106,10 @@ struct apple_gmux_config {
77
-
#define GMUX_BRIGHTNESS_MASK 0x00ffffff
78
-
#define GMUX_MAX_BRIGHTNESS GMUX_BRIGHTNESS_MASK
77
+
@@ -107,6 +108,11 @@ struct apple_gmux_config {
78
+
79
+
#define MMIO_GMUX_MAX_BRIGHTNESS 0xffff
79
80
80
81
+static bool force_igd;
81
82
+module_param(force_igd, bool, 0);
82
83
+MODULE_PARM_DESC(force_idg, "Switch gpu to igd on module load. Make sure that you have apple-set-os set up and the iGPU is in `lspci -s 00:02.0`. (default: false) (bool)");
84
+
+
83
85
+
84
86
static u8 gmux_pio_read8(struct apple_gmux_data *gmux_data, int port)
0 commit comments