diff options
author | Adam Jackson <ajax@redhat.com> | 2012-04-13 16:33:39 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-04-20 07:57:48 -0400 |
commit | b61b2140feaa6aca51c63db94aa5217cd82705d1 (patch) | |
tree | 21f4cdfd6a62bad060d92ecbc6ab5f274f5c62bb /drivers/gpu/drm/drm_edid_modes.h | |
parent | cffd75480ceb1cefffb5595b03ce8383d0ba40ad (diff) |
drm/edid: Add extra_modes
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>
Diffstat (limited to 'drivers/gpu/drm/drm_edid_modes.h')
-rw-r--r-- | drivers/gpu/drm/drm_edid_modes.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_edid_modes.h b/drivers/gpu/drm/drm_edid_modes.h index c212133ca36c..b027fd50cf51 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[] = { | |||
473 | }; | 473 | }; |
474 | static const int num_est3_modes = sizeof(est3_modes) / sizeof(est3_modes[0]); | 474 | static const int num_est3_modes = sizeof(est3_modes) / sizeof(est3_modes[0]); |
475 | 475 | ||
476 | static const struct minimode extra_modes[] = { | ||
477 | { 1024, 576, 60, 0 }, | ||
478 | { 1366, 768, 60, 0 }, | ||
479 | { 1600, 900, 60, 0 }, | ||
480 | { 1680, 945, 60, 0 }, | ||
481 | { 1920, 1080, 60, 0 }, | ||
482 | { 2048, 1152, 60, 0 }, | ||
483 | { 2048, 1536, 60, 0 }, | ||
484 | }; | ||
485 | static const int num_extra_modes = sizeof(extra_modes) / sizeof(extra_modes[0]); | ||
486 | |||
476 | /* | 487 | /* |
477 | * Probably taken from CEA-861 spec. | 488 | * Probably taken from CEA-861 spec. |
478 | * This table is converted from xorg's hw/xfree86/modes/xf86EdidModes.c. | 489 | * This table is converted from xorg's hw/xfree86/modes/xf86EdidModes.c. |