]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/edid: Add extra_modes
authorAdam Jackson <ajax@redhat.com>
Fri, 13 Apr 2012 20:33:39 +0000 (16:33 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:57:48 +0000 (12:57 +0100)
Some common sizes that don't show up in DMT.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid_modes.h

index c212133ca36c0196f228850ae249d0e9e796dbd3..b027fd50cf5157ca73a98ddcfb214400870b9c1f 100644 (file)
@@ -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.