mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
drm/edid: Fix the HDTV hack sync adjustment
We're adjusting horizontal timings only here, moving vsync was just a slavish translation of a typo in the X server. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
12e27be852
commit
a4967de6cb
1 changed files with 2 additions and 2 deletions
|
@ -864,8 +864,8 @@ drm_mode_std(struct drm_connector *connector, struct edid *edid,
|
||||||
mode = drm_cvt_mode(dev, 1366, 768, vrefresh_rate, 0, 0,
|
mode = drm_cvt_mode(dev, 1366, 768, vrefresh_rate, 0, 0,
|
||||||
false);
|
false);
|
||||||
mode->hdisplay = 1366;
|
mode->hdisplay = 1366;
|
||||||
mode->vsync_start = mode->vsync_start - 1;
|
mode->hsync_start = mode->hsync_start - 1;
|
||||||
mode->vsync_end = mode->vsync_end - 1;
|
mode->hsync_end = mode->hsync_end - 1;
|
||||||
return mode;
|
return mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue