These patches are necessary to fix freedesktop.org bug #26294 (link at the very end) and should be included it 3.2.y.
upstream commit ID: b61b2140feaa6aca51c63db94aa5217cd82705d1
From b61b2140feaa6aca51c63db94aa5217cd82705d1 Mon Sep 17 00:00:00 2001
From: Adam Jackson <[email protected]>
Date: Fri, 13 Apr 2012 16:33:39 -0400
Subject: [PATCH] drm/edid: Add extra_modes
Some common sizes that don't show up in DMT.
Signed-off-by: Adam Jackson <[email protected]>
Tested-by: Takashi Iwai <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Cc: <[email protected]> # cffd75480ceb1cefffb5595b03ce8383d0ba40ad
drm/edid: Give the est3 mode struct a real name
Cc: <[email protected]> # eeefa4bea1af34207c5299f989fffe03628ea164
drm/edid: Update range descriptor struct for EDID 1.4
Cc: <[email protected]> # cb21aafe121b1c3ad4c77cc5c22320163f16ba42
drm/edid: Do drm_dmt_modes_for_range() for all range descriptor types
Cc: <[email protected]> # 6201ee39263e9ae251648e90e0cbb2496de92016
drm/edid: Fix some comment typos in the DMT mode list
Cc: <[email protected]> # 383a6d5fdd9a36832a7f35e2ba17de95a8a10eba
drm/edid: Add the reduced blanking DMT modes to the DMT list
Cc: <[email protected]> # cd4cd3ded8efc49de6f5056dfb0d60e69b388b71
drm/edid: s/drm_gtf_modes_for_range/drm_dmt_modes_for_range/
Cc: <[email protected]> # 9a225c9ce2b03ed70c13fc49ee8ee332cefe4e3a
drm/edid: Remove a misleading comment
Cc: <[email protected]> # f6e252bac45cab5edc30c2ede971def51e272c9b
drm/edid: Allow drm_mode_find_dmt to hunt for reduced-blanking modes
Cc: <[email protected]> # f8b46a05e6ced02e75cd782c015a57e67d5c644d
drm/edid: Rewrite drm_mode_find_dmt search loop
Cc: <[email protected]> # 33c7531df850869a7b623d4dfcfcb7e2ab873844
drm/edid: Document drm_mode_find_dmt
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=26294
Signed-off-by: Paul Menzel <[email protected]>
---
drivers/gpu/drm/drm_edid_modes.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpu/drm/drm_edid_modes.h b/drivers/gpu/drm/drm_edid_modes.h
index c212133..b027fd5 100644
--- a/drivers/gpu/drm/drm_edid_modes.h
+++ b/drivers/gpu/drm/drm_edid_modes.h
@@ -473,6 +473,17 @@ static const struct minimode est3_modes[] = {
};
static const int num_est3_modes = sizeof(est3_modes) / sizeof(est3_modes[0]);
+static const struct minimode extra_modes[] = {
+ { 1024, 576, 60, 0 },
+ { 1366, 768, 60, 0 },
+ { 1600, 900, 60, 0 },
+ { 1680, 945, 60, 0 },
+ { 1920, 1080, 60, 0 },
+ { 2048, 1152, 60, 0 },
+ { 2048, 1536, 60, 0 },
+};
+static const int num_extra_modes = sizeof(extra_modes) /
sizeof(extra_modes[0]);
+
/*
* Probably taken from CEA-861 spec.
* This table is converted from xorg's hw/xfree86/modes/xf86EdidModes.c.
--
1.7.10.4
signature.asc
Description: This is a digitally signed message part
