[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46796 Michel Dänzer changed: What|Removed |Added Attachment #57853|0 |1 is obsolete|

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46796 --- Comment #8 from Michel Dänzer 2012-03-07 00:21:12 PST --- (In reply to comment #7) > I got the source for xserver-xorg-video-ati from the Ubuntu repositories and > tried to apply the patch to it. That can't work, as the patch is for the ker

[Bug 47039] New: radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47039 Bug #: 47039 Summary: radeon: The kernel rejected CS Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: N

[Bug 47039] radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47039 Sylvain Réault changed: What|Removed |Added Priority|medium |highest -- Configure bugmail: https://

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #6 from Tvrtko Ursulin 2012-03-07 02:10:26 PST --- Further investigation along the lines of your comment. For the HDMI connector ATOM_HPD_INT_RECORD_TYPE contains a gpio->mask of 0x100 which translates to RADEON_HPD_2. hpd.plugged_s

[PATCH] drm/radeon: fix a semaphore deadlock on pre cayman asics

2012-03-07 Thread Christian König
The out of order execution of semaphore commands on pre cayman asics doesn't work correctly and can cause deadlocks, so turn it off for now. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/r600.c |3 +++ drivers/gpu/drm/radeon/r600d.h |1 + 2 files changed, 4 insertions(+), 0

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #7 from Tvrtko Ursulin 2012-03-07 02:42:18 PST --- Poll helper is running every ten seconds because VGA connector "asks it to", given how it has DRM_CONNECTOR_POLL_CONNECT set. Since the poll helper runs, and HDMI connector has DRM_

[Bug 41766] radeon lvds panel heavy flickering after opening laptop lid (Mobility Radeon HD 3650)

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41766 --- Comment #13 from runetmem...@gmail.com 2012-03-07 03:58:22 PST --- > I just tried with the latest Fedora 16 Final RC1 (using Linux 3.1.0 final), > and I noticed the LVDS flickering actually happens *sometimes* also when booting the laptop wit

Re: [PATCH 1/9] drm/i915/intel_i2c: cleanup

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:42 +0800, Daniel Kurtz wrote: > 80 col, spaces around operators and other basic cleanup. > > Signed-off-by: Daniel Kurtz > --- > drivers/gpu/drm/i915/intel_i2c.c | 24 > 1 files changed, 16 insertions(+), 8 deletions(-) > > diff --git a/driv

Re: [PATCH] omap2+: add drm device

2012-03-07 Thread Tomi Valkeinen
On Tue, 2012-03-06 at 09:29 -0600, Rob Clark wrote: > On Tue, Mar 6, 2012 at 8:35 AM, Tomi Valkeinen wrote: > > On Tue, 2012-03-06 at 08:01 -0600, Rob Clark wrote: > >> On Tue, Mar 6, 2012 at 7:26 AM, Tomi Valkeinen > >> wrote: > > > >> > Can there be more than one omapdrm device? I guess not. I

Re: [PATCH 3/9] drm/i915/intel_i2c: refactor using intel_gmbus_get_bus

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:44 +0800, Daniel Kurtz wrote: > +struct i2c_adapter *intel_gmbus_get_bus(struct drm_i915_private *dev_priv, > + int pin) > +{ BUG_ON(pin >= GMBUS_NUM_PORTS); > + return (pin < GMBUS_NUM_PORTS) ? &dev_priv->gmbus[pin].adapter : NULL

Re: [PATCH] omap2+: add drm device

2012-03-07 Thread Tomi Valkeinen
On Tue, 2012-03-06 at 09:50 -0600, Gross, Andy wrote: > > > On Tue, Mar 6, 2012 at 8:35 AM, Tomi Valkeinen > wrote: > > > I have to say I don't know much about DMM, but my > understanding is that > DMM is a bigger entity, of which TILER is only a small p

Re: [PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:50 +0800, Daniel Kurtz wrote: > Save the GMBUS2 value read while polling for state changes, and then > reuse this value when determining for which reason the loops were exited. > This is a small optimization which saves a couple of bus accesses for > memory mapped IO regi

Re: [PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:47 +0800, Daniel Kurtz wrote: > Return -ENXIO if a device NAKs a transaction. > > Note: We should return -ETIMEDOUT, too if the transaction times out, > however, that error path is currently handled by the 'bit-bang fallback'. > > Signed-off-by: Daniel Kurtz Can you c

Re: [PATCH 3/9] drm/i915/intel_i2c: refactor using intel_gmbus_get_bus

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:44 +0800, Daniel Kurtz wrote: > Instead of letting other modules directly access the ->gmbus array, > introduce a new API, intel_gmbus_get_bus(), to lookup an i2c_adapter for > a given gmbus pin pair identifier. This API enables later refactoring > of the gmbus pin pair

Re: [PATCH 4/9] drm/i915/intel_i2c: cleanup gmbus/gpio pin assignments

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:45 +0800, Daniel Kurtz wrote: > There is no "disabled" port 0. So, don't even try to initialize/scan > it, etc. This saves a bit of time when initializing the driver, since > the we can avoid a 50ms timeout waiting for a device to respond on > a port that doesn't even e

Re: [PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 20:41:03 +0800, Daniel Kurtz wrote: > On Wed, Mar 7, 2012 at 8:12 PM, Chris Wilson wrote: > > On Wed,  7 Mar 2012 19:50:47 +0800, Daniel Kurtz > > wrote: > >> Return -ENXIO if a device NAKs a transaction. > >> > >> Note: We should return -ETIMEDOUT, too if the transaction ti

[Bug 47039] radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47039 --- Comment #1 from Marek Olšák 2012-03-07 04:55:45 UTC --- The commit d0f8561574023aa8f2e0fdf553ee168253567437 should fix this. Please test Mesa master and close this bug if the issue is gone. -- Configure bugmail: https://bugs.freedesktop.org

[PATCH 1/9] drm/i915/intel_i2c: cleanup

2012-03-07 Thread Daniel Kurtz
80 col, spaces around operators and other basic cleanup. Signed-off-by: Daniel Kurtz --- drivers/gpu/drm/i915/intel_i2c.c | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c index d30

[PATCH 5/9] drm/i915/intel_i2c: add locking around i2c algorithm accesses

2012-03-07 Thread Daniel Kurtz
The i915 has multiple i2c adapters. However, they all share a single single set of i2c control registers (algorithm). Thus, different threads trying to access different adapters could interfere with each other. Note: different threads trying to access the same channel is already handled in the i

[PATCH 0/9] drm/i915/intel_i2c: fix gmbus writes and related issues

2012-03-07 Thread Daniel Kurtz
This patchset addresses a couple of issues with the i915 gmbus implementation: * fixes misassigned pin port pair for HDMI-D * fixes write transactions when they are the only transaction requested (including large >4-byte writes) * returns -ENXIO and -ETIMEDOUT as appropriate so upper laye

[PATCH 2/9] drm/i915/intel_i2c: assign HDMI port D to pin pair 6

2012-03-07 Thread Daniel Kurtz
According to i915 documentation [1], "Port D" (DP/HDMI Port D) is actually gmbus pin pair 6 (gmbus0.2:0 == 110b GPIOF), not 7 (111b). Pin pair 7 is a reserved pair. [1] Documentation for [DevSNB+] and [DevIBX], as found on http://intellinuxgraphics.org Note: the "reserved" and "disabled" pairs do

[PATCH 7/9] drm/i915/intel_i2c: use WAIT cycle, not STOP

2012-03-07 Thread Daniel Kurtz
The i915 is only able to generate a STOP cycle (i.e. finalize an i2c transaction) during a DATA or WAIT phase. In other words, the controller rejects a STOP requested as part of the first transaction in a sequence. Thus, for the first transaction we must always use a WAIT cycle, detect when the d

[PATCH 4/9] drm/i915/intel_i2c: cleanup gmbus/gpio pin assignments

2012-03-07 Thread Daniel Kurtz
There is no "disabled" port 0. So, don't even try to initialize/scan it, etc. This saves a bit of time when initializing the driver, since the we can avoid a 50ms timeout waiting for a device to respond on a port that doesn't even exist. Similarly, don't initialize the reserved port, either. Te

[PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Daniel Kurtz
Save the GMBUS2 value read while polling for state changes, and then reuse this value when determining for which reason the loops were exited. This is a small optimization which saves a couple of bus accesses for memory mapped IO registers. Note: checkpatch doesn't like this ('assigning in if cond

[PATCH 8/9] drm/i915/intel_i2c: use INDEX cycles for i2c read transactions

2012-03-07 Thread Daniel Kurtz
It is very common for an i2c device to require a small 1 or 2 byte write followed by a read. For example, when reading from an i2c EEPROM it is common to write and address, offset or index followed by a reading some values. The i915 gmbus controller provides a special "INDEX" cycle for performing

[PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Daniel Kurtz
Return -ENXIO if a device NAKs a transaction. Note: We should return -ETIMEDOUT, too if the transaction times out, however, that error path is currently handled by the 'bit-bang fallback'. Signed-off-by: Daniel Kurtz --- drivers/gpu/drm/i915/intel_i2c.c |4 +++- 1 files changed, 3 insertion

[PATCH 3/9] drm/i915/intel_i2c: refactor using intel_gmbus_get_bus

2012-03-07 Thread Daniel Kurtz
Instead of letting other modules directly access the ->gmbus array, introduce a new API, intel_gmbus_get_bus(), to lookup an i2c_adapter for a given gmbus pin pair identifier. This API enables later refactoring of the gmbus pin pair list. Note: It is critical that intel_setup_gmbus() gets called

Re: [PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Daniel Kurtz
On Wed, Mar 7, 2012 at 8:12 PM, Chris Wilson wrote: > On Wed,  7 Mar 2012 19:50:47 +0800, Daniel Kurtz wrote: >> Return -ENXIO if a device NAKs a transaction. >> >> Note: We should return -ETIMEDOUT, too if the transaction times out, >> however, that error path is currently handled by the 'bit-ba

Re: [PATCH 4/9] drm/i915/intel_i2c: cleanup gmbus/gpio pin assignments

2012-03-07 Thread Daniel Kurtz
On Wed, Mar 7, 2012 at 8:17 PM, Chris Wilson wrote: > On Wed,  7 Mar 2012 19:50:45 +0800, Daniel Kurtz wrote: >> There is no "disabled" port 0.  So, don't even try to initialize/scan >> it, etc.  This saves a bit of time when initializing the driver, since >> the we can avoid a 50ms timeout waiti

Re: [PATCH] omap2+: add drm device

2012-03-07 Thread Rob Clark
On Wed, Mar 7, 2012 at 5:59 AM, Tomi Valkeinen wrote: > On Tue, 2012-03-06 at 09:29 -0600, Rob Clark wrote: >> On Tue, Mar 6, 2012 at 8:35 AM, Tomi Valkeinen wrote: >> > On Tue, 2012-03-06 at 08:01 -0600, Rob Clark wrote: >> >> On Tue, Mar 6, 2012 at 7:26 AM, Tomi Valkeinen >> >> wrote: >> > >>

Re: [PATCH] omap2+: add drm device

2012-03-07 Thread Tomi Valkeinen
On Wed, 2012-03-07 at 07:06 -0600, Rob Clark wrote: > On Wed, Mar 7, 2012 at 5:59 AM, Tomi Valkeinen wrote: > > Hmm, why does the drm core care about it? > > Because it is the one generating the bus-id.. see > drivers/gpu/drm/drm_platform.c drm_platform_set_busid() > > Anyways, it's just a deta

Re: [PATCH 2/9] drm/i915/intel_i2c: assign HDMI port D to pin pair 6

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:43 +0800, Daniel Kurtz wrote: > According to i915 documentation [1], "Port D" (DP/HDMI Port D) is > actually gmbus pin pair 6 (gmbus0.2:0 == 110b GPIOF), not 7 (111b). > Pin pair 7 is a reserved pair. > > [1] Documentation for [DevSNB+] and [DevIBX], as found on > http:/

Re: [PATCH] omap2+: add drm device

2012-03-07 Thread Rob Clark
On Wed, Mar 7, 2012 at 6:05 AM, Tomi Valkeinen wrote: > On Tue, 2012-03-06 at 09:50 -0600, Gross, Andy wrote: >> >> >> On Tue, Mar 6, 2012 at 8:35 AM, Tomi Valkeinen >> wrote: >> >> >>         I have to say I don't know much about DMM, but my >>         understanding is that >>         DMM is a b

Re: [PATCH] drm/radeon: fix a semaphore deadlock on pre cayman asics

2012-03-07 Thread Alex Deucher
2012/3/7 Christian König : > The out of order execution of semaphore commands on > pre cayman asics doesn't work correctly and can > cause deadlocks, so turn it off for now. > > Signed-off-by: Christian König Good catch. Reviewed-by: Alex Deucher > --- >  drivers/gpu/drm/radeon/r600.c  |    3

[Bug 41766] radeon lvds panel heavy flickering after opening laptop lid (Mobility Radeon HD 3650)

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41766 --- Comment #14 from Alex Deucher 2012-03-07 05:37:50 PST --- (In reply to comment #13) > > The interesting thing I notice: issue reproduceable only with OpenGL version > of > KWin. I never can get it reproduced with OpenGL ES version of KWin.

[Bug 47039] radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47039 Sylvain Réault changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH] drm/radeon/kms: set SX_MISC in the r6xx blit code

2012-03-07 Thread Marek Olšák
Mesa may set it to 1, causing all primitives to be killed. Signed-off-by: Marek Olšák --- I hope it's right. drivers/gpu/drm/radeon/r600_blit_shaders.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_blit_shaders.c b/drivers/gpu/drm/radeo

Re: [PATCH] drm/radeon/kms: set SX_MISC in the r6xx blit code

2012-03-07 Thread Alex Deucher
On Wed, Mar 7, 2012 at 10:51 AM, Marek Olšák wrote: > Mesa may set it to 1, causing all primitives to be killed. > > Signed-off-by: Marek Olšák Looks good. Should probably cc stable as well. Reviewed-by: Alex Deucher > --- > I hope it's right. > >  drivers/gpu/drm/radeon/r600_blit_shaders.c

[PATCH] r6xx: initialize SX_MISC

2012-03-07 Thread Marek Olšák
If Mesa set it to 1, the DDX would not render anything = the monitor would basically freeze. --- If it's right, please apply it to xf86-video-ati. I don't have commit access. src/r6xx_accel.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/r6xx_accel.c b/src/r6xx_acce

Re: [PATCH] omap2+: add drm device

2012-03-07 Thread Gross, Andy
On Wed, Mar 7, 2012 at 6:05 AM, Tomi Valkeinen wrote: > > Does this "DMM has become synonymous" mean that people just started > calling TILER DMM, and thus the name has stuck, or are there technical > reasons to handle it as DMM in the kernel? If the former, and if TILER > is the technically exact

Re: [PATCH] r6xx: initialize SX_MISC

2012-03-07 Thread Alex Deucher
On Wed, Mar 7, 2012 at 10:56 AM, Marek Olšák wrote: > If Mesa set it to 1, the DDX would not render anything = the monitor would > basically freeze. > --- > If it's right, please apply it to xf86-video-ati. I don't have commit access. Pushed. thanks! > >  src/r6xx_accel.c |    1 + >  1 files ch

[PATCH] drm/i915: no-lvds quirk on MSI DC500

2012-03-07 Thread Anisse Astier
This hardware doesn't have an LVDS, it's a desktop box. Fix incorrect LVDS detection. Cc: sta...@kernel.org Signed-off-by: Anisse Astier --- drivers/gpu/drm/i915/intel_lvds.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/driv

Re: [PATCH 2/9] drm/i915/intel_i2c: assign HDMI port D to pin pair 6

2012-03-07 Thread Chris Wilson
On Thu, 8 Mar 2012 02:02:03 +0800, Daniel Kurtz wrote: > I'm not sure what exactly you mean by gen2 and gen3 specs, but, as far as I > can tell, the GPIO pin assignment is the same for both Cougar Point (Sandy > Bridge) [1] and Ibex Peak (?) [2]. Although, the documentation is a bit > confusing a

[Bug 41766] radeon lvds panel heavy flickering after opening laptop lid (Mobility Radeon HD 3650)

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41766 --- Comment #15 from runetmem...@gmail.com 2012-03-07 10:17:06 PST --- Ok, filled: https://bugs.freedesktop.org/show_bug.cgi?id=47067 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

Re: [PATCH 2/9] drm/i915/intel_i2c: assign HDMI port D to pin pair 6

2012-03-07 Thread Daniel Kurtz
On Wed, Mar 7, 2012 at 9:23 PM, Chris Wilson wrote: > > On Wed,  7 Mar 2012 19:50:43 +0800, Daniel Kurtz > wrote: > > According to i915 documentation [1], "Port D" (DP/HDMI Port D) is > > actually gmbus pin pair 6 (gmbus0.2:0 == 110b GPIOF), not 7 (111b). > > Pin pair 7 is a reserved pair. > > >

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 Alex Deucher changed: What|Removed |Added Attachment #58063|application/octet-stream|text/plain mime type|

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 Alex Deucher changed: What|Removed |Added Attachment #58064|text/x-log |text/plain mime type|

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #8 from Alex Deucher 2012-03-07 12:03:07 PST --- (In reply to comment #7) > Poll helper is running every ten seconds because VGA connector "asks it to", > given how it has DRM_CONNECTOR_POLL_CONNECT set. Right. The VGA connector has

[Bug 42876] System doesn't boot with GTX 550 Ti

2012-03-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42876 Sergio changed: What|Removed |Added CC||sergiomart...@gmail.com --- Comment #1 from

[PATCH] drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)

2012-03-07 Thread Marek Olšák
Mesa may set it to 1, causing all primitives to be killed. v2: also update the r7xx code Signed-off-by: Marek Olšák Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/r600_blit_shaders.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_bl

[Bug 42887] New: Garbled display on external screen when using 1920x1080 instead of 1920x1200

2012-03-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42887 Summary: Garbled display on external screen when using 1920x1080 instead of 1920x1200 Product: Drivers Version: 2.5 Kernel Version: 3.3 Platform: All OS/Version: Linux

Re: [PATCH] drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)

2012-03-07 Thread Alex Deucher
On Wed, Mar 7, 2012 at 5:33 PM, Marek Olšák wrote: > Mesa may set it to 1, causing all primitives to be killed. > > v2: also update the r7xx code > > Signed-off-by: Marek Olšák > Cc: sta...@kernel.org Reviewed-by: Alex Deucher > --- >  drivers/gpu/drm/radeon/r600_blit_shaders.c |    8

[PATCH] drm/radeon/kms: skip cb/db checking if SX_MISC is 1 on r600+

2012-03-07 Thread Marek Olšák
Signed-off-by: Marek Olšák --- drivers/gpu/drm/radeon/evergreen_cs.c |8 drivers/gpu/drm/radeon/r600_cs.c |8 drivers/gpu/drm/radeon/reg_srcs/cayman|1 - drivers/gpu/drm/radeon/reg_srcs/evergreen |1 - drivers/gpu/drm/radeon/reg_srcs/r600 |

[PATCH] drm/radeon/kms: fix hdmi duallink checks

2012-03-07 Thread alexdeucher
From: Alex Deucher All pre-SI chips are limited to 165 Mhz for single link. Code in question will be re-enabled when SI support is added. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=44755 https://bugzilla.kernel.org/show_bug.cgi?id=42887 Signed-off-by: Alex Deucher Cc: sta...@vger.kern

Re: [PATCH] drm/radeon/kms: skip cb/db checking if SX_MISC is 1 on r600+

2012-03-07 Thread Alex Deucher
On Wed, Mar 7, 2012 at 6:56 PM, Marek Olšák wrote: > Signed-off-by: Marek Olšák Reviewed-by: Alex Deucher > --- >  drivers/gpu/drm/radeon/evergreen_cs.c     |    8 >  drivers/gpu/drm/radeon/r600_cs.c          |    8 >  drivers/gpu/drm/radeon/reg_srcs/cayman    |    1 - >  dri

Re: [PATCH] omap2+: add drm device

2012-03-07 Thread Tomi Valkeinen
On Wed, 2012-03-07 at 09:59 -0600, Gross, Andy wrote: > On Wed, Mar 7, 2012 at 6:05 AM, Tomi Valkeinen wrote: > > > > Does this "DMM has become synonymous" mean that people just started > > calling TILER DMM, and thus the name has stuck, or are there technical > > reasons to handle it as DMM in th

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46796 --- Comment #7 from jonathan 2012-03-06 19:41:29 PST --- This is a bit above my head I think. I got the source for xserver-xorg-video-ati from the Ubuntu repositories and tried to apply the patch to it. It looks like a lot of the right files are

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #39 from Alexandre Demers 2012-03-06 22:25:26 PST --- (In reply to comment #38) > Some news: today, I updated xserver and it seems I'm now able to boot under > Gnome-Shell correctly. > > However, launching RenderFeatTest.bin64 still

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46796 Michel D?nzer changed: What|Removed |Added Attachment #57853|0 |1 is obsolete|

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46796 --- Comment #8 from Michel D?nzer 2012-03-07 00:21:12 PST --- (In reply to comment #7) > I got the source for xserver-xorg-video-ati from the Ubuntu repositories and > tried to apply the patch to it. That can't work, as the patch is for the ker

[Bug 47039] New: radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47039 Bug #: 47039 Summary: radeon: The kernel rejected CS Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: N

[Bug 47039] radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47039 Sylvain R?ault changed: What|Removed |Added Priority|medium |highest -- Configure bugmail: https://

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #6 from Tvrtko Ursulin 2012-03-07 02:10:26 PST --- Further investigation along the lines of your comment. For the HDMI connector ATOM_HPD_INT_RECORD_TYPE contains a gpio->mask of 0x100 which translates to RADEON_HPD_2. hpd.plugged_s

[PATCH] drm/radeon: fix a semaphore deadlock on pre cayman asics

2012-03-07 Thread Christian König
The out of order execution of semaphore commands on pre cayman asics doesn't work correctly and can cause deadlocks, so turn it off for now. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/r600.c |3 +++ drivers/gpu/drm/radeon/r600d.h |1 + 2 files changed, 4 insertions(+), 0

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #7 from Tvrtko Ursulin 2012-03-07 02:42:18 PST --- Poll helper is running every ten seconds because VGA connector "asks it to", given how it has DRM_CONNECTOR_POLL_CONNECT set. Since the poll helper runs, and HDMI connector has DRM_

[Bug 41766] radeon lvds panel heavy flickering after opening laptop lid (Mobility Radeon HD 3650)

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41766 --- Comment #13 from runetmember at gmail.com 2012-03-07 03:58:22 PST --- > I just tried with the latest Fedora 16 Final RC1 (using Linux 3.1.0 final), > and I noticed the LVDS flickering actually happens *sometimes* also when booting the laptop

[PATCH 1/9] drm/i915/intel_i2c: cleanup

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:42 +0800, Daniel Kurtz wrote: > 80 col, spaces around operators and other basic cleanup. > > Signed-off-by: Daniel Kurtz > --- > drivers/gpu/drm/i915/intel_i2c.c | 24 > 1 files changed, 16 insertions(+), 8 deletions(-) > > diff --git a/dri

[PATCH] omap2+: add drm device

2012-03-07 Thread Tomi Valkeinen
he above? =) And > > if so, it should be configurable. You could have a board with no display > > at all, and you probably don't want to have 32MB allocated for DRM in > > that case. > > Basically the short version is memory from a CMA carveout can be > re-used for unpinnable memory. Not kmalloc, but it can be used for > anon userspace pages, for example. Userspace needs memory too. Okay, let me ask the other way. Is 32MB enough for everyone? Hardcoding a value like that without any possibility to adjust it just sounds like a rather bad thing. Tomi -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120307/5e6daa8a/attachment.pgp>

[PATCH 3/9] drm/i915/intel_i2c: refactor using intel_gmbus_get_bus

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:44 +0800, Daniel Kurtz wrote: > +struct i2c_adapter *intel_gmbus_get_bus(struct drm_i915_private *dev_priv, > + int pin) > +{ BUG_ON(pin >= GMBUS_NUM_PORTS); > + return (pin < GMBUS_NUM_PORTS) ? &dev_priv->gmbus[pin].adapter : NUL

[PATCH] omap2+: add drm device

2012-03-07 Thread Tomi Valkeinen
ure Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120307/d36b10a7/attachment.pgp>

[PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:50 +0800, Daniel Kurtz wrote: > Save the GMBUS2 value read while polling for state changes, and then > reuse this value when determining for which reason the loops were exited. > This is a small optimization which saves a couple of bus accesses for > memory mapped IO reg

[PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:47 +0800, Daniel Kurtz wrote: > Return -ENXIO if a device NAKs a transaction. > > Note: We should return -ETIMEDOUT, too if the transaction times out, > however, that error path is currently handled by the 'bit-bang fallback'. > > Signed-off-by: Daniel Kurtz Can you

[PATCH 3/9] drm/i915/intel_i2c: refactor using intel_gmbus_get_bus

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:44 +0800, Daniel Kurtz wrote: > Instead of letting other modules directly access the ->gmbus array, > introduce a new API, intel_gmbus_get_bus(), to lookup an i2c_adapter for > a given gmbus pin pair identifier. This API enables later refactoring > of the gmbus pin pair

[PATCH 4/9] drm/i915/intel_i2c: cleanup gmbus/gpio pin assignments

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:45 +0800, Daniel Kurtz wrote: > There is no "disabled" port 0. So, don't even try to initialize/scan > it, etc. This saves a bit of time when initializing the driver, since > the we can avoid a 50ms timeout waiting for a device to respond on > a port that doesn't even

[PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 20:41:03 +0800, Daniel Kurtz wrote: > On Wed, Mar 7, 2012 at 8:12 PM, Chris Wilson > wrote: > > On Wed, ??7 Mar 2012 19:50:47 +0800, Daniel Kurtz > > wrote: > >> Return -ENXIO if a device NAKs a transaction. > >> > >> Note: We should return -ETIMEDOUT, too if the transaction

[Bug 47039] radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47039 --- Comment #1 from Marek Ol??k 2012-03-07 04:55:45 UTC --- The commit d0f8561574023aa8f2e0fdf553ee168253567437 should fix this. Please test Mesa master and close this bug if the issue is gone. -- Configure bugmail: https://bugs.freedesktop.or

[PATCH 1/9] drm/i915/intel_i2c: cleanup

2012-03-07 Thread Daniel Kurtz
80 col, spaces around operators and other basic cleanup. Signed-off-by: Daniel Kurtz --- drivers/gpu/drm/i915/intel_i2c.c | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c index d30

[PATCH 5/9] drm/i915/intel_i2c: add locking around i2c algorithm accesses

2012-03-07 Thread Daniel Kurtz
The i915 has multiple i2c adapters. However, they all share a single single set of i2c control registers (algorithm). Thus, different threads trying to access different adapters could interfere with each other. Note: different threads trying to access the same channel is already handled in the i

[PATCH 0/9] drm/i915/intel_i2c: fix gmbus writes and related issues

2012-03-07 Thread Daniel Kurtz
This patchset addresses a couple of issues with the i915 gmbus implementation: * fixes misassigned pin port pair for HDMI-D * fixes write transactions when they are the only transaction requested (including large >4-byte writes) * returns -ENXIO and -ETIMEDOUT as appropriate so upper laye

[PATCH 2/9] drm/i915/intel_i2c: assign HDMI port D to pin pair 6

2012-03-07 Thread Daniel Kurtz
According to i915 documentation [1], "Port D" (DP/HDMI Port D) is actually gmbus pin pair 6 (gmbus0.2:0 == 110b GPIOF), not 7 (111b). Pin pair 7 is a reserved pair. [1] Documentation for [DevSNB+] and [DevIBX], as found on http://intellinuxgraphics.org Note: the "reserved" and "disabled" pairs do

[PATCH 7/9] drm/i915/intel_i2c: use WAIT cycle, not STOP

2012-03-07 Thread Daniel Kurtz
The i915 is only able to generate a STOP cycle (i.e. finalize an i2c transaction) during a DATA or WAIT phase. In other words, the controller rejects a STOP requested as part of the first transaction in a sequence. Thus, for the first transaction we must always use a WAIT cycle, detect when the d

[PATCH 4/9] drm/i915/intel_i2c: cleanup gmbus/gpio pin assignments

2012-03-07 Thread Daniel Kurtz
There is no "disabled" port 0. So, don't even try to initialize/scan it, etc. This saves a bit of time when initializing the driver, since the we can avoid a 50ms timeout waiting for a device to respond on a port that doesn't even exist. Similarly, don't initialize the reserved port, either. Te

[PATCH 9/9] drm/i915/intel_i2c: reuse GMBUS2 value from polling loop

2012-03-07 Thread Daniel Kurtz
Save the GMBUS2 value read while polling for state changes, and then reuse this value when determining for which reason the loops were exited. This is a small optimization which saves a couple of bus accesses for memory mapped IO registers. Note: checkpatch doesn't like this ('assigning in if cond

[PATCH 8/9] drm/i915/intel_i2c: use INDEX cycles for i2c read transactions

2012-03-07 Thread Daniel Kurtz
It is very common for an i2c device to require a small 1 or 2 byte write followed by a read. For example, when reading from an i2c EEPROM it is common to write and address, offset or index followed by a reading some values. The i915 gmbus controller provides a special "INDEX" cycle for performing

[PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Daniel Kurtz
Return -ENXIO if a device NAKs a transaction. Note: We should return -ETIMEDOUT, too if the transaction times out, however, that error path is currently handled by the 'bit-bang fallback'. Signed-off-by: Daniel Kurtz --- drivers/gpu/drm/i915/intel_i2c.c |4 +++- 1 files changed, 3 insertion

[PATCH 3/9] drm/i915/intel_i2c: refactor using intel_gmbus_get_bus

2012-03-07 Thread Daniel Kurtz
Instead of letting other modules directly access the ->gmbus array, introduce a new API, intel_gmbus_get_bus(), to lookup an i2c_adapter for a given gmbus pin pair identifier. This API enables later refactoring of the gmbus pin pair list. Note: It is critical that intel_setup_gmbus() gets called

[PATCH 6/9] drm/i915/intel_i2c: return -ENXIO for device NAK

2012-03-07 Thread Daniel Kurtz
On Wed, Mar 7, 2012 at 8:12 PM, Chris Wilson wrote: > On Wed, ?7 Mar 2012 19:50:47 +0800, Daniel Kurtz > wrote: >> Return -ENXIO if a device NAKs a transaction. >> >> Note: We should return -ETIMEDOUT, too if the transaction times out, >> however, that error path is currently handled by the 'bi

[PATCH 4/9] drm/i915/intel_i2c: cleanup gmbus/gpio pin assignments

2012-03-07 Thread Daniel Kurtz
On Wed, Mar 7, 2012 at 8:17 PM, Chris Wilson wrote: > On Wed, ?7 Mar 2012 19:50:45 +0800, Daniel Kurtz > wrote: >> There is no "disabled" port 0. ?So, don't even try to initialize/scan >> it, etc. ?This saves a bit of time when initializing the driver, since >> the we can avoid a 50ms timeout w

[PATCH] omap2+: add drm device

2012-03-07 Thread Rob Clark
On Wed, Mar 7, 2012 at 5:59 AM, Tomi Valkeinen wrote: > On Tue, 2012-03-06 at 09:29 -0600, Rob Clark wrote: >> On Tue, Mar 6, 2012 at 8:35 AM, Tomi Valkeinen >> wrote: >> > On Tue, 2012-03-06 at 08:01 -0600, Rob Clark wrote: >> >> On Tue, Mar 6, 2012 at 7:26 AM, Tomi Valkeinen >> >> wrote: >>

[PATCH] omap2+: add drm device

2012-03-07 Thread Tomi Valkeinen
2MB. My point was, what if I need more, or I don't need any. Tomi -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120307/e7575ca0/attachment.pgp>

[PATCH 2/9] drm/i915/intel_i2c: assign HDMI port D to pin pair 6

2012-03-07 Thread Chris Wilson
On Wed, 7 Mar 2012 19:50:43 +0800, Daniel Kurtz wrote: > According to i915 documentation [1], "Port D" (DP/HDMI Port D) is > actually gmbus pin pair 6 (gmbus0.2:0 == 110b GPIOF), not 7 (111b). > Pin pair 7 is a reserved pair. > > [1] Documentation for [DevSNB+] and [DevIBX], as found on > http:

[PATCH] omap2+: add drm device

2012-03-07 Thread Rob Clark
On Wed, Mar 7, 2012 at 6:05 AM, Tomi Valkeinen wrote: > On Tue, 2012-03-06 at 09:50 -0600, Gross, Andy wrote: >> >> >> On Tue, Mar 6, 2012 at 8:35 AM, Tomi Valkeinen >> wrote: >> >> >> ? ? ? ? I have to say I don't know much about DMM, but my >> ? ? ? ? understanding is that >> ? ? ? ? DMM is a b

[PATCH] drm/radeon: fix a semaphore deadlock on pre cayman asics

2012-03-07 Thread Alex Deucher
2012/3/7 Christian K?nig : > The out of order execution of semaphore commands on > pre cayman asics doesn't work correctly and can > cause deadlocks, so turn it off for now. > > Signed-off-by: Christian K?nig Good catch. Reviewed-by: Alex Deucher > --- > ?drivers/gpu/drm/radeon/r600.c ?| ? ?3

[Bug 41766] radeon lvds panel heavy flickering after opening laptop lid (Mobility Radeon HD 3650)

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41766 --- Comment #14 from Alex Deucher 2012-03-07 05:37:50 PST --- (In reply to comment #13) > > The interesting thing I notice: issue reproduceable only with OpenGL version > of > KWin. I never can get it reproduced with OpenGL ES version of KWin.

[Bug 47039] radeon: The kernel rejected CS

2012-03-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47039 Sylvain R?ault changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH] drm/radeon/kms: set SX_MISC in the r6xx blit code

2012-03-07 Thread Marek Olšák
Mesa may set it to 1, causing all primitives to be killed. Signed-off-by: Marek Ol??k --- I hope it's right. drivers/gpu/drm/radeon/r600_blit_shaders.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_blit_shaders.c b/drivers/gpu/drm/radeo

[PATCH] drm/radeon/kms: set SX_MISC in the r6xx blit code

2012-03-07 Thread Alex Deucher
On Wed, Mar 7, 2012 at 10:51 AM, Marek Ol??k wrote: > Mesa may set it to 1, causing all primitives to be killed. > > Signed-off-by: Marek Ol??k Looks good. Should probably cc stable as well. Reviewed-by: Alex Deucher > --- > I hope it's right. > > ?drivers/gpu/drm/radeon/r600_blit_shaders.c

[PATCH] r6xx: initialize SX_MISC

2012-03-07 Thread Marek Olšák
If Mesa set it to 1, the DDX would not render anything = the monitor would basically freeze. --- If it's right, please apply it to xf86-video-ati. I don't have commit access. src/r6xx_accel.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/r6xx_accel.c b/src/r6xx_acce

[PATCH] omap2+: add drm device

2012-03-07 Thread Gross, Andy
On Wed, Mar 7, 2012 at 6:05 AM, Tomi Valkeinen wrote: > > Does this "DMM has become synonymous" mean that people just started > calling TILER DMM, and thus the name has stuck, or are there technical > reasons to handle it as DMM in the kernel? If the former, and if TILER > is the technically exact

  1   2   >