[PATCH] drm/radeon/kms: add accel parameter

2010-04-23 Thread Alex Deucher
From 114f3491a411f50a0de1d59475fc267efd5afa6a Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 23 Apr 2010 17:12:46 -0400 Subject: [PATCH] drm/radeon/kms: add accel parameter passing accel=0 will disable acceleration. This is useful for debugging. Signed-off-by: Alex

Re: RV630 KMS PM info on tables requested

2010-04-27 Thread Alex Deucher
On Tue, Apr 27, 2010 at 5:35 AM, Klaus Doblmann B.A. klaus.doblm...@gmail.com wrote: I sent this to Alex a few days ago but felt I should post it on this list as well: You might want to check the address you used as I never got the email. I've been testing radeon KMS PM with 2.6.34-rc* for

Re: [PATCH] drm/radeon/kms: fix tv dac conflict resolver

2010-04-27 Thread Alex Deucher
On Tue, Apr 27, 2010 at 6:24 PM, GhePeU ghe...@virgilio.it wrote: Il giorno mar, 27/04/2010 alle 18.11 -0400, Alex Deucher ha scritto: On Tue, Apr 27, 2010 at 5:30 PM, GhePeU ghe...@virgilio.it wrote: Il giorno gio, 15/04/2010 alle 13.41 -0400, Alex Deucher ha scritto: From

Re: [PATCH] drm/radeon/kms: fix legacy LVDS mode computation

2010-04-30 Thread Alex Deucher
On Fri, Apr 30, 2010 at 6:08 AM, Jerome Glisse jgli...@redhat.com wrote: From: John Doe gli...@ned.localdomain Compute downscaled mode timing like DDX does on legacy hw. With this patch it's now possible to use non native laptop panel resolution. Tested on M7 (7500) laptop. I think I just

Re: [PATCH] drm/radeon/kms: fix legacy LVDS mode computation

2010-04-30 Thread Alex Deucher
On Fri, Apr 30, 2010 at 11:16 AM, Alex Deucher alexdeuc...@gmail.com wrote: On Fri, Apr 30, 2010 at 6:08 AM, Jerome Glisse jgli...@redhat.com wrote: From: John Doe gli...@ned.localdomain Compute downscaled mode timing like DDX does on legacy hw. With this patch it's now possible to use non

[PATCH] drm/radeon/kms/legacy: only enable load detection property on DVI-I

2010-04-30 Thread Alex Deucher
From fe6f8ca21f904883be8c33d0f7e11df2c7165809 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 30 Apr 2010 12:37:31 -0400 Subject: [PATCH] drm/radeon/kms/legacy: only enable load detection property on DVI-I DVI-D doesn't have analog. This matches the avivo behavior

Re: [PATCH] drm/radeon/kms: fix legacy LVDS mode computation

2010-04-30 Thread Alex Deucher
On Fri, Apr 30, 2010 at 12:06 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Fri, Apr 30, 2010 at 11:16 AM, Alex Deucher alexdeuc...@gmail.com wrote: On Fri, Apr 30, 2010 at 6:08 AM, Jerome Glisse jgli...@redhat.com wrote: From: John Doe gli...@ned.localdomain Compute downscaled mode timing

Re: RV630 KMS PM info on tables requested

2010-05-03 Thread Alex Deucher
On Sun, May 2, 2010 at 3:13 PM, Klaus Doblmann B.A. klaus.doblm...@gmail.com wrote: On Tue, 27 Apr 2010 14:06:41 -0400 Alex Deucher alexdeuc...@gmail.com wrote: I've been testing radeon KMS PM with 2.6.34-rc* for a few days now and I wanted to send you my testcase. Even though PM

Re: [PATCH] drm/radeon/kms: add query for crtc hw id from crtc id to get info

2010-05-07 Thread Alex Deucher
On Fri, May 7, 2010 at 11:18 AM, Jerome Glisse jgli...@redhat.com wrote: Userspace need to know the hw crtc id (0, 1, 2, ...) from the drm crtc id. Bump the minor version so userspace can enable conditionaly features depend on this. Just curious what we need this for? Couldn't the id be

[PATCH] drm/radeon/kms/atom: disable the encoders in encoder_disable

2010-05-07 Thread Alex Deucher
Previously we just set them to dpms off. This should save additional power. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_encoders.c | 39 ++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 0/9] drm/radeon/kms: update pm code

2010-05-07 Thread Alex Deucher
This set of patches applies on top of the code in drm-radeon-testing. I've been testing this code pretty hard this week and it's been solid. In addition to some fixes on top of what's in d-r-t, it also reworks the pm code to support two basic methods: 1. dynpm 2. profile You can select the

[PATCH 2/9] drm/radeon/kms: enable misc pm power state features on r1xx-r4xx

2010-05-07 Thread Alex Deucher
voltage drop, dynamic voltage, dynamic sclk, pcie lane adjust, etc, Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r100.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index

[PATCH 3/9] drm/radeon/kms: re-enable gui idle interrupts on r6xx+

