[PATCH] drm: detect hdmi monitor by hdmi identifier (v2)

2009-03-23 Thread Ma Ling
Sometime we need to communicate with HDMI monitor by sending audio or video info frame, so we have to know the monitor type. However if user utilize HDMI->DVI adaptor to connect DVI monitor, hardware detection will incorrectly shows the monitor is HDMI. HDMI spec tell us that any device containi

Re: [Intel-gfx] [RFC][PATCH] drm: detect hdmi monitor by hdmi identifier (v1)

2009-03-23 Thread Ma Ling
On Sat, 2009-03-21 at 04:03 +0800, Eric Anholt wrote: > On Fri, 2009-03-20 at 15:52 +0800, Ma Ling wrote: > > sometime we need to communicate with HDMI monitor by sending audio or video > > info frame, > > so we have to know the monitor type. However if user utilize HDMI->DVI > > adapter to conne

[PATCH] drm/i915: Fix SDVO CREATE_PREFERRED_INPUT_TIMING command

2009-03-23 Thread Zhenyu Wang
This brings fix commit acde0ef683 from 2D driver. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_sdvo.c |3 +++ drivers/gpu/drm/i915/intel_sdvo_regs.h |3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/d

[PATCH] drm/i915: Fix SDVO command debug function

2009-03-23 Thread Zhenyu Wang
Fix compile error of intel_sdvo_debug_response(), and explicit use KERN_DEBUG for printk. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_sdvo.c | 25 + 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drive

[PATCH] drm/i915: Fix SDVO TV support

2009-03-23 Thread Zhenyu Wang
This brings SDVO TV support from 2D driver, including origin fix f1ca56e17d0 and later fix 2fcf4fcccfe. Also fix wrong modeline definitions for SDVO TV. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_display.c | 20 + drivers/gpu/drm/i915/intel_sdvo.c| 140 +

[PATCH] drm/i915: Fix error in SDVO DTD and modeline convert

2009-03-23 Thread Zhenyu Wang
This brings fix commit 62c0c2f5549a from 2D driver. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_sdvo.c | 25 - 1 files changed, 4 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index fbf1

drm radeon patch

2009-03-23 Thread Maciej Cencora
Hi, this simple patch adds regs required for implementing occlusion queries support. I also changed R500_SU_REG_DEST to R300_* as it exists on R300 cards too. Maciej Cencora From 47b6fab19665a823a89c90e4987e1a0b281f658b Mon Sep 17 00:00:00 2001 From: Maciej Cencora Date: Tue, 24 Mar 2009 01:48

[Bug 12705] X200: Brightness broken since 2.6.29-rc4-58-g4c098bc

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12705 len.br...@intel.com changed: What|Removed |Added AssignedTo|drivers_video-...@kernel- |e...@anholt.net |b

[Bug 19591] intel driver doesn't build against 2.6.28 drm headers

2009-03-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=19591 Sérgio M. B. changed: What|Removed |Added CC||ser...@sergiomb.no-ip.org --- Comment

[Bug 12634] video distortion and lockup with i830 video chip and 2.6.28.3

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12634 --- Comment #21 from r...@sisk.pl 2009-03-23 15:20 --- On Saturday 21 March 2009, Robert Raitz wrote: > > Yes, this bug remains for the i830. I'd like go get it fixed, if at all > possible. > > > --- On Sat, 3/21/09, Rafael J. Wysoc

[Bug 12419] possible circular locking dependency on i915 dma

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12419 --- Comment #15 from r...@sisk.pl 2009-03-23 15:19 --- On Monday 23 March 2009, Wang Chen wrote: > Rafael J. Wysocki said the following on 2009-3-22 0:28: > > This message has been generated automatically as a part of a report > > of re

[PATCH] KMS: clean up udelay usage

2009-03-23 Thread Arjan van de Ven
>From 04795556b9ef5cd036a182535d04c4c853b61c96 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 23 Mar 2009 13:36:25 -0700 Subject: [PATCH] KMS: clean up udelay usage udelay() of 20 milliseconds really ought to just use mdelay(), that avoids the various wrap scenarios and also is more r

[PATCH] KMS: register the LVDS before the CRT

2009-03-23 Thread Arjan van de Ven
>From 785bb9f968ead288395ead4f921d7c1fb794ee71 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 23 Mar 2009 13:34:46 -0700 Subject: [PATCH] KMS: register the LVDS before the CRT for the cases where the user only really cares about lighting up one output, or only one output at first, lig

[PATCH] KMS: Do the actual mode setting from asynchronous context

