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 | |
parent | 171fdd892979081e8a9b1a67ce86c7008b7abbdf (diff) | |
download | kernel_goldelico_gta04-c385e50cb51ace73ebe12d57df76882e9dcf0e53.zip kernel_goldelico_gta04-c385e50cb51ace73ebe12d57df76882e9dcf0e53.tar.gz kernel_goldelico_gta04-c385e50cb51ace73ebe12d57df76882e9dcf0e53.tar.bz2 |
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>
-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 8840066..f1f473e 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; } |