drm/edid: Fix sync polarity for secondary GTF curve
Subsystems (2)
PATCH 1/1 drm/edid: Fix sync polarity for secondary GTF curve
Signed-off-by Adam Jackson <[email protected]>
--- drivers/gpu/drm/drm_modes.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
drivers/gpu/drm/drm_modes.c +4 -1
@@ -452,7 +452,10 @@ drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay, }drm_mode_set_name (drm_mode); - drm_mode->flags =DRM_MODE_FLAG_NHSYNC |DRM_MODE_FLAG_PVSYNC ; +if (GTF_M ==600 &>F_2C ==80 &>F_K ==128 &>F_2J ==40 ) + drm_mode->flags =DRM_MODE_FLAG_NHSYNC |DRM_MODE_FLAG_PVSYNC ; +else + drm_mode->flags =DRM_MODE_FLAG_PHSYNC |DRM_MODE_FLAG_NVSYNC ;return drm_mode; }
Signature · 10 lines
1.6.6.1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --