rpms/kernel/devel drm-edid-revision-0-should-be-valid.patch, NONE, 1.1 kernel.spec, 1.1329, 1.1330
Kyle McMartin
kyle at fedoraproject.org
Wed Feb 25 02:57:20 UTC 2009
Author: kyle
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11638
Modified Files:
kernel.spec
Added Files:
drm-edid-revision-0-should-be-valid.patch
Log Message:
* Tue Feb 24 2009 Kyle McMartin <kyle at redhat.com>
- drm-edid-revision-0-should-be-valid.patch: bz476735, allow edid
read on edid 1.0 monitors.
drm-edid-revision-0-should-be-valid.patch:
--- NEW FILE drm-edid-revision-0-should-be-valid.patch ---
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 5a4d324..ec14dd8 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -125,7 +125,7 @@ static bool edid_is_valid(struct edid *edid)
DRM_ERROR("EDID has major version %d, instead of 1\n", edid->version);
goto bad;
}
- if (edid->revision <= 0 || edid->revision > 3) {
+ if (edid->revision > 3) {
DRM_ERROR("EDID has minor version %d, which is not between 0-3\n", edid->revision);
goto bad;
}
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1329
retrieving revision 1.1330
diff -u -r1.1329 -r1.1330
--- kernel.spec 25 Feb 2009 02:53:10 -0000 1.1329
+++ kernel.spec 25 Feb 2009 02:56:50 -0000 1.1330
@@ -649,6 +649,7 @@
Patch1815: drm-intel-next.patch
Patch1816: drm-no-gem-on-i8xx.patch
Patch1818: drm-i915-resume-force-mode.patch
+Patch1819: drm-edid-revision-0-should-be-valid.patch
# kludge to make ich9 e1000 work
Patch2000: linux-2.6-e1000-ich9.patch
@@ -1154,6 +1155,7 @@
ApplyPatch drm-intel-next.patch
ApplyPatch drm-no-gem-on-i8xx.patch
ApplyPatch drm-i915-resume-force-mode.patch
+ApplyPatch drm-edid-revision-0-should-be-valid.patch
# linux1394 git patches
ApplyPatch linux-2.6-firewire-git-update.patch
@@ -1751,6 +1753,10 @@
%changelog
* Tue Feb 24 2009 Kyle McMartin <kyle at redhat.com>
+- drm-edid-revision-0-should-be-valid.patch: bz476735, allow edid
+ read on edid 1.0 monitors.
+
+* Tue Feb 24 2009 Kyle McMartin <kyle at redhat.com>
- linux-2.6-debug-dma-api.patch: rebase to v3, had to hack it myself in
places, so if it breaks, i get to keep all million pieces.
More information about the fedora-extras-commits
mailing list