2010-05-07 Thread Alex Deucher
Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_pm.c | 24 +--- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index 2eb675e..bded834 100644

[PATCH 4/9] radeon: Split out ring locking and allocation

2010-05-07 Thread Alex Deucher
From: Matthew Garrett m...@redhat.com We need to handle the ring while we've already locked it, so split out the allocation and commit functions in order to allow them to be used. Signed-off-by: Matthew Garrett m...@redhat.com --- drivers/gpu/drm/radeon/radeon.h |2 ++

[PATCH 5/9] radeon: Use fences to gate entry to reclocking on r600

2010-05-07 Thread Alex Deucher
From: Matthew Garrett m...@redhat.com GUI idle interrupts don't seem to work terribly well on r500 and earlier, so let's use a fence instead. Signed-off-by: Matthew Garrett m...@redhat.com --- drivers/gpu/drm/radeon/radeon_pm.c |8 1 files changed, 8 insertions(+), 0 deletions(-)

[PATCH 6/9] drm/radeon/kms: fix lock ordering in ring, ib handling

2010-05-07 Thread Alex Deucher
Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_ring.c | 39 +++-- 1 files changed, 22 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index 6cc4259..261e98a

Re: [PATCH 0/9] drm/radeon/kms: update pm code

2010-05-10 Thread Alex Deucher
On Mon, May 10, 2010 at 12:04 PM, Andy Furniss andy...@ukfsn.org wrote: Alex Deucher wrote: The profile method exposes 4 profiles that can be selected from: 1. default 2. auto 3. low 4. high Select the profile by echoing the selected profile to /sys/class/drm/card-0/device/power_profile

[PATCH 2/2] drm/radeon/kms: hpd cleanup

2010-05-18 Thread Alex Deucher
- Use radeon hpd enum consistently (in both hotplug and dp) - Legacy r100 with DVI should be HPD_1 not NONE Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/atombios_dp.c |2 +- drivers/gpu/drm/radeon/radeon_atombios.c |3 +-- drivers/gpu/drm/radeon

[PATCH] drm/edid: fix typo in 1600x1...@75 mode

2010-05-19 Thread Alex Deucher
Spotted by Scott Bertilson. Fixes fdo bug 28146. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/drm_edid.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 7188674..54d749d 100644

[PATCH] drm/radeon/kms: don't default display priority to high on rs4xx

2010-05-20 Thread Alex Deucher
Seems to cause issues with the sound hardware. Fixes kernel bug 15982: https://bugzilla.kernel.org/show_bug.cgi?id=15982 Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/radeon_display.c |5 - 1 files changed, 4 insertions(+), 1

[PATCH] drm/radeon/kms/pm/r600: select the mid clock mode for single head low profile

2010-05-20 Thread Alex Deucher
This saves some more power at the expense of performance. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r600.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index a724431

Re: build warning in radeon/atombios_crtc.c: pll' may be used uninitialized

2010-05-25 Thread Alex Deucher
On Tue, May 25, 2010 at 4:25 PM, Stefan Richter stef...@s5r6.in-berlin.de wrote: Hi, seen with gcc 4.3.4 in current git (although 2.6.34 should show that too): drivers/gpu/drm/radeon/atombios_crtc.c: In function 'atombios_crtc_set_pll': drivers/gpu/drm/radeon/atombios_crtc.c:684: warning:

Re: [PATCH] drm/radeon/kms: suppress a build warning (unused variable)

2010-05-25 Thread Alex Deucher
looks good. Reviewed-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/atombios_crtc.c |    1 +  1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 03dd6c4..f3f2827 100644

This set of drm patches implements support for 1D and 2D tiling on

2010-05-25 Thread Alex Deucher
First two patches enable scanout from tiled surfaces. Third patch updates the CS checker to deal properly with tiling. Fourth patch fixes surface checking for both tiled and non-tiled pitch, height, and offset alignment. Fifth patch adds a new info query for the MC tile config which is required

[PATCH 2/5] drm/radeon/kms: Add crtc tiling setup support for evergreen

2010-05-25 Thread Alex Deucher
Needed for scanning out of a tiled buffer. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/atombios_crtc.c |5 + drivers/gpu/drm/radeon/evergreen_reg.h |5 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon

[PATCH 4/5] drm/radeon/kms: fix CS alignment checking for tiling

2010-05-25 Thread Alex Deucher
Covers, depth, cb, and textures. Hopefully I got this right. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r600_cs.c | 172 ++--- 1 files changed, 139 insertions(+), 33 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_cs.c b

[PATCH 5/5] drm/radeon/kms/r6xx+: add query for tile config

2010-05-25 Thread Alex Deucher
Userspace needs this information to access tiled buffers via the CPU. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/evergreen.c |1 + drivers/gpu/drm/radeon/r600.c |2 +- drivers/gpu/drm/radeon/radeon.h |3 +++ drivers/gpu/drm/radeon

[PATCH 0/3] Add r6xx/r7xx tiling support to mesa

2010-05-25 Thread Alex Deucher
These patches along with the drm and ddx patches enable tiling on r6xx/r7xx hardware. Alex ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH 2/3] r600: add new relocs for tiling support

2010-05-25 Thread Alex Deucher
Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- src/mesa/drivers/dri/r600/r600_blit.c | 20 +++-- src/mesa/drivers/dri/r600/r700_chip.c | 37 +++- 2 files changed, 39 insertions(+), 18 deletions(-) diff --git a/src/mesa/drivers/dri/r600

[PATCH 1/2] r6xx/r7xx: add support for tiling with kms

2010-05-25 Thread Alex Deucher
Requires radeon drm 2.5.0 and updated mesa. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- src/drmmode_display.c |7 ++- src/r600_exa.c|3 + src/r600_state.h |3 + src/r6xx_accel.c | 12 -- src/radeon.h |6 +++ src/radeon_dri2.c | 10

[PATCH] drm/radeon/kms/pm: add support for SetVoltage cmd table (V2)

2010-05-27 Thread Alex Deucher
- This enables voltage adjustment on r6xx+ and certain r5xx asics. - Voltage drop support is already available for most r1xx-r5xx asics. V2: endian fix for voltage table. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r600.c|6 + drivers/gpu/drm

[PATCH] drm/radeon/kms: add support for internal thermal sensors

2010-06-01 Thread Alex Deucher
for GPU thermal information rather than using the internal thermal sensor directly. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/Kconfig |1 + drivers/gpu/drm/radeon/evergreen.c | 73 ++ drivers/gpu/drm/radeon

Re: [PATCH] drm/radeon/kms: add support for internal thermal sensors

2010-06-01 Thread Alex Deucher
On Tue, Jun 1, 2010 at 4:42 PM, Matthew Garrett mj...@srcf.ucam.org wrote: On Tue, Jun 01, 2010 at 04:31:41PM -0400, Alex Deucher wrote: rv6xx/rv7xx/evergreen families supported; older asics did not have an internal thermal sensor.  Exposed via sysfs gpu_temp attribute. This really should

Re: [PATCH] drm/radeon/kms: add support for internal thermal sensors (v2)

2010-06-02 Thread Alex Deucher
On Wed, Jun 2, 2010 at 7:55 AM, Julien Cristau jcris...@debian.org wrote: On Tue, Jun  1, 2010 at 18:52:30 -0400, Alex Deucher wrote: diff --git a/drivers/gpu/drm/radeon/Kconfig b/drivers/gpu/drm/radeon/Kconfig index 80c5b3e..2e3896d 100644 --- a/drivers/gpu/drm/radeon/Kconfig +++ b/drivers

[PATCH] drm/radeon/kms: add support for internal thermal sensors (v3)

2010-06-02 Thread Alex Deucher
than using the internal thermal sensor directly. v2: export millidegrees celsius, use hwmon device properly. v3: fix Kconfig Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/Kconfig |1 + drivers/gpu/drm/radeon/evergreen.c | 17 ++ drivers/gpu

[PATCH] drm/radeon/kms: fix regressions in CS checker due to r6xx tiling changes

2010-06-02 Thread Alex Deucher
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28327 Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r600_cs.c | 43 ++--- 1 files changed, 16 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_cs.c b

Re: [PATCH] drm/radeon/kms: fix regressions in CS checker due to r6xx tiling changes

2010-06-02 Thread Alex Deucher
On Wed, Jun 2, 2010 at 2:32 PM, Matt Turner matts...@gmail.com wrote: On Wed, Jun 2, 2010 at 1:53 PM, Alex Deucher alexdeuc...@gmail.com wrote: Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28327 Signed-off-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/r600_cs.c

Re: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display

2010-06-02 Thread Alex Deucher
On Wed, Jun 2, 2010 at 3:12 PM, Pasi Kärkkäinen pa...@iki.fi wrote: Hello, If someone wants to take a look at this bug I'd be glad: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display:

Re: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display

2010-06-02 Thread Alex Deucher
On Wed, Jun 2, 2010 at 4:36 PM, Pasi Kärkkäinen pa...@iki.fi wrote: On Wed, Jun 02, 2010 at 11:15:44PM +0300, Pasi Kärkkäinen wrote: On Wed, Jun 02, 2010 at 03:28:07PM -0400, Alex Deucher wrote: On Wed, Jun 2, 2010 at 3:12 PM, Pasi Kärkkäinen pa...@iki.fi wrote: Hello, If someone

Re: [PATCH] drm/radeon/kms: fix regressions in CS checker due to r6xx tiling changes

2010-06-02 Thread Alex Deucher
On Wed, Jun 2, 2010 at 9:30 PM, Matt Turner matts...@gmail.com wrote: On Wed, Jun 2, 2010 at 3:16 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Wed, Jun 2, 2010 at 2:32 PM, Matt Turner matts...@gmail.com wrote: On Wed, Jun 2, 2010 at 1:53 PM, Alex Deucher alexdeuc...@gmail.com wrote: Fixes

Re: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display

2010-06-03 Thread Alex Deucher
On Thu, Jun 3, 2010 at 7:56 AM, Pasi Kärkkäinen pa...@iki.fi wrote: On Wed, Jun 02, 2010 at 05:04:24PM -0400, Alex Deucher wrote: On Wed, Jun 2, 2010 at 4:36 PM, Pasi Kärkkäinen pa...@iki.fi wrote: On Wed, Jun 02, 2010 at 11:15:44PM +0300, Pasi Kärkkäinen wrote: On Wed, Jun 02, 2010 at 03:28

[PATCH 1/2] drm/radeon/kms/pm: Misc fixes

2010-06-03 Thread Alex Deucher
init will have set the power state back to the default so reset the tracking state values. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_pm.c | 25 + 1 files changed, 9 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/radeon

[PATCH 2/2] drm/radeon/kms/pm: add mid profile

2010-06-03 Thread Alex Deucher
was previously only available as a dpms off state. Enabling the low profile when the displays are on has been known to cause display corruption in some cases. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r100.c | 10 drivers/gpu/drm/radeon/r420.c | 12

Re: [PATCH] drm/radeon/kms/pm: add support for SetVoltage cmd table (V2)

2010-06-03 Thread Alex Deucher
2010/6/3 Rafał Miłecki zaj...@gmail.com: 2010/5/28 Alex Deucher alexdeuc...@gmail.com: diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index dac2534..d84d7cf 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c @@ -475,6 +475,12 @@ void

Re: [PATCH] drm/radeon/kms/evergreen: set accel_enabled

2010-06-04 Thread Alex Deucher
On Fri, Jun 4, 2010 at 6:37 AM, Jerome Glisse gli...@freedesktop.org wrote: On Thu, Jun 03, 2010 at 07:07:09PM -0400, Alex Deucher wrote: This is needed to enable accel in the ddx.  However, due to a bug in older versions of the ddx, it relies on accel being disabled in order to load properly

Re: Glitch in newer drm-next/drm-radeon-testing

2010-06-04 Thread Alex Deucher
2010/6/4 Marius Gröger marius.groe...@googlemail.com: Hi All, Michel Dänzer schrieb: On Mit, 2010-06-02 at 08:07 +0200, Marius Gröger wrote: Hello All, I'm trying the top-of-trunk drm-2.6 trees (both drm-next and drm-radeon-testing) with my Radeon HD 3200 GPU over HDMI. The primary

Re: Glitch in newer drm-next/drm-radeon-testing

2010-06-04 Thread Alex Deucher
2010/6/4 Marius Gröger marius.groe...@googlemail.com: Alex Deucher schrieb: 2010/6/4 Marius Gröger marius.groe...@googlemail.com: Hi All, Michel Dänzer schrieb: On Mit, 2010-06-02 at 08:07 +0200, Marius Gröger wrote: Hello All, I'm trying the top-of-trunk drm-2.6 trees (both drm-next

Re: Glitch in newer drm-next/drm-radeon-testing

2010-06-04 Thread Alex Deucher
2010/6/4 Marius Gröger marius.groe...@googlemail.com: Am Fri, 4 Jun 2010 11:17:12 -0400 schrieb Alex Deucher alexdeuc...@gmail.com: 2010/6/4 Marius Gröger marius.groe...@googlemail.com: Alex Deucher schrieb: 2010/6/4 Marius Gröger marius.groe...@googlemail.com: Hi All, Michel Dänzer

Re: [PATCH V3] drm/radeon/kms/r600+: use voltage from requested clock mode

2010-06-06 Thread Alex Deucher
2010/6/6 Rafał Miłecki zaj...@gmail.com: Signed-off-by: Rafał Miłecki zaj...@gmail.com Good catch. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- This fixes FDO bug #28375, it's kind of regression, so quite important to have it for .35. V2: Fix on RV770+ as well. All other chipsets

Re: [PATCH 1/2] drm/radeon/kms/r600+: do not set the same voltage as current one

