Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-02-15 14:33:49 +0100
committerTakashi Iwai <tiwai@suse.de>2012-02-15 14:33:49 +0100
commitda1cf4189b0dc7c184099c0cc11819b99aa2fb18 (patch)
tree85a0508393c8de17caeb0a95297ead80d94e4067
parent4da05c8ea152527eeb044bc462ddc711ff323a0b (diff)
- Disable broken patches.suse/drm-edid-workaround-shift.patchrpm-3.0.13-0.27
-rw-r--r--drivers/gpu/drm/drm_edid.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 8ae8d9557c16..835a1ac5d924 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -155,16 +155,6 @@ drm_edid_block_valid(u8 *raw_edid)
u8 csum = 0;
struct edid *edid = (struct edid *)raw_edid;
- if (raw_edid[0] == 0xff) {
- int cnt = 1;
- while (raw_edid[cnt] == 0xff)
- cnt++;
- if (raw_edid[cnt] == 0x00 && cnt >= 3) {
- for (i = EDID_LENGTH; i >= (7 - cnt); i--)
- raw_edid[i] = raw_edid[i - 7 + cnt];
- memcpy(raw_edid, edid_header, sizeof(edid_header));
- }
- }
if (raw_edid[0] == 0x00) {
int score = drm_edid_header_is_valid(raw_edid);
if (score == 8) ;