Re: [PATCH] drm: make sure drm_vblank_init() has been called before touching vbl_lock

2011-07-06 Thread Michel Dänzer
On Don, 2011-07-07 at 09:10 +1000, Ben Skeggs wrote: > On Wed, 2011-07-06 at 09:38 +0200, Michel Dänzer wrote: > > On Mon, 2011-07-04 at 13:16 +1000, skeg...@gmail.com wrote: > > > From: Ben Skeggs > > > > > > Signed-off-by: Ben Skeggs > > > --- > > > drivers/gpu/drm/drm_irq.c | 15 +

[PATCHv2] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Paul Menzel
commit closes/addresses in the commit message. [?] Thanks, Paul -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #28 from Alex Deucher 2011-07-06 20:07:58 PDT --- (In reply to comment #27) > (In reply to comment #22) > > FWIW, the pageflip interrupts weren't too reliable at least on 6xx, but they > > seemed to work ok on 7xx+. > > Thanks for t

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #28 from Alex Deucher 2011-07-06 20:07:58 PDT --- (In reply to comment #27) > (In reply to comment #22) > > FWIW, the pageflip interrupts weren't too reliable at least on 6xx, but they > > seemed to work ok on 7xx+. > > Thanks for

[PATCH 3/3 REPOST #2] alpha, drm: Add Alpha support to Radeon DRM code

2011-07-06 Thread Jay Estabrook
Alpha needs to have available the system bus address for the Radeon's local memory, so that it can be used in ttm_bo_vm_fault(), when building the PTEs for accessing that VRAM. So, we make bus.addr hold the ioremap() return, and then we can modify bus.base appropriately for use during page fault

[PATCHv2] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Simon Farnsworth
The radeon pageflip ioctl handler delayed submitting the pageflip to hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N CPU), when using a reduced blanking CVT mode, a pageflip submitted to hardware in the IRQ handler failed to complete before the end of the vblank, resulting in

[PATCH] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Simon Farnsworth
On Wednesday 6 July 2011, Jerome Glisse wrote: > On Wed, Jul 6, 2011 at 12:29 PM, Simon Farnsworth > > > In particular, I'm a bit hazy about what the fence in pageflip is > > doing - I assume it's there to synchronize drawing and scanout, so > > that I don't flip to a buffer that's still being dr

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #27 from Mario Kleiner 2011-07-06 18:43:42 PDT --- (In reply to comment #22) > FWIW, the pageflip interrupts weren't too reliable at least on 6xx, but they > seemed to work ok on 7xx+. Thanks for the info Alex. Can you define "work

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #27 from Mario Kleiner 2011-07-06 18:43:42 PDT --- (In reply to comment #22) > FWIW, the pageflip interrupts weren't too reliable at least on 6xx, but they > seemed to work ok on 7xx+. Thanks for the info Alex. Can you define "work

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #26 from Mario Kleiner 2011-07-06 18:02:26 PDT --- Ok, i looked at the patch. The way it is now it won't work reliably and is vulnerable to the races we tried to remove in the current implementation. First, as far as i understood, t

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #26 from Mario Kleiner 2011-07-06 18:02:26 PDT --- Ok, i looked at the patch. The way it is now it won't work reliably and is vulnerable to the races we tried to remove in the current implementation. First, as far as i understood, t

[PATCH] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Simon Farnsworth
The radeon pageflip ioctl handler delayed submitting the pageflip to hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N CPU), when using a reduced blanking CVT mode, a pageflip submitted to hardware in the IRQ handler failed to complete before the end of the vblank, resulting in

Re: [stable] [PATCH 1/3] drm: Separate EDID Header Check from EDID Block Check

2011-07-06 Thread Greg KH
On Thu, Jul 07, 2011 at 01:30:12AM +0200, rei...@googlemail.com wrote: > From: Thomas Reim > > Provides function drm_edid_header_is_valid() for EDID header check > and replaces EDID header check part of function drm_edid_block_valid() > by a call of drm_edid_header_is_valid(). > T

