Skip to contentSkip to conversation

compat-drivers: Enable CONFIG_DRM_LOAD_EDID_FIRMWARE

PATCH Applied Ozan Çağlayan 2 participants 2 messages Oct 22, 2012 – Oct 24, 2012

lore
Share & tools
lore
#0 lore raw

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.

---
 config.mk                                  |  1 +
 patches/drm/06-rename-config-options.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)
config.mk +1 -0
index c9b2353..4a390fd 100644
@@ -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
index 1096fce..9fda1f8 100644
@@ -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