[Bug 60852] Random memory corruption reported after writing to /sys/module/drm_kms_helper/parameters/edid_firmware
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Sun Sep 8 23:41:30 PDT 2013
https://bugzilla.kernel.org/show_bug.cgi?id=60852
--- Comment #11 from Jani Nikula <jani.nikula at intel.com> ---
Alternatively, please try this patch on top of 3.11, with
CONFIG_FW_LOADER_USER_HELPER=y and the rc.local thing:
diff --git a/drivers/gpu/drm/drm_edid_load.c b/drivers/gpu/drm/drm_edid_load.c
index 271b42b..7a0a1d3 100644
--- a/drivers/gpu/drm/drm_edid_load.c
+++ b/drivers/gpu/drm/drm_edid_load.c
@@ -155,6 +155,13 @@ static u8 *edid_load(struct drm_connector *connector,
const
err = request_firmware(&fw, name, &pdev->dev);
platform_device_unregister(pdev);
+ if (err)
+ goto out;
+ else {
+ err = -EINVAL;
+ goto relfw_out;
+ }
+
if (err) {
i = 0;
while (i < GENERIC_EDIDS && strcmp(name, generic_edid_name[i]))
If you can reproduce the issue with this, the problem is in the firmware
loader.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the intel-gfx-bugs
mailing list