[PATCH 09/10] drm/edid: Add extra_modes
Dave Chiluk
chiluk at canonical.com
Wed Jan 30 05:28:30 UTC 2013
From: Adam Jackson <ajax at redhat.com>
BugLink: http://bugs.launchpad.net/bugs/1109112
Some common sizes that don't show up in DMT.
Signed-off-by: Adam Jackson <ajax at redhat.com>
Tested-by: Takashi Iwai <tiwai at suse.de>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit b61b2140feaa6aca51c63db94aa5217cd82705d1)
Signed-off-by: David Chiluk <chiluk at canonical.com>
---
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 a91ffb1..176d455 100644
--- a/drivers/gpu/drm/drm_edid_modes.h
+++ b/drivers/gpu/drm/drm_edid_modes.h
@@ -379,6 +379,17 @@ static const struct {
};
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.9.5
More information about the kernel-team
mailing list