drm/udl: limit modes to the sku pixel limits.
authorDave Airlie <airlied@redhat.com>
Tue, 25 Sep 2012 06:17:43 +0000 (16:17 +1000)
committerDave Airlie <airlied@gmail.com>
Wed, 26 Sep 2012 08:40:21 +0000 (18:40 +1000)
commit3a75885848996baab5276ff37ebf7295c3c753f0
tree8248846623aed1de88c5347fe48724df57dbffd9
parent68c4fce737c4b963e336435f225621dc21138397
drm/udl: limit modes to the sku pixel limits.

Otherwise when X starts we commonly get a black screen scanning
out nothing, its wierd dpms on/off from userspace brings it back,

With this on F18, multi-seat works again with my 1920x1200 monitor
which is above the sku limit for the device I have.

Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher <alexander.deucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_connector.c