diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-09-14 13:59:33 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-16 00:09:36 +0000 |
commit | 84428f72d02583f1f2a7bf4470bace5d46c1bc4d (patch) | |
tree | cf6d4fe982176fe2c495e4be406bf754066074ca /src/soc/amd/common | |
parent | 629621160710f8862e5cac08f554917783795a89 (diff) |
drivers/intel/fsp2_0: Pass orientation to fsp_report_framebuffer_info
Instead of always passing LB_FB_ORIENTATION_NORMAL, allow the chipsets
implementing the callback to pass in an orientation.
BUG=b:194967458
BRANCH=dedede
Change-Id: I4aacab9449930a75aca9d68bf30d019f86035405
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57647
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r-- | src/soc/amd/common/block/graphics/graphics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/graphics/graphics.c b/src/soc/amd/common/block/graphics/graphics.c index 79df6267e5..3b60e26d9a 100644 --- a/src/soc/amd/common/block/graphics/graphics.c +++ b/src/soc/amd/common/block/graphics/graphics.c @@ -2,6 +2,7 @@ #include <acpi/acpi_device.h> #include <acpi/acpigen.h> +#include <boot/coreboot_tables.h> #include <device/pci.h> #include <device/pci_ids.h> #include <console/console.h> @@ -157,7 +158,7 @@ static void graphics_dev_init(struct device *const dev) struct resource *res = probe_resource(dev, PCI_BASE_ADDRESS_0); if (res && res->base) - fsp_report_framebuffer_info(res->base); + fsp_report_framebuffer_info(res->base, LB_FB_ORIENTATION_NORMAL); else printk(BIOS_ERR, "%s: Unable to find resource for %s\n", __func__, dev_path(dev)); |