From f2c703f7627e2ff495b2dea3ec6c44ad0a487c20 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Thu, 13 Apr 2023 10:44:27 +0900 Subject: [PATCH] ARM/ARM64: config: enable DRM_LOAD_EDID_FIRMWARE Enable CONFIG_DRM_LOAD_EDID_FIRMWARE from tizen defconfigs to support drm.edid_firmware paremeter. Adding "drm.edid_firmware=edid/1920x1080.bin" to cmdline makes all connected display connector has the 1920x1080 mode. Kernel has prebuilt edids, 800x600.bin, 1024x768.bin, 1280x1024.bin, 1600x1200.bin, 1680x1050.bin and 1920x1080.bin and to use other mode edids, put custom edid files into path /lib/firmware/edid/. Note: to build custom edid binary, please refer tools/edid/. Change-Id: I7b80f1aa5a0422f4cb8ff8d99584d0cbdbc8ae1e Signed-off-by: Seung-Woo Kim --- arch/arm/configs/tizen_bcm2711_defconfig | 1 + arch/arm/configs/tizen_bcm2711_rt_defconfig | 1 + arch/arm64/configs/tizen_bcm2711_defconfig | 1 + arch/arm64/configs/tizen_bcm2711_rt_defconfig | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/configs/tizen_bcm2711_defconfig b/arch/arm/configs/tizen_bcm2711_defconfig index de3b48a..f4ab827 100644 --- a/arch/arm/configs/tizen_bcm2711_defconfig +++ b/arch/arm/configs/tizen_bcm2711_defconfig @@ -333,6 +333,7 @@ CONFIG_USB_GSPCA_ZC3XX=m # CONFIG_RADIO_ADAPTERS is not set CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_DRM=y +CONFIG_DRM_LOAD_EDID_FIRMWARE=y CONFIG_DRM_PANEL_SIMPLE=y CONFIG_DRM_DISPLAY_CONNECTOR=y CONFIG_DRM_SIMPLE_BRIDGE=y diff --git a/arch/arm/configs/tizen_bcm2711_rt_defconfig b/arch/arm/configs/tizen_bcm2711_rt_defconfig index a412330..442dbf3 100644 --- a/arch/arm/configs/tizen_bcm2711_rt_defconfig +++ b/arch/arm/configs/tizen_bcm2711_rt_defconfig @@ -333,6 +333,7 @@ CONFIG_USB_GSPCA_ZC3XX=m # CONFIG_RADIO_ADAPTERS is not set CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_DRM=y +CONFIG_DRM_LOAD_EDID_FIRMWARE=y CONFIG_DRM_PANEL_SIMPLE=y CONFIG_DRM_DISPLAY_CONNECTOR=y CONFIG_DRM_SIMPLE_BRIDGE=y diff --git a/arch/arm64/configs/tizen_bcm2711_defconfig b/arch/arm64/configs/tizen_bcm2711_defconfig index ca0e6e0..41e893c 100644 --- a/arch/arm64/configs/tizen_bcm2711_defconfig +++ b/arch/arm64/configs/tizen_bcm2711_defconfig @@ -331,6 +331,7 @@ CONFIG_USB_GSPCA_ZC3XX=m # CONFIG_RADIO_ADAPTERS is not set CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_DRM=y +CONFIG_DRM_LOAD_EDID_FIRMWARE=y CONFIG_DRM_PANEL_SIMPLE=y CONFIG_DRM_DISPLAY_CONNECTOR=y CONFIG_DRM_SIMPLE_BRIDGE=y diff --git a/arch/arm64/configs/tizen_bcm2711_rt_defconfig b/arch/arm64/configs/tizen_bcm2711_rt_defconfig index 83a445c..622b994 100644 --- a/arch/arm64/configs/tizen_bcm2711_rt_defconfig +++ b/arch/arm64/configs/tizen_bcm2711_rt_defconfig @@ -327,6 +327,7 @@ CONFIG_USB_GSPCA_ZC3XX=m # CONFIG_RADIO_ADAPTERS is not set CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_DRM=y +CONFIG_DRM_LOAD_EDID_FIRMWARE=y CONFIG_DRM_PANEL_SIMPLE=y CONFIG_DRM_DISPLAY_CONNECTOR=y CONFIG_DRM_SIMPLE_BRIDGE=y -- 2.7.4