diff options
author | Adam Jackson <ajax@redhat.com> | 2010-04-08 19:00:30 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-09 10:05:40 +1000 |
commit | c385e50cb51ace73ebe12d57df76882e9dcf0e53 (patch) | |
tree | d813045d779d2cb8e81ac78654ada1b0e3afeea3 /drivers/gpu/drm/drm_modes.c | |
parent | 171fdd892979081e8a9b1a67ce86c7008b7abbdf (diff) | |
download | blackbird-op-linux-c385e50cb51ace73ebe12d57df76882e9dcf0e53.tar.gz blackbird-op-linux-c385e50cb51ace73ebe12d57df76882e9dcf0e53.zip |
drm/edid: Fix sync polarity for secondary GTF curve
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
-rw-r--r-- | drivers/gpu/drm/drm_modes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 8840066a5775..f1f473ea97d3 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c @@ -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 && GTF_2C == 80 && GTF_K == 128 && GTF_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; } |