diff options
author | Subrata Banik <subratabanik@google.com> | 2024-10-26 23:14:35 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-10-28 06:52:57 +0000 |
commit | 33a89eb68f57307658c1eddb333308dbd4975abc (patch) | |
tree | 165edd223ff366e90596a2ee3881e726afc28fae /src | |
parent | 9fcc99ea344de9f433f4c56d4cc9f812f6b15295 (diff) |
mb/google/fatcat/var/fatcat: Enable iGPU display using FW_CONFIG
This change enables the integrated GPU (iGPU) display on the Fatcat
board based on the FW_CONFIG setting (specifically the DISPLAY bit).
By conditionally probing the display based on FW_CONFIG, the iGPU
is dynamically enabled or disabled according to the SKU configuration.
TEST=Verified display functionality on Fatcat with the iGPU:
> cbi set 6 0x58A814 4 (DISPLAY_ABSENT):
- lspci does not list the iGPU.
- No display output, but the device boots to the OS (verified via
console).
> cbi set 6 0x5CA814 4 (DISPLAY_PRESENT):
- lspci lists the iGPU.
- Display output is functional, showing firmware and OS UI.
Change-Id: I5762adf5ec8a86a00c16544670cb2f998055bd35
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84877
Reviewed-by: Jayvik Desai <jayvik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Pranava Y N <pranavayn@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/fatcat/variants/fatcat/overridetree.cb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb index a7107bfe92..bcaf92a9fe 100644 --- a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb @@ -136,6 +136,10 @@ chip soc/intel/pantherlake }" device domain 0 on + device ref igpu on + probe DISPLAY DISPLAY_PRESENT + end + device ref ipu on chip drivers/intel/mipi_camera register "acpi_uid" = "0x50000" |