[PATCH 3/3 REPOST #2] alpha, drm: Add Alpha support to Radeon DRM code

2011-07-06 Thread Jay Estabrook
Alpha needs to have available the system bus address for the Radeon's local memory, so that it can be used in ttm_bo_vm_fault(), when building the PTEs for accessing that VRAM. So, we make bus.addr hold the ioremap() return, and then we can modify bus.base appropriately for use during page fault

[stable] [PATCH 1/3] drm: Separate EDID Header Check from EDID Block Check

2011-07-06 Thread Greg KH
On Thu, Jul 07, 2011 at 01:30:12AM +0200, reimth at googlemail.com wrote: > From: Thomas Reim > > Provides function drm_edid_header_is_valid() for EDID header check > and replaces EDID header check part of function drm_edid_block_valid() > by a call of drm_edid_header_is_valid(). >

[PATCH 1/3] drm: Separate EDID Header Check from EDID Block Check

2011-07-06 Thread reimth
From: Thomas Reim Provides function drm_edid_header_is_valid() for EDID header check and replaces EDID header check part of function drm_edid_block_valid() by a call of drm_edid_header_is_valid(). This is a prerequisite to extend DDC probing, e. g. in function radeon_ddc_probe

[PATCH 2/3] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread reimth
From: Thomas Reim Fixes bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/722806: Some integrated ATI Radeon chipset implementations with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability of a DDC even when the add-on card is not plugged in or HDMI is disa

[PATCH 3/3] drm/radeon: Log Subsystem Vendor and Device Information

2011-07-06 Thread reimth
From: Thomas Reim Log PCI subsystem vendor and subsystem device ID in addition to PCI vendor and device ID during kernel mode initialisation. This helps to better identify radeon devices of third-party vendors, e. g. for bug analysis. Tested for kernel 2.35, 2.38 and 3.0 on A

[PATCH 0/3] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread reimth
From: Thomas Reim Dear Alex, > > From: Thomas Reim > > > >Some integrated ATI Radeon chipset implementations > >with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability > >of a DDC even when the add-on card is not plugged in or HDMI is disabled > >in BIOS setup.

Re: [PATCH] drm: make sure drm_vblank_init() has been called before touching vbl_lock

2011-07-06 Thread Ben Skeggs
On Wed, 2011-07-06 at 09:38 +0200, Michel Dänzer wrote: > On Mon, 2011-07-04 at 13:16 +1000, skeg...@gmail.com wrote: > > From: Ben Skeggs > > > > Signed-off-by: Ben Skeggs > > --- > > drivers/gpu/drm/drm_irq.c | 15 +-- > > 1 files changed, 9 insertions(+), 6 deletions(-) > > >

[PATCH] drm/radeon/kms: fix typo in IH_CNTL swap bitfield

2011-07-06 Thread Alex Deucher
Only affects BE systems. Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/evergreend.h |2 +- drivers/gpu/drm/radeon/r600d.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreend.h b/drivers/gpu/drm/ra

[PATCH] drm/radeon/kms: fix typo in evergreen disp int status register

2011-07-06 Thread Alex Deucher
Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/evergreend.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreend.h b/drivers/gpu/drm/radeon/evergreend.h index 1636e34..5a44afb 100644 --- a/drivers/gpu/drm/rad

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #25 from Alex Deucher 2011-07-06 14:52:46 PDT --- You can select where you want the double buffered update to take place by adjusting the D*MODE_MASTER_UPDATE_MODE regs (pre-avivo has similar bits). -- Configure bugmail: https://bug

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #25 from Alex Deucher 2011-07-06 14:52:46 PDT --- You can select where you want the double buffered update to take place by adjusting the D*MODE_MASTER_UPDATE_MODE regs (pre-avivo has similar bits). -- Configure bugmail: https://bu

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #24 from Jerome Glisse 2011-07-06 14:35:49 PDT --- So rereading the spec it's all about computing vblank lenght and adding it to timestamp at vblank interrupt. Seems like the most reliable solution -- Configure bugmail: https://bu

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #24 from Jerome Glisse 2011-07-06 14:35:49 PDT --- So rereading the spec it's all about computing vblank lenght and adding it to timestamp at vblank interrupt. Seems like the most reliable solution -- Configure bugmail: https://bu

[PATCH] drm/radeon/kms: free ib pool on module unloading

2011-07-06 Thread Alex Deucher
On Wed, Jul 6, 2011 at 2:30 PM, wrote: > From: Jerome Glisse > > ib pool weren't free for various newer asic on module unload. > This doesn't cause much arm but still could be candidate for > stable. > > Signed-off-by: Jerome Glisse Reviewed-by: Alex Deucher > --- > ?drivers/gpu/drm/radeon/e

[PATCH] drm/radeon/kms: free ib pool on module unloading

2011-07-06 Thread j.gli...@gmail.com
From: Jerome Glisse ib pool weren't free for various newer asic on module unload. This doesn't cause much arm but still could be candidate for stable. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/evergreen.c |1 + drivers/gpu/drm/radeon/ni.c|1 + drivers/gpu/drm/rade

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #23 from Jerome Glisse 2011-07-06 14:25:54 PDT --- So what exactly the timestamp should correspond to ? For me vblank is good enough and looking at specification its says that it's when the hw register are using the new value. So eit

[PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Thomas Reim
Here are the kernel logs with and without the patch for better visualisation of the changes: 1. dmesg after applying the patch: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.0-3-generic (root at Mark-Aurel) (gcc versi

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #23 from Jerome Glisse 2011-07-06 14:25:54 PDT --- So what exactly the timestamp should correspond to ? For me vblank is good enough and looking at specification its says that it's when the hw register are using the new value. So eit

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #22 from Alex Deucher 2011-07-06 14:13:27 PDT --- FWIW, the pageflip interrupts weren't too reliable at least on 6xx, but they seemed to work ok on 7xx+. Also, I can see problems where you might not get interrupts for some flips if a

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #22 from Alex Deucher 2011-07-06 14:13:27 PDT --- FWIW, the pageflip interrupts weren't too reliable at least on 6xx, but they seemed to work ok on 7xx+. Also, I can see problems where you might not get interrupts for some flips if

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #21 from Mario Kleiner 2011-07-06 13:54:14 PDT --- @Simon: Michel and your testcode is right, the pageflip is only programmed about 2 scanlines after the end of vblank, so the crtc waits for another full refresh cycle before flipping

Re: [PATCHv2] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Paul Menzel
Am Mittwoch, den 06.07.2011, 19:04 +0100 schrieb Simon Farnsworth: > The radeon pageflip ioctl handler delayed submitting the pageflip to > hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N > CPU), when using a reduced blanking CVT mode, a pageflip submitted to > hardware in th

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #21 from Mario Kleiner 2011-07-06 13:54:14 PDT --- @Simon: Michel and your testcode is right, the pageflip is only programmed about 2 scanlines after the end of vblank, so the crtc waits for another full refresh cycle before flipping

[PATCH] drm/radeon/kms: fix typo in IH_CNTL swap bitfield

2011-07-06 Thread Alex Deucher
Only affects BE systems. Signed-off-by: Alex Deucher Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/evergreend.h |2 +- drivers/gpu/drm/radeon/r600d.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreend.h b/drivers/gpu/drm/radeo

[PATCH] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Jerome Glisse
On Wed, Jul 6, 2011 at 12:29 PM, Simon Farnsworth wrote: > The radeon pageflip ioctl handler delayed submitting the pageflip to > hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N > CPU), when using a reduced blanking CVT mode, a pageflip submitted to > hardware in the IRQ han

[PATCH] drm/radeon/kms: fix typo in evergreen disp int status register

2011-07-06 Thread Alex Deucher
Signed-off-by: Alex Deucher Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/evergreend.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreend.h b/drivers/gpu/drm/radeon/evergreend.h index 1636e34..5a44afb 100644 --- a/drivers/gpu/drm/radeon

[PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread rei...@googlemail.com
From: Thomas Reim Some integrated ATI Radeon chipset implementations with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability of a DDC even when the add-on card is not plugged in or HDMI is disabled in BIOS setup. In this case, drm_get_edid() and drm_edid_block_val

[PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Alex Deucher
On Wed, Jul 6, 2011 at 11:39 AM, Alex Deucher wrote: > On Wed, Jul 6, 2011 at 6:09 AM, ? wrote: >> From: Thomas Reim >> >> ? ?Some integrated ATI Radeon chipset implementations >> ? ?with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability >> ? ?of a DDC even when the add-on card

[PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Alex Deucher
On Wed, Jul 6, 2011 at 6:09 AM, wrote: > From: Thomas Reim > > ? ?Some integrated ATI Radeon chipset implementations > ? ?with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability > ? ?of a DDC even when the add-on card is not plugged in or HDMI is disabled > ? ?in BIOS setup. In

[PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Thomas Reim
Dear Alex, sorry for the long delay. I have updated the patch according to the comments in your last e-mail (see below). I've added function radeon_connector_needs_extended_probe() and flag radeon_connector->requires_extended_probe that provide the means to force on a board,connector basis to che

Re: [PATCH] drm/radeon/kms: free ib pool on module unloading

2011-07-06 Thread Alex Deucher
On Wed, Jul 6, 2011 at 2:30 PM, wrote: > From: Jerome Glisse > > ib pool weren't free for various newer asic on module unload. > This doesn't cause much arm but still could be candidate for > stable. > > Signed-off-by: Jerome Glisse Reviewed-by: Alex Deucher > --- >  drivers/gpu/drm/radeon/e

[PATCH] drm/radeon/kms: free ib pool on module unloading

2011-07-06 Thread j . glisse
From: Jerome Glisse ib pool weren't free for various newer asic on module unload. This doesn't cause much arm but still could be candidate for stable. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/evergreen.c |1 + drivers/gpu/drm/radeon/ni.c|1 + drivers/gpu/drm/rade

[PATCHv2] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Simon Farnsworth
The radeon pageflip ioctl handler delayed submitting the pageflip to hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N CPU), when using a reduced blanking CVT mode, a pageflip submitted to hardware in the IRQ handler failed to complete before the end of the vblank, resulting in

[Bug 36327] fujitsu siemens amilo li1718: ati radeon x200m does not resume from suspend

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36327 --- Comment #20 from Karesz L. 2011-07-06 10:48:51 PDT --- Okay, I had some time, and tried this: I've made this script: #!/bin/sh sync echo 1 > /sys/power/pm_trace echo mem > /sys/power/state (from here: http://lxr.linux.no/linux+v2.6.34.1/D

[Bug 36327] fujitsu siemens amilo li1718: ati radeon x200m does not resume from suspend

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36327 --- Comment #20 from Karesz L. 2011-07-06 10:48:51 PDT --- Okay, I had some time, and tried this: I've made this script: #!/bin/sh sync echo 1 > /sys/power/pm_trace echo mem > /sys/power/state (from here: http://lxr.linux.no/linux+v2.6.34.1/D

Re: [PATCH] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Simon Farnsworth
On Wednesday 6 July 2011, Jerome Glisse wrote: > On Wed, Jul 6, 2011 at 12:29 PM, Simon Farnsworth > > > In particular, I'm a bit hazy about what the fence in pageflip is > > doing - I assume it's there to synchronize drawing and scanout, so > > that I don't flip to a buffer that's still being dr

Re: [PATCH] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Jerome Glisse
On Wed, Jul 6, 2011 at 12:29 PM, Simon Farnsworth wrote: > The radeon pageflip ioctl handler delayed submitting the pageflip to > hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N > CPU), when using a reduced blanking CVT mode, a pageflip submitted to > hardware in the IRQ han

[PATCH] drm: make sure drm_vblank_init() has been called before touching vbl_lock

2011-07-06 Thread Michel Dänzer
On Mon, 2011-07-04 at 13:16 +1000, skeggsb at gmail.com wrote: > From: Ben Skeggs > > Signed-off-by: Ben Skeggs > --- > drivers/gpu/drm/drm_irq.c | 15 +-- > 1 files changed, 9 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c >

[PATCH] drm/radeon: Move pageflip request from vblank IRQ to ioctl

2011-07-06 Thread Simon Farnsworth
The radeon pageflip ioctl handler delayed submitting the pageflip to hardware until the vblank IRQ handler. On AMD Fusion (PALM GPU, G-T56N CPU), when using a reduced blanking CVT mode, a pageflip submitted to hardware in the IRQ handler failed to complete before the end of the vblank, resulting in

Re: [PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Alex Deucher
On Wed, Jul 6, 2011 at 11:39 AM, Alex Deucher wrote: > On Wed, Jul 6, 2011 at 6:09 AM,   wrote: >> From: Thomas Reim >> >>    Some integrated ATI Radeon chipset implementations >>    with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability >>    of a DDC even when the add-on card

Re: [PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Alex Deucher
On Wed, Jul 6, 2011 at 6:09 AM, wrote: > From: Thomas Reim > >    Some integrated ATI Radeon chipset implementations >    with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability >    of a DDC even when the add-on card is not plugged in or HDMI is disabled >    in BIOS setup. In

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #20 from Simon Farnsworth 2011-07-06 07:24:10 PDT --- So, this is a gross hack to demonstrate that it's the delaying of the pageflip that's hurting me: [sfarnsworth@f12simon airlied-drm-fixes]$ git diff diff --git a/drivers/gpu/drm/

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #20 from Simon Farnsworth 2011-07-06 07:24:10 PDT --- So, this is a gross hack to demonstrate that it's the delaying of the pageflip that's hurting me: [sfarnsworth at f12simon airlied-drm-fixes]$ git diff diff --git a/drivers/gpu/d

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #10 from Alex Deucher 2011-07-06 07:12:12 PDT --- (In reply to comment #9) > Like an issue in the code or the config? 3D driver code. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiv

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #10 from Alex Deucher 2011-07-06 07:12:12 PDT --- (In reply to comment #9) > Like an issue in the code or the config? 3D driver code. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are recei

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #9 from ch...@chris-portela.com 2011-07-06 07:11:13 PDT --- Like an issue in the code or the config? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #9 from chris at chris-portela.com 2011-07-06 07:11:13 PDT --- Like an issue in the code or the config? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- Y

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #8 from Alex Deucher 2011-07-06 06:31:37 PDT --- Sounds like some missing state init in the 3D driver. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- Y

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #8 from Alex Deucher 2011-07-06 06:31:37 PDT --- Sounds like some missing state init in the 3D driver. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #7 from ch...@chris-portela.com 2011-07-06 06:23:08 PDT --- I needed the problem to reoccur to test this and it did. I tried to play videos with Totem and it couldn't play video but then I tried Mplayer and it fixed some of the fonts b

[Bug 38859] Clipping in some fonts after returning from sleep

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38859 --- Comment #7 from chris at chris-portela.com 2011-07-06 06:23:08 PDT --- I needed the problem to reoccur to test this and it did. I tried to play videos with Totem and it couldn't play video but then I tried Mplayer and it fixed some of the font

Re: [PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Thomas Reim
Here are the kernel logs with and without the patch for better visualisation of the changes: 1. dmesg after applying the patch: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.0-3-generic (root@Mark-Aurel) (gcc version

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #19 from Simon Farnsworth 2011-07-06 03:19:46 PDT --- I'm using the preferred mode from the panel's EDID, which xrandr says is: 1920x1200 (0x54) 154.0MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 200

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 --- Comment #19 from Simon Farnsworth 2011-07-06 03:19:46 PDT --- I'm using the preferred mode from the panel's EDID, which xrandr says is: 1920x1200 (0x54) 154.0MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 200

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38800 Michel Dänzer changed: What|Removed |Added CC||mario.klei...@tuebingen.mpg

[Bug 38800] glXSwapBuffersMscOML is slow on AMD Fusion but not on Intel 945 w/Atom

2011-07-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38800 Michel D?nzer changed: What|Removed |Added CC||mario.kleiner at tuebingen.mpg

[PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread reimth
From: Thomas Reim Some integrated ATI Radeon chipset implementations with add-on HDMI card (e. g. Asus M2A-VM HDMI) indicate the availability of a DDC even when the add-on card is not plugged in or HDMI is disabled in BIOS setup. In this case, drm_get_edid() and drm_edid_block_val

Re: [PATCH] drm/radeon: Fix Asus M2A-VM HDMI EDID error flooding problem

2011-07-06 Thread Thomas Reim
Dear Alex, sorry for the long delay. I have updated the patch according to the comments in your last e-mail (see below). I've added function radeon_connector_needs_extended_probe() and flag radeon_connector->requires_extended_probe that provide the means to force on a board,connector basis to che

Reverting rc6 by default

2011-07-06 Thread Francesco Allertsen
On Tue, Jun 21, 2011 at 12:01:34PM -0700, Keith Packard wrote: > Thanks. I'll see if I can't get an X201s upgraded to this version and > see if we can reproduce the problem you're having... Any news? I have found the time today for more debugging. Attached there are 3 files. dmesg-startup is th

Re: [PATCH] drm: make sure drm_vblank_init() has been called before touching vbl_lock

2011-07-06 Thread Michel Dänzer
On Mon, 2011-07-04 at 13:16 +1000, skeg...@gmail.com wrote: > From: Ben Skeggs > > Signed-off-by: Ben Skeggs > --- > drivers/gpu/drm/drm_irq.c | 15 +-- > 1 files changed, 9 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c > ind