Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b61b2140 authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie
Browse files

drm/edid: Add extra_modes



Some common sizes that don't show up in DMT.

Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Tested-by: default avatarTakashi Iwai <tiwai@suse.de>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent cffd7548
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -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 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.
 * Probably taken from CEA-861 spec.
 * This table is converted from xorg's hw/xfree86/modes/xf86EdidModes.c.
 * This table is converted from xorg's hw/xfree86/modes/xf86EdidModes.c.