2009-03-23 Thread Arjan van de Ven
>From dfe256fc9d28f240f1a84fb4c3dfed4a4e18d5d4 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 23 Mar 2009 13:32:47 -0700 Subject: [PATCH] KMS: Do the actual mode setting from asynchronous context The mode setting (and the expensive part of mode detection) can take quite a bit of time,

[PATCH] KMS: cache the EDID information of the LVDS

2009-03-23 Thread Arjan van de Ven
>From eb512d6d953c8acc8abe1048862a92cec58d9791 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 23 Mar 2009 13:38:49 -0700 Subject: [PATCH] KMS: cache the EDID information of the LVDS you're not going to replace your LVDS at runtime. so this patch caches the EDID information of the

[PATCH] KMS: do a faster EDID

2009-03-23 Thread Arjan van de Ven
>From a121507f31e37a809dfa21c9756aa83f36d7acbf Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 23 Mar 2009 13:37:20 -0700 Subject: [PATCH] KMS: do a faster EDID for some outputs (like LVDS), the current delays in the EDID reader are way overkill. This patch makes the EDID reader try t

[Bug 11877] [i965 texture_srgb] texture_srgb glGetTexImage failed for internalFormat GL_SRGB_EXT

2009-03-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=11877 --- Comment #19 from Ian Romanick 2009-03-23 12:53:55 PST --- (In reply to comment #18) > (In reply to comment #17) > > Mesa:(mesa_7_4_branch)a8528a2e8653b5237c1d1d66fe98c6e031d007f9 > > should be fixed in mesa master however.

[Bug 8427] Kernel Panic on shuting down with Xserver using i810 driver

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=8427 a...@lxorguk.ukuu.org.uk changed: What|Removed |Added Status|NEW |REJECTED Resolution|

[Bug 12419] possible circular locking dependency on i915 dma

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12419 a...@lxorguk.ukuu.org.uk changed: What|Removed |Added Status|NEW |CLOSED Resolution|

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 --- Comment #7 from a...@lxorguk.ukuu.org.uk 2009-03-23 10:44 --- I'd take a bet on this being the PAT/mmap breakage again -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail b

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 --- Comment #1 from avill...@ceibo.fiec.espol.edu.ec 2009-03-23 08:59 --- Created an attachment (id=20642) --> (http://bugzilla.kernel.org/attachment.cgi?id=20642&action=view) Kernel configuration which succeeds in 2.6.29-rc5 and fail

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 --- Comment #4 from avill...@ceibo.fiec.espol.edu.ec 2009-03-23 09:05 --- Created an attachment (id=20645) --> (http://bugzilla.kernel.org/attachment.cgi?id=20645&action=view) strace output that shows EAGAIN as error from mmap2 --

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 --- Comment #6 from avill...@ceibo.fiec.espol.edu.ec 2009-03-23 09:08 --- Sorry for double-posting the attachment. I attempted to bisect this bug over the weekend. This is what I got so far: git bisect start # bad: [fec6c6fec3e20637

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 --- Comment #5 from avill...@ceibo.fiec.espol.edu.ec 2009-03-23 09:07 --- Created an attachment (id=20646) --> (http://bugzilla.kernel.org/attachment.cgi?id=20646&action=view) strace output that shows EAGAIN as error from mmap2 --

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 --- Comment #3 from avill...@ceibo.fiec.espol.edu.ec 2009-03-23 09:01 --- Created an attachment (id=20644) --> (http://bugzilla.kernel.org/attachment.cgi?id=20644&action=view) Full xorg log when bug happens. -- Configure bugmail: h

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 avill...@ceibo.fiec.espol.edu.ec changed: What|Removed |Added Attachment #20644|application/octet-stream|text/plain mim

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 --- Comment #2 from avill...@ceibo.fiec.espol.edu.ec 2009-03-23 09:01 --- Created an attachment (id=20643) --> (http://bugzilla.kernel.org/attachment.cgi?id=20643&action=view) dmesg output for 2.6.29-rc8 which also shows the bug. I d

[Bug 12920] savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 avill...@ceibo.fiec.espol.edu.ec changed: What|Removed |Added Regression|0 |1 -- Configure bugm

[Bug 12920] New: savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6

2009-03-23 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12920 Summary: savage: mmap2 of /dev/dri/card0 fails with EAGAIN since 2.6.29-rc6 Product: Drivers Version: 2.5 KernelVersion: 2.6.29-rc6 Platform: All OS/Version: Linux

[Bug 11877] [i965 texture_srgb] texture_srgb glGetTexImage failed for internalFormat GL_SRGB_EXT

2009-03-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=11877 --- Comment #18 from Roland Scheidegger 2009-03-23 06:58:46 PST --- (In reply to comment #17) > Mesa:(mesa_7_4_branch)a8528a2e8653b5237c1d1d66fe98c6e031d007f9 should be fixed in mesa master however. -- Configure bugmail: http

Re: 2.6.28-rc1: [drm:i915] *ERROR* ... Disabling tiling

2009-03-23 Thread Alan Jenkins
On 10/27/08, Eric Anholt wrote: > On Mon, 2008-10-27 at 14:27 +, Alan Jenkins wrote: >> What does this mean, should I do anything about it? Is tiling nice to >> have? >> >> It sounds like GEM broke something - though maybe it just added a more >> verbose error report. >> >> System: EeePC 701

Re: 2.6.28-rc1: [drm:i915] *ERROR* ... Disabling tiling

2009-03-23 Thread Alan Jenkins
On 3/23/09, Alan Jenkins wrote: > On 10/27/08, Eric Anholt wrote: >> On Mon, 2008-10-27 at 14:27 +, Alan Jenkins wrote: >>> What does this mean, should I do anything about it? Is tiling nice to >>> have? >>> >>> It sounds like GEM broke something - though maybe it just added a more >>> verbo

[Bug 14076] GL_OUT_OF_MEMORY crash with R300 driver and Lineage II under Wine

2009-03-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=14076 Maciej Cencora changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: radeon-rewrite branch merging.

2009-03-23 Thread Michel Dänzer
Another issue starting qtdemo from Qt 4.5: qtdemo: radeon_lock.c:66: radeonGetLock: Assertion `drawable != ((void *)0)' failed. Program received signal SIGABRT, Aborted. 0x0ec9542c in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise

[PATCH] drm/intel: fix TV mode setting in property change

2009-03-23 Thread Zhenyu Wang
Only set TV DAC in property change seems doesn't work, we have to setup whole crtc pipe which assigned to TV alone. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_tv.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_tv.c b/driv

[PATCH resend] drm/intel: only set TV mode when any property changed

2009-03-23 Thread Zhenyu Wang
If there's no real property change, don't need to set TV mode again. (Fixed one checkpatch warning.) Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_tv.c | 27 --- 1 files changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_tv.c

Re: [Patch 3/3]: [DRM/I915] : Sync the default modes for LVDS output device

2009-03-23 Thread yakui_zhao
On Sat, 2009-03-21 at 03:59 +0800, Eric Anholt wrote: > On Fri, 2009-03-20 at 14:13 +0800, yakui_zhao wrote: > > Subject: [DRM/I915]: Sync the default modes for LVDS output device > > From: Zhao Yakui > > > > Sync the default modes for the LVDS output device > > This covers: > > Add t

Re: 2.6.29-rc breaks STD using Intel 945

2009-03-23 Thread Rolf Eike Beer
Sitsofe Wheeler wrote: > On Sun, Mar 08, 2009 at 07:02:17PM +0100, Rolf Eike Beer wrote: > > Sitsofe Wheeler wrote: > > > On Wed, Mar 04, 2009 at 08:20:56PM +0100, Rolf Eike Beer wrote: > > > > I tested several snapshots post 2.6.28 and all of them show one > > > > severe problem: resume from disk

[Patch 3/3_v2]: [DRM/I915] : Sync the default modes for LVDS output device

2009-03-23 Thread yakui_zhao
Subject: [DRM/I915]: Sync the default modes for LVDS output device From: Zhao Yakui Sync the default modes for the LVDS output device This covers: Add the default modes for the LVDS output device. The bit of edid->feature.msc indicates whether the display device is not continous-frequ

[Patch 1/3_v2]: [DRM/I915] : Sync the mode validation for INTERLACE/DBLSCAN

2009-03-23 Thread yakui_zhao
Subject: [DRM/I915]: Sync the mode validation for INTERLACE/DBLSCAN From: Zhao Yakui Sync the mode validation for INTERLACE/DBLSCAN This covers: Check whether the INTERLACE/DBLSCAN is supported by output device. If not, the mode containing the flag of INTERLACE/DBLSCAN will be mark

[Patch 2/3_v2]: [DRM/I915] : Sync the panel fitting property with 2D driver

2009-03-23 Thread yakui_zhao
Subject: DRM/I915: Sync the panel fitting property with 2D driver From: Zhao Yakui Sync the panel fitting property with 2D driver This covers: a. create the scaling mode property and attach it to LVDS b. add the support of panel fitting property for LVDS c. update the dis