aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorAditya Garg <gargaditya08@live.com>2024-06-30 19:24:54 +0000
committerArd Biesheuvel <ardb@kernel.org>2024-07-08 10:17:45 +0200
commit71e49eccdca6328eecc335ed8f5557bd0ed70fc6 (patch)
treedfd12906effacef2b1b75d88b167a63d54f01eca /lib/crypto/mpi/mpi-internal.h
parentcd6193877c603f4b0c3c7e5607ffa3d52815403f (diff)
x86/efistub: Call Apple set_os protocol on dual GPU Intel Macs
0c18184de990 ("platform/x86: apple-gmux: support MMIO gmux on T2 Macs") brought support for T2 Macs in apple-gmux. But in order to use dual GPU, the integrated GPU has to be enabled. On such dual GPU EFI Macs, the EFI stub needs to report that it is booting macOS in order to prevent the firmware from disabling the iGPU. This patch is also applicable for some non T2 Intel Macs. Based on this patch for GRUB by Andreas Heider <andreas@heider.io>: https://lists.gnu.org/archive/html/grub-devel/2013-12/msg00442.html Credits also goto Kerem Karabay <kekrby@gmail.com> for helping porting the patch to the Linux kernel. Cc: Orlando Chamberlain <orlandoch.dev@gmail.com> Signed-off-by: Aditya Garg <gargaditya08@live.com> [ardb: limit scope using list of DMI matches provided by Lukas and Orlando] Reviewed-by: Lukas Wunner <lukas@wunner.de> Tested-by: Aditya Garg <gargaditya08@live.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions