KMS: add fake EDID on eDP too
This gives us a few more standard modes on eDP panels with just a simple fixed timing in the VBT, just like on older, LVDS attached panels. Fixes FDO bug https://bugs.freedesktop.org/show_bug.cgi?id=30069. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Tested-by: Manoj Iyer <manoj.iyer@canonical.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
273d34fbc4
commit
0d26d950fd
|
|
@ -820,7 +820,8 @@ intel_output_get_modes(xf86OutputPtr output)
|
|||
* If it is incorrect, please fix me.
|
||||
*/
|
||||
intel_output->has_lvds_limits = FALSE;
|
||||
if (koutput->connector_type == DRM_MODE_CONNECTOR_LVDS) {
|
||||
if (koutput->connector_type == DRM_MODE_CONNECTOR_LVDS ||
|
||||
koutput->connector_type == DRM_MODE_CONNECTOR_eDP) {
|
||||
for (i = 0; i < koutput->count_modes; i++) {
|
||||
drmModeModeInfo *mode_ptr;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue