drm/radeon/kms: only change mode when coherent value changes.
authorDave Airlie <airlied@redhat.com>
Fri, 9 Apr 2010 06:27:00 +0000 (06:27 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Apr 2010 00:01:57 +0000 (10:01 +1000)
commitce227c4183a2c18c9e5467b7e92d47140e763ab9
treea3342a0db6b5560e65cf5ec4711d41e0a768c44c
parent65384a1d41c4e91f0b49d90d11b7f424d6e5c58e
drm/radeon/kms: only change mode when coherent value changes.

On X startup we were getting a flicker where there shouldn't have been one.
the X DDX calls the kernel to set the properties to the same values (yes
it could be smarter), however the kernel was doing a pointless modeset then,
making my nice smooth boot ugly.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c