[PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Jesse Barnes
This prevents a race between module init and sysfs access (usually only seen at module reload time, or if somehow your userspace starts fast enough and pokes at /sys/class/drm while the drivers are still initializing). Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_sysfs.c | 75 ++

[Bug 42727] radeon KMS with CRT TV

2012-02-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42727 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #

[PATCH] drm/edid: Strengthen the algorithm for CRT default resolution

2012-02-09 Thread Adam Jackson
If a CRT doesn't deign to provide a preferred mode, we should try to pick a mode with a vaguely reasonable DPI instead of whatever happens to be biggest. Bugzilla: https://bugzilla.redhat.com/522155 Signed-off-by: Adam Jackson --- drivers/gpu/drm/drm_edid.c | 52 +

[PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Eugeni Dodonov
> Signed-off-by: Jesse Barnes > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/2f44d3fc/attachment.htm>

[PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Daniel Vetter
On Thu, Feb 9, 2012 at 21:24, Eugeni Dodonov wrote: > On Thu, Feb 9, 2012 at 15:56, Jesse Barnes > wrote: >> >> This prevents a race between module init and sysfs access (usually only >> seen at module reload time, or if somehow your userspace starts fast >> enough and pokes at /sys/class/drm wh

[Bug 45856] New: [r300g] piglit glx-swap-pixmap leaves screen completely corrupted

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45856 Bug #: 45856 Summary: [r300g] piglit glx-swap-pixmap leaves screen completely corrupted Classification: Unclassified Product: Mesa Version: git Platform: Other

[PULL] drm-intel-fixes

2012-02-09 Thread Keith Packard
ature Size: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/4bc8536f/attachment.pgp>

[ANNOUNCE] intel-gpu-tools 1.2

2012-02-09 Thread Daniel Vetter
ot available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/98d79b51/attachment-0001.pgp>

scheduling while atomic on radeon rv620, kernel 3.30-rc3

2012-02-09 Thread Mikko Vinni
Hi, testing 3.3.0-rc3 on an HP Pavilion dv5 (last tested kernel 3.2.5 works fine) and getting bugs apparently right after the radeon module is loaded. Linux version 3.3.0-rc3-CUST (mikko at koni) (gcc version 4.6.2 20120120 (prerelease) (GCC) ) #198 SMP PREEMPT Thu Feb 9 09:36:43 EET 2012 Comma

[PATCH 1/2] omap2+: add drm device

2012-02-09 Thread Greg KH
On Fri, Jan 13, 2012 at 02:41:59PM -0600, Rob Clark wrote: > From: Rob Clark > > Register OMAP DRM/KMS platform device, and reserve a CMA region for > the device to use for buffer allocation. > > v1: initial patch > v2: move platform data structs into plat-omap to avoid having to > #include

[PATCH 1/2] omap2+: add drm device

2012-02-09 Thread Rob Clark
On Thu, Feb 9, 2012 at 11:28 AM, Greg KH wrote: > On Fri, Jan 13, 2012 at 02:41:59PM -0600, Rob Clark wrote: >> From: Rob Clark >> >> Register OMAP DRM/KMS platform device, and reserve a CMA region for >> the device to use for buffer allocation. >> >> v1: initial patch >> v2: move platform data s

[PATCH] drm/i915: Fix single msg gmbus_xfers writes

2012-02-09 Thread Benson Leung
gmbus_xfer with a single message (particularly a single message write) would set Bus Cycle Select to 100b, the Gen Stop cycle, instead of 101b, No Index, Stop cycle. This would not start single message i2c transactions. Also, gmbus_xfer done: will disable the interface without checking if it is id

[PATCH] drm/i915: Fix race condition in accessing GMBUS

2012-02-09 Thread Yufeng Shen
GMBUS has several ports and each has it's own corresponding I2C adpater. When multiple I2C adapters call gmbus_xfer() at the same time there is a race condition in using the underlying GMBUS controller. Fixing this by adding a mutex lock when calling gmbus_xfer(). Signed-off-by: Yufeng Shen ---

<    1   2