This is a note to let you know that I've just added the patch titled
drm/udl: limit modes to the sku pixel limits.
to the 3.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-udl-limit-modes-to-the-sku-pixel-limits.patch
and it can be found in the queue-3.5 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 3a75885848996baab5276ff37ebf7295c3c753f0 Mon Sep 17 00:00:00 2001
From: Dave Airlie <[email protected]>
Date: Tue, 25 Sep 2012 16:17:43 +1000
Subject: drm/udl: limit modes to the sku pixel limits.
From: Dave Airlie <[email protected]>
commit 3a75885848996baab5276ff37ebf7295c3c753f0 upstream.
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.
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/gpu/drm/udl/udl_connector.c | 7 +++++++
1 file changed, 7 insertions(+)
--- a/drivers/gpu/drm/udl/udl_connector.c
+++ b/drivers/gpu/drm/udl/udl_connector.c
@@ -69,6 +69,13 @@ static int udl_get_modes(struct drm_conn
static int udl_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode)
{
+ struct udl_device *udl = connector->dev->dev_private;
+ if (!udl->sku_pixel_limit)
+ return 0;
+
+ if (mode->vdisplay * mode->hdisplay > udl->sku_pixel_limit)
+ return MODE_VIRTUAL_Y;
+
return 0;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.5/gma500-fix-regression-on-oaktrail-devices.patch
queue-3.5/vmwgfx-add-dumb-ioctl-support.patch
queue-3.5/drm-nouveau-fix-booting-with-plymouth-dumb-support.patch
queue-3.5/fbcon-fix-race-condition-between-console-lock-and-cursor-timer-v1.1.patch
queue-3.5/drm-udl-limit-modes-to-the-sku-pixel-limits.patch
queue-3.5/drm-check-for-invalid-cursor-flags.patch
queue-3.5/drm-add-edid_quirk_force_reduced_blanking-for-asus-vw222s.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html