Skip to content

Commit

Permalink
drm/edid: Add extra_modes
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nwnk authored and airlied committed Apr 20, 2012
1 parent cffd754 commit b61b214
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/gpu/drm/drm_edid_modes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b61b214

Please sign in to comment.