2010-06-06 Thread Alex Deucher
-voltage) { +                       radeon_atom_set_voltage(rdev, voltage-voltage); +                       rdev-pm.current_vddc = voltage-voltage; +               } +       }  }  /* -- 1.6.4.2 From 043d35d6dca6f9c967bd9fc70abd47516e0649ad Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc

Re: [PATCH 2/2] drm/radeon/kms: add trivial debugging for voltage

2010-06-06 Thread Alex Deucher
2010/6/6 Rafał Miłecki zaj...@gmail.com: Signed-off-by: Rafał Miłecki zaj...@gmail.com Looks good. Signed-off-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/evergreen.c |    1 +  drivers/gpu/drm/radeon/r600.c      |    1 +  drivers/gpu/drm/radeon/radeon_pm.c |    2

Re: [PATCH] drm/radeon/kms/pm: resurrect printing power states

2010-06-06 Thread Alex Deucher
. At some point we really ought to clean up the debugging output in radeon. There's just too much info much of which isn't useful any more. The new DRM_DEBUG_* macros would be a good start. Signed-off-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/radeon_pm.c |   45

Re: [alsa-devel] No mixers on ATI RS780 Azalia

2010-06-07 Thread Alex Deucher
On Mon, Jun 7, 2010 at 8:49 AM, Jan Engelhardt jeng...@medozas.de wrote: On Thursday 2010-05-27 14:34, Clemens Ladisch wrote: Clemens Ladisch wrote: Please do not assume that the HDMI device is the right one, since you never got either one to work in Linux. Hmm, that computer is separate from

Re: [alsa-devel] No mixers on ATI RS780 Azalia

2010-06-07 Thread Alex Deucher
On Mon, Jun 7, 2010 at 11:25 AM, Jan Engelhardt jeng...@medozas.de wrote: On Monday 2010-06-07 17:03, Alex Deucher wrote: * Why is it that I am only allowed to have sound in graphics mode? HDMI audio is only enabled on active outputs during modeset. Bleh. If it shows text, that seems pretty

[PATCH] drm/radeon/kms: disable frac fb dividers for rs6xx

2010-06-08 Thread Alex Deucher
Should fix fdo bug 28331: https://bugs.freedesktop.org/show_bug.cgi?id=28331 Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/atombios_crtc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers

Re: [PATCH] drm/radeon/kms: fix regressions in CS checker due to r6xx tiling changes

2010-06-09 Thread Alex Deucher
2010/6/9 Rafał Miłecki zaj...@gmail.com: Any news on that? Maybe you can get it as is (for d-r-t) Dave and eventually get another patch later? I have a set of rebased patches built against drm-fixes (including Matt's suggestion), but there are still a few 3D demos that are causing CS errors

Re: REGRESSION: dpms-on broken (drm_radeon,displayport)

2010-06-10 Thread Alex Deucher
2010/6/10 Michel Dänzer mic...@daenzer.net: Moving to the dri-devel list as you're using KMS. On Don, 2010-06-10 at 16:01 +0200, Lars Doelle wrote: Hi Benjamin, Hi All, i write to report a regression that happened after 2.6.34-rc3 and before or including 2.6.34-rc4 and still persists on

[PATCH] drm/radeon/kms: fix DP after DPMS cycle

2010-06-10 Thread Alex Deucher
The transmitter needs to be enabled before the link is trained. Reported-By: Lars Doelle lars.doe...@on-line.de Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: stable sta...@kernel.org --- drivers/gpu/drm/radeon/radeon_encoders.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

Re: REGRESSION: dpms-on broken (drm_radeon,displayport) -- bisected

2010-06-10 Thread Alex Deucher
On Thu, Jun 10, 2010 at 4:50 PM, Lars Doelle lars.doe...@on-line.de wrote: Hi Alex, Hi All, Any chance you could bisect it? good news. It's a two-line patch. Attached patch should fix it. Alex commit fb668c2fed628179c7aa409a0de39a2b96bed18c Author: Alex Deucher alexdeuc...@gmail.com

[PATCH] drm/radeon/kms: fix dpms state on resume

2010-06-11 Thread Alex Deucher
From: Cedric Godin cedric.go...@skynet.be When suspending, we turn the display hw off, at resume the screen will stay black. This patch turn it on. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=16180 Signed-off-by: Cedric Godin cedric.go...@skynet.be Signed-off-by: Alex Deucher alexdeuc

[PATCH 2/2] drm/radeon/kms/atom: add crtc disable function

2010-06-11 Thread Alex Deucher
Disables the crts as per dpms and also disables the ppll associated with the crtc. This should save additional power. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/atombios_crtc.c | 152 1 files changed, 96 insertions(+), 56

[PATCH] drm/radeon/kms: fix bandwidth calculation when sideport is present

2010-06-12 Thread Alex Deucher
Fixes fdo bug 27529: https://bugs.freedesktop.org/show_bug.cgi?id=27529 Reported-by: steckde...@yahoo.fr Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: stable sta...@kernel.org --- drivers/gpu/drm/radeon/rs690.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] drm/radeon/kms: CS checker texture fixes for r1xx/r2xx/r3xx

2010-06-12 Thread Alex Deucher
This should go to stable too. On Sat, Jun 12, 2010 at 12:12 PM, Alex Deucher alexdeuc...@gmail.com wrote: From: Roland Scheidegger srol...@vmware.com fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28459 agd5f: apply to r1xx/r2xx as well. Signed-off-by: Roland Scheidegger srol

[PATCH] drm/radeon/kms: CS checker texture fixes for r1xx/r2xx/r3xx

2010-06-12 Thread Alex Deucher
From: Roland Scheidegger srol...@vmware.com fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28459 agd5f: apply to r1xx/r2xx as well. Signed-off-by: Roland Scheidegger srol...@vmware.com Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: stable sta...@kernel.org --- drivers/gpu/drm

[PATCH 2/2] drm/radeon/r100/r200: fix calculation of compressed cube maps

2010-06-12 Thread Alex Deucher
From: Roland Scheidegger srol...@vmware.com This needs similar handling to other compressed textures. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26428 Signed-off-by: srol...@vmware.com Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: stable sta...@kernel.org --- drivers/gpu/drm

Re: [Regression, post-2.6.34] Hibernation broken on machines with radeon/KMS and r300

2010-06-14 Thread Alex Deucher
On Mon, Jun 14, 2010 at 10:53 AM, Rafael J. Wysocki r...@sisk.pl wrote: Alex, Dave, I'm afraid hibernation is broken on all machines using radeon/KMS with r300 after commit ce8f53709bf440100cb9d31b1303291551cf517f (drm/radeon/kms/pm: rework power management).  At least, I'm able to reproduce

[PATCH] drm/radeon/kms: fix typo in evergreen_gpu_init

2010-06-16 Thread Alex Deucher
Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/evergreen.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 4b6623d..38c500e 100644 --- a/drivers/gpu/drm

Re: [PATCH] drm/radeon/kms: fix typo in evergreen_gpu_init

2010-06-16 Thread Alex Deucher
On Wed, Jun 16, 2010 at 3:26 PM, Corbin Simpson mostawesomed...@gmail.com wrote: On Wed, Jun 16, 2010 at 9:24 AM, Alex Deucher alexdeuc...@gmail.com wrote: Signed-off-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/evergreen.c |   10 +-  1 files changed, 5

Re: [Regression, post-2.6.34] Hibernation broken on machines with radeon/KMS and r300

2010-06-16 Thread Alex Deucher
On Wed, Jun 16, 2010 at 4:16 PM, Rafael J. Wysocki r...@sisk.pl wrote: On Wednesday, June 16, 2010, Ondrej Zary wrote: On Wednesday 16 June 2010, Rafael J. Wysocki wrote: On Tuesday, June 15, 2010, Rafael J. Wysocki wrote: On Monday, June 14, 2010, Alex Deucher wrote: On Mon, Jun 14

Re: [Regression, post-2.6.34] Hibernation broken on machines with radeon/KMS and r300

2010-06-17 Thread Alex Deucher
On Thu, Jun 17, 2010 at 3:14 PM, Rafael J. Wysocki r...@sisk.pl wrote: On Thursday, June 17, 2010, Alex Deucher wrote: 2010/6/17 Rafael J. Wysocki r...@sisk.pl: On Wednesday, June 16, 2010, Alex Deucher wrote: On Wed, Jun 16, 2010 at 4:16 PM, Rafael J. Wysocki r...@sisk.pl wrote

Re: [PATCH 1/1] Add support for the ATIF ACPI method to the radeon driver

2010-06-21 Thread Alex Deucher
On Mon, Jun 21, 2010 at 10:21 AM, Alberto Milone alberto.mil...@canonical.com wrote: Hi all, Thanks to the help of Alex Deucher and Matthew Garrett, I've added support for calling the ATIF ACPI method to the radeon driver. This makes the video switch hotkey work properly, as we get an ACPI

Re: [RFC PATCH] Re: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display

2010-06-21 Thread Alex Deucher
On Mon, Jun 21, 2010 at 8:45 AM, Jerome Glisse gli...@freedesktop.org wrote: On Mon, Jun 21, 2010 at 12:31:22PM +0300, Pasi Kärkkäinen wrote: On Mon, Jun 21, 2010 at 12:23:10PM +0300, Pasi Kärkkäinen wrote: On Sat, Jun 19, 2010 at 10:24:53PM +0300, Pasi Kärkkäinen wrote: On Fri, Jun 18,

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-06-21 Thread Alex Deucher
On Mon, Jun 21, 2010 at 10:53 AM, Francisco Jerez curroje...@riseup.net wrote: Jerome Glisse gli...@freedesktop.org writes: On Mon, Jun 21, 2010 at 03:31:19PM +0300, Pasi Kärkkäinen wrote: Hello, After fixing the dvi/hdmi detection problem I now have another problem with the HP EliteBook

Re: [RFC PATCH] Re: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display

2010-06-21 Thread Alex Deucher
On Mon, Jun 21, 2010 at 11:03 AM, Alex Deucher alexdeuc...@gmail.com wrote: On Mon, Jun 21, 2010 at 8:45 AM, Jerome Glisse gli...@freedesktop.org wrote: On Mon, Jun 21, 2010 at 12:31:22PM +0300, Pasi Kärkkäinen wrote: On Mon, Jun 21, 2010 at 12:23:10PM +0300, Pasi Kärkkäinen wrote: On Sat

Re: [PATCH 1/1] Add support for the ATIF ACPI method to the radeon driver

2010-06-21 Thread Alex Deucher
On Mon, Jun 21, 2010 at 12:08 PM, Alberto Milone alberto.mil...@canonical.com wrote: On 21 June 2010 16:39, Alex Deucher alexdeuc...@gmail.com wrote: On Mon, Jun 21, 2010 at 10:21 AM, Alberto Milone alberto.mil...@canonical.com wrote: Hi all, Thanks to the help of Alex Deucher and Matthew

[PATCH] drm/radeon/kms: avoid oops on mac r4xx cards

2010-06-22 Thread Alex Deucher
They don't have an atombios so don't attempt to use it for eng/mem clocks. Reported by spoonb on #radeon fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28671 Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_asic.c |7 +++ 1 files changed, 7

[PATCH] drm/radeon/kms: fix typos in evergreen command checker

2010-06-23 Thread Alex Deucher
Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/evergreen_cs.c |4 ++-- drivers/gpu/drm/radeon/reg_srcs/evergreen | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen_cs.c b/drivers/gpu/drm/radeon

[PATCH] drm/radeon/kms: add some missing regs to evergreen gpu init

2010-06-29 Thread Alex Deucher
Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/evergreen.c | 23 +++ drivers/gpu/drm/radeon/evergreend.h |3 +++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon

[PATCH] drm/radeon/kms: add ioport register access

2010-06-30 Thread Alex Deucher
. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/atom.c |5 +-- drivers/gpu/drm/radeon/atom.h |2 + drivers/gpu/drm/radeon/radeon.h| 25 +++ drivers/gpu/drm/radeon/radeon_device.c | 34

[PATCH] drm/radeon/kms: minor driver cleanups

2010-06-30 Thread Alex Deucher
- Make the logic in r100_pll_errata_after_index() match the other errata functions - Use rdev-family rather than rdev-flags RADEON_FAMILY_MASK for kms - replace rn50 check using ids with ASIC_IS_RN50 convenience macro Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon

[PATCH] drm/radeon/kms: remove rv100 bios connector quirk

2010-06-30 Thread Alex Deucher
Some RV100 cards with 2 VGA ports show up with DVI+VGA, however some boards with DVI+VGA have the same subsystem ids. Better to have a VGA port show up as DVI than having a non-useable DVI port. reported by DHR in irc. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon

Re: [PATCH] drm: disable encoder rather than dpms off in drm_crtc_prepare_encoders()

2010-07-01 Thread Alex Deucher
On Thu, Jul 1, 2010 at 2:49 AM, Ben Skeggs skeg...@gmail.com wrote: From: Ben Skeggs bske...@redhat.com Original behaviour will be preserved for drivers that don't implement disable() hooks for an encoder. Signed-off-by: Ben Skeggs bske...@redhat.com Reviewed-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms: fix shared ddc handling

2010-07-01 Thread Alex Deucher
Connectors with a shared ddc line can be connected to different encoders. Reported by Pasi Kärkkäinen pa...@iki.fi on dri-devel Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/radeon_connectors.c |4 +++- 1 files changed, 3 insertions(+), 1

Re: [RFC PATCH] Re: KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display

2010-07-01 Thread Alex Deucher
Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 21 Jun 2010 12:07:52 -0400 Subject: [PATCH] drm/radeon/kms: fix shared ddc handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Connectors with a shared ddc line

Re: [PATCH] drm/radeon/kms: add ioport register access

2010-07-06 Thread Alex Deucher
Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 7 Jul 2010 01:54:57 -0400 Subject: [PATCH] drm/radeon/kms: ioport fixes Walk the pci resources and make sure to use the I/O resource. Unfortunately, the pci I/O resource number varies between asic families. If we don't find

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-07-12 Thread Alex Deucher
On Mon, Jul 12, 2010 at 7:53 AM, Pasi Kärkkäinen pa...@iki.fi wrote: On Mon, Jun 21, 2010 at 11:12:51AM -0400, Alex Deucher wrote: On Mon, Jun 21, 2010 at 10:53 AM, Francisco Jerez curroje...@riseup.net wrote: Jerome Glisse gli...@freedesktop.org writes: On Mon, Jun 21, 2010 at 03:31

Re: Regression 2.6.34-2.6.35-rc4: radeaon KMS an RS690 broken

2010-07-12 Thread Alex Deucher
On Sun, Jul 11, 2010 at 3:56 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: I just tried 2.6.35-rc4 to see, if a different bug is fixed, but noted that this kernel will only boot with radeon.modeset=0. If KMS is active the display turns off and the system is completely dead, not even

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-07-12 Thread Alex Deucher
On Mon, Jul 12, 2010 at 12:59 PM, Pasi Kärkkäinen pa...@iki.fi wrote: On Mon, Jul 12, 2010 at 10:48:08AM -0400, Alex Deucher wrote: On Mon, Jul 12, 2010 at 7:53 AM, Pasi Kärkkäinen pa...@iki.fi wrote: On Mon, Jun 21, 2010 at 11:12:51AM -0400, Alex Deucher wrote: On Mon, Jun 21, 2010 at 10:53

Re: Unit initialization infrastructure

2010-07-12 Thread Alex Deucher
On Mon, Jul 12, 2010 at 3:45 PM, Jerome Glisse gli...@freedesktop.org wrote: So here is something i have been thinking on for a while and never get around to actually code it until recently. I needed|wanted it as i was working on improved GPU reset. Issue i faced is that despite trying hard to

Re: Regression 2.6.34-2.6.35-rc4: radeaon KMS an RS690 broken

2010-07-12 Thread Alex Deucher
On Mon, Jul 12, 2010 at 3:54 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: On Mon, Jul 12, 2010 at 5:23 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Sun, Jul 11, 2010 at 3:56 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: I just tried 2.6.35-rc4 to see, if a different bug

[PATCH] drm/radeon/kms: fix possible mis-detection of sideport on rs690/rs740

2010-07-13 Thread Alex Deucher
Check ulBootUpMemoryClock on AMD IGPs. Fix regression noticed by Torsten Kaiser just.for.l...@googlemail.com Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/radeon_atombios.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions

Re: Regression 2.6.34-2.6.35-rc4: radeaon KMS an RS690 broken

2010-07-13 Thread Alex Deucher
On Tue, Jul 13, 2010 at 2:29 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: On Mon, Jul 12, 2010 at 11:38 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Mon, Jul 12, 2010 at 3:54 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: 0888e883ea5ff8fac27e813256d6c1eaede5a234

Re: Regression 2.6.34-2.6.35-rc4: radeaon KMS an RS690 broken

2010-07-14 Thread Alex Deucher
On Wed, Jul 14, 2010 at 2:51 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: On Tue, Jul 13, 2010 at 9:10 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Tue, Jul 13, 2010 at 2:29 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: But the CP is still broken: Is this a regression

Re: Regression 2.6.34-2.6.35-rc4: radeaon KMS an RS690 broken

2010-07-14 Thread Alex Deucher
: ring at 0x [    0.412582] [drm] ring test succeeded in 1 usecs [    0.412726] [drm] radeon: ib pool ready. [    0.412792] [drm] ib test succeeded in 0 usecs Torsten From d9a401e87e770949ebebf1e741cd74acc9fbabaf Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com

[PATCH] drm/radeon/kms: fix gtt MC base alignment on rs4xx/rs690/rs740 asics

2010-07-15 Thread Alex Deucher
be handled properly. This fixes a regression noticed by: Torsten Kaiser just.for.l...@googlemail.com Tested-by: Torsten Kaiser just.for.l...@googlemail.com Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r100.c |1 + drivers/gpu/drm/radeon/r300.c |1

Re: Regression 2.6.34-2.6.35-rc4: radeaon KMS an RS690 broken

2010-07-15 Thread Alex Deucher
On Thu, Jul 15, 2010 at 1:49 AM, Torsten Kaiser just.for.l...@googlemail.com wrote: On Thu, Jul 15, 2010 at 12:16 AM, Alex Deucher alexdeuc...@gmail.com wrote: I discussed this with Jerome and I think we found the root cause. Does this patch help? (patch 0001-drm-radeon-kms-fix-gtt-MC-base

[PATCH] drm/radeon/kms: fix shared ddc harder

2010-07-20 Thread Alex Deucher
of knowing using the EDID. Reported-by: trapdo...@gmail.com Signed-off-by: Alex Deucher alexdeuc...@gmail.com Cc: sta...@kernel.org --- drivers/gpu/drm/radeon/radeon_connectors.c | 23 +-- 1 files changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/radeon

Re: Suspend lockup: How to bisect d-r-t specific commits?

2010-07-20 Thread Alex Deucher
2010/7/20 Rafał Miłecki zaj...@gmail.com: I've installed openSUSE 11.3 which comes with 2.6.34 kernel and added 2.6.35-rc5 from package. In both cases suspending and resuming works fine. Then I downloaded 2.6.35-rc5 and compiled it myself. Suspending and resuming works fine. When trying

Re: drivers/gpu/drm/radeon/r600_blit.c: fix possible NULL pointer derefernce

2010-07-20 Thread Alex Deucher
On Mon, Jul 19, 2010 at 5:42 PM, Alexander Y. Fomichev git.u...@gmail.com wrote: This patch fix possible NULL pointer dereference when r600_prepare_blit_copy tries to fill dev_priv-blit_vb-file_priv without check of dev_priv-blit_vb. dev_priv-blit_vb should be filled by r600_nomm_get_vb but

Re: Suspend lockup: How to bisect d-r-t specific commits?

2010-07-20 Thread Alex Deucher
2010/7/20 Rafał Miłecki zaj...@gmail.com: W dniu 20 lipca 2010 18:21 użytkownik Alex Deucher alexdeuc...@gmail.com napisał: The last upstream -rc to get merged into d-r-t was 2.6.35-rc4.  If -rc4 works, you could try bisecting from that point: http://git.kernel.org/?p=linux/kernel/git/airlied

  1   2   3   4   5   6   7   8   9   10   >