From: Seung-Woo Kim Date: Thu, 7 Mar 2024 09:05:39 +0000 (+0900) Subject: RISCV: config: tizen_visionfive2: enable DRM_LOAD_EDID_FIRMWARE X-Git-Tag: accepted/tizen/unified/x/20240311.095810^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F307340%2F1;p=platform%2Fkernel%2Flinux-starfive.git RISCV: config: tizen_visionfive2: 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: Ia87be1d9f7a5e6af38201dc432fc046478e80dae Signed-off-by: Seung-Woo Kim --- diff --git a/arch/riscv/configs/tizen_visionfive2_defconfig b/arch/riscv/configs/tizen_visionfive2_defconfig index f72e89b..ec813e2 100644 --- a/arch/riscv/configs/tizen_visionfive2_defconfig +++ b/arch/riscv/configs/tizen_visionfive2_defconfig @@ -293,6 +293,7 @@ CONFIG_USB_VIDEO_CLASS=y CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_WAVE_VPU=m +CONFIG_DRM_LOAD_EDID_FIRMWARE=y CONFIG_DRM_VERISILICON=y CONFIG_DRM_VERISILICON_STARFIVE_HDMI=y CONFIG_DRM_IMG_ROGUE=y