compat-drivers: Enable CONFIG_DRM_LOAD_EDID_FIRMWARE
PATCH 1/1 compat-drivers: Enable CONFIG_DRM_LOAD_EDID_FIRMWARE
This was added in 3.4. Rename the option in the relevant source file and enable CONFIG_COMPAT_DRM_LOAD_EDID_FIRMWARE in config.mk to build the symbol into DRM_KMS_HELPER kernel module.
Signed-off-by Ozan Çağlayan <[email protected]>
--- config.mk | 1 + patches/drm/06-rename-config-options.patch | 11 +++++++++++ 2 files changed, 12 insertions(+)
config.mk +1 -0
@@ -702,5 +702,6 @@ ifndef CONFIG_COMPAT_KERNEL_3_2 export CONFIG_COMPAT_VIDEO_MODULES=y export CONFIG_COMPAT_DRM=m export CONFIG_COMPAT_DRM_I915=m +export CONFIG_COMPAT_DRM_LOAD_EDID_FIRMWARE=y export CONFIG_COMPAT_DRM_KMS_HELPER=m endif #CONFIG_COMPAT_KERNEL_3_2
patches/drm/06-rename-config-options.patch +11 -0
@@ -75,3 +75,14 @@ sil164-y := sil164_drv.o -obj-$(CONFIG_DRM_I2C_SIL164) += sil164.o +obj-$(CONFIG_COMPAT_DRM_I2C_SIL164) += sil164.o +--- a/drivers/gpu/drm/drm_crtc_helper.c ++++ b/drivers/gpu/drm/drm_crtc_helper.c +@@ -119,7 +119,7 @@ int drm_helper_probe_single_connector_mo + goto prune; + } + +-#ifdef CONFIG_DRM_LOAD_EDID_FIRMWARE ++#ifdef CONFIG_COMPAT_DRM_LOAD_EDID_FIRMWARE + count = drm_load_edid_firmware(connector); + if (count == 0) + #endif
Signature · 1 line
1.7.11.7
Luis R. Rodriguez
AppliedOn Mon, Oct 22, 2012 at 4:57 AM, Ozan =C3=87a=C4=9Flayan <[email protected]=
Quoted 6 lines
wrote:
This was added in 3.4. Rename the option in the relevant source file and enableCONFIG_COMPAT_DRM_LOAD_EDID_FIRMWAREin config.mk to build the symbol intoDRM_KMS_HELPERkernel module.Signed-off-by Ozan =C3=87a=C4=9Flayan <[email protected]>
Applied both and pushed, thanks!
Luis