Re: PROBLEM: radeon, kernel = 2.6.32-rc6-git5, any mode switch on MacBookPro2, 2 is delayed by 130 seconds of black screen

2009-12-08 Thread Alex Deucher
ebbe1cb936dfc96d809ccf4d64a9755f8ba0c0ff Author: Alex Deucher alexdeuc...@gmail.com Date:   Fri Oct 16 11:15:25 2009 -0400    drm/radeon/kms/atom: add support for spread spectrum (v2)    Spread spectrum is a periodic disturbance added    to the feedback divider to change the pixel clock

Re: Misreported VRAM

2009-12-08 Thread Alex Deucher
On Tue, Dec 8, 2009 at 6:07 PM, Ancoron Luciferis anco...@chaoslayer.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerome Glisse wrote: On Mon, Dec 07, 2009 at 06:54:13PM +, Mike Lothian wrote: I have a Radeon 4650 (RV730) :  01:00.0 VGA compatible controller [0300]: ATI

Re: [PATCH] drm/radeon/kms/r600/r700: fall back to no accel if ucode loading fails

2009-12-08 Thread Alex Deucher
Argh, I attached the wrong version of the patch. Correct one attached. Alex On Tue, Dec 8, 2009 at 1:57 PM, Alex Deucher alexdeuc...@gmail.com wrote: From 37f17525464405806d411b540f1b08f23616b02c Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 8 Dec 2009 13:55

[PATCH] drm/radeon/kms/avivo: fix some bugs in the display bandwidth setup

2009-12-09 Thread Alex Deucher
From f788a80732f6e8fa90dc5447e52baf719ebe09f7 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 9 Dec 2009 14:40:06 -0500 Subject: [PATCH] drm/radeon/kms/avivo: fix some bugs in the display bandwidth setup Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers

Re: [RFC] Radeon simplify GPU address space initialization

2009-12-09 Thread Alex Deucher
On Wed, Dec 9, 2009 at 4:21 PM, Jerome Glisse jgli...@redhat.com wrote: Attached patch try to simplify gpu address space initialization. By default it will place the VRAM range to cover the PCI aperture range corresponding to VRAM. Patch lack support for AGP and likely need to be twicked for

[RFC] New AVIVO pll algo

2009-12-09 Thread Alex Deucher
hardware, but I don't have any problematic monitors. new_pll module option can be set to 0 to restore the old behavior. Alex From c2d895883eabe1fdff267ba22befe23f6b59918f Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 9 Dec 2009 17:44:25 -0500 Subject: [PATCH] drm

[PATCH] drm/radeon/kms/r600/r700: fallback gracefully on ucode failure

2009-12-09 Thread Alex Deucher
From 017f07a5e40908ce91e29b01f6411e5e4cadbd98 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 9 Dec 2009 19:31:44 -0500 Subject: [PATCH] drm/radeon/kms/r600/r700: fallback gracefully on ucode failure Sent the wrong patch earlier. Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms/avivo: fix typo in new_pll module description

2009-12-09 Thread Alex Deucher
From 9f5eb726668633e95781fc1868f4a83a0e39475f Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 9 Dec 2009 19:38:58 -0500 Subject: [PATCH] drm/radeon/kms/avivo: fix typo in new_pll module description Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm

Re: PROBLEM: radeon, kernel = 2.6.32-rc6-git5, any mode switch on MacBookPro2, 2 is delayed by 130 seconds of black screen

2009-12-10 Thread Alex Deucher
;a=commitdiff;h=b27b63750d912e80d61d2120c4a1664062d0f808 Alex Best, Viktor On Tuesday 08 December 2009 04:54:35 pm Alex Deucher wrote: On Wed, Dec 2, 2009 at 7:51 AM, Viktor Malyarchuk mal...@gmail.com wrote: Hi Alex, I bisected drm-next branch from Dave's git tree git://git.kernel.org

Re: drm/radeon/kms: drm_detect_hdmi_monitor issue with EDID?

2009-12-10 Thread Alex Deucher
2009/12/10 Rafał Miłecki zaj...@gmail.com: Christian, I'd like to rebase your patches, correct some minor issue with timer and try to post it. I'm looking into your patch 0001-drm-radeon-kms-fix-HDMI-auto-detection.patch Could you explain somehow please, why do you need to store EDID

Re: drm/radeon/kms: drm_detect_hdmi_monitor issue with EDID?

2009-12-10 Thread Alex Deucher
2009/12/10 Rafał Miłecki zaj...@gmail.com: W dniu 10 grudnia 2009 22:46 użytkownik Alex Deucher alexdeuc...@gmail.com napisał: 2009/12/10 Rafał Miłecki zaj...@gmail.com: Christian, I'd like to rebase your patches, correct some minor issue with timer and try to post it. I'm looking into your

Re: drm/radeon/kms: drm_detect_hdmi_monitor issue with EDID?

2009-12-10 Thread Alex Deucher
On Thu, Dec 10, 2009 at 4:59 PM, Christian König deathsim...@vodafone.de wrote: Alex already fixed this if i remember correctly. And for the RV7xx HDMI case, we managed to get it working for resolution with lower pixel clocks (1024x768 and 640x480). but still now sound at 1280x768, 1280x1024

Re: PROBLEM: radeon, kernel = 2.6.32-rc6-git5, any mode switch on MacBookPro2, 2 is delayed by 130 seconds of black screen

2009-12-11 Thread Alex Deucher
echo 1 rom cat rom /tmp/vbios.rom echo 0 rom Alex Best, Viktor On Thursday 10 December 2009 09:44:40 am Alex Deucher wrote: On Tue, Dec 8, 2009 at 11:17 PM, Viktor Malyarchuk mal...@gmail.com wrote: Hi Alex, patch did not change anything for me. Problem still there. Can you try

Re: drm/radeon/kms: drm_detect_hdmi_monitor issue with EDID?

2009-12-12 Thread Alex Deucher
On Sat, Dec 12, 2009 at 10:21 AM, Rafał Miłecki zaj...@gmail.com wrote: 2009/12/11 Dave Airlie airl...@gmail.com: Oops had fixed it locally but didn't run the correct git commit --amend. pushed now should be mirrored in 5 mins or so. Dave I've tried radeon testing branch with manual fixing

Re: radeon 4830 corruption after resume

2009-12-15 Thread Alex Deucher
On Tue, Dec 15, 2009 at 12:40 AM, Alex Chiang achi...@hp.com wrote: Adding dri-devel to cc as I should have done in the first place. Full thread for context here: http://lkml.org/lkml/2009/12/13/321 More responses below. * Xiaotian Feng xtf...@gmail.com: On Mon, Dec 14, 2009 at 11:11 AM,

Re: radeon 4830 corruption after resume

2009-12-15 Thread Alex Deucher
On Tue, Dec 15, 2009 at 9:57 AM, Alex Chiang achi...@hp.com wrote: * Alex Deucher alexdeuc...@gmail.com: As Dave asked previously, is this a regression?  I.e., did s/r work at some point in the past and if so when? I'm not sure, as I just received the machine a few days ago. I can try some

Re: [PATCH] drm/radeon/kms: add dynamic engine reclocking (v4)

2009-12-15 Thread Alex Deucher
2009/12/15 Rafał Miłecki zaj...@gmail.com: drm/radeon/kms: add dynamic engine reclocking (v4) V2: reorganize functions, fix modesetting calls V3: rebase patch, use radeon's workqueue V4: enable on tested chipsets only, request VBLANK IRQs Fixed issue when reclocking didn't happen due to

[PATCH] drm/radeon/kms: make sure mc is initialized before mapping blit bo

2009-12-15 Thread Alex Deucher
From 6d5e15387d2207c715924dae5916ef7a5a04dd18 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 15 Dec 2009 17:15:07 -0500 Subject: [PATCH] drm/radeon/kms: make sure mc is initialized before mapping blit bo We need to make sure the the MC is intialized before we map

Re: [PATCH] drm/radeon/kms: enable memory clock reading on legacy

2009-12-16 Thread Alex Deucher
2009/12/16 Rafał Miłecki zaj...@gmail.com: Tested by bjaglin on IRC on RV250. Probably shouldn't enable the mem clock stuff on IGP chips since they use system memory. Alex -- This SF.Net email is sponsored by the

Re: [PATCH] drm/radeon/kms: add dynamic engine reclocking (V6)

2009-12-16 Thread Alex Deucher
2009/12/16 Rafał Miłecki zaj...@gmail.com: V2: reorganize functions, fix modesetting calls V3: rebase patch, use radeon's workqueue V4: enable on tested chipsets only, request VBLANK IRQs V5: enable PM on older hardware (IRQs, mode_fixup, dpms) V6: use separate dynpm module parameter Tested

Re: [PATCH] drm/radeon/kms: enable memory clock reading on legacy

2009-12-17 Thread Alex Deucher
2009/12/17 Rafał Miłecki zaj...@gmail.com: W dniu 17 grudnia 2009 05:56 użytkownik Alex Deucher alexdeuc...@gmail.com napisał: 2009/12/16 Rafał Miłecki zaj...@gmail.com: Tested by bjaglin on IRC on RV250. Probably shouldn't enable the mem clock stuff on IGP chips since they use system

[PATCH] drm/radeon/kms: fix legacy rmx

2009-12-17 Thread Alex Deucher
From 2e6ce51de78b7402f2c50b6f6c03a1c262f882d3 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 17 Dec 2009 01:24:59 -0500 Subject: [PATCH] drm/radeon/kms: fix legacy rmx Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_encoders.c

Re: [PATCH] drm/radeon/kms: add dynamic engine reclocking (V6)

2009-12-17 Thread Alex Deucher
2009/12/17 Rafał Miłecki zaj...@gmail.com: W dniu 17 grudnia 2009 06:43 użytkownik Alex Deucher alexdeuc...@gmail.com napisał: 2009/12/16 Rafał Miłecki zaj...@gmail.com: V2: reorganize functions, fix modesetting calls V3: rebase patch, use radeon's workqueue V4: enable on tested chipsets

[PATCH] drm/radeon/kms: set proper default tv standard

2009-12-17 Thread Alex Deucher
From 106b8bbd5e695c4ebd43b7e688fab391a0e3ead4 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 17 Dec 2009 19:00:29 -0500 Subject: [PATCH] drm/radeon/kms: set proper default tv standard Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon

[PATCH] drm/radeon/kms: never combine LVDS with another encoder

2009-12-18 Thread Alex Deucher
From 08a7a77cc9928007048264616c7e6cf71480b294 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 18 Dec 2009 11:28:22 -0500 Subject: [PATCH] drm/radeon/kms: never combine LVDS with another encoder When linking multiple encoders to a connector, make sure to not link LVDS

Re: [PATCH] drm/radeon/kms: add dynamic engine reclocking (V7)

2009-12-18 Thread Alex Deucher
2009/12/18 Rafał Miłecki zaj...@gmail.com: V2: reorganize functions, fix modesetting calls V3: rebase patch, use radeon's workqueue V4: enable on tested chipsets only, request VBLANK IRQs V5: enable PM on older hardware (IRQs, mode_fixup, dpms) V6: use separate dynpm module parameter V7:

Re: [stable] Regression in 2.6.32.2: radeon KMS hangs system

2009-12-21 Thread Alex Deucher
SysRq worked. I've tracked it down to the following patch: Fixed here: http://marc.info/?l=dri-develm=126137027403059w=2 2.6.32 didn't have irq support for r6xx+. Alex From 500b758725314ab1b5316eb0caa5b0fa26740e6b Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed

Re: [Oops:] radeon KMS in 2.6.33-rc1-00154-gf7b84a6

2009-12-21 Thread Alex Deucher
On Mon, Dec 21, 2009 at 4:47 PM, Johannes Hirte johannes.hi...@fem.tu-ilmenau.de wrote: Am Montag 21 Dezember 2009 22:42:36 schrieb Felipe Balbi: Hi, On Mon, Dec 21, 2009 at 10:38:53PM +0100, ext Johannes Hirte wrote: When loading the radeon module with modeset=1, the kernel oopses: [snip]

[PATCH] drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid

2009-12-22 Thread Alex Deucher
From 7c30bc1d04bd87dff00ff80c3cf7d8a0b8cf3e34 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 22 Dec 2009 09:25:22 -0500 Subject: [PATCH] drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid This fixes LVDS on some mac laptops without a panel edid

Re: [PATCH] drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid

2009-12-22 Thread Alex Deucher
Whoops. forgot to set the mode flags properly. New patch attached. Alex On Tue, Dec 22, 2009 at 9:30 AM, Alex Deucher alexdeuc...@gmail.com wrote: From 7c30bc1d04bd87dff00ff80c3cf7d8a0b8cf3e34 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 22 Dec 2009 09:25:22

Re: [PATCH] drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid

2009-12-22 Thread Alex Deucher
2009/12/22 Michel Dänzer mic...@daenzer.net: On Tue, 2009-12-22 at 09:30 -0500, Alex Deucher wrote: From 7c30bc1d04bd87dff00ff80c3cf7d8a0b8cf3e34 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 22 Dec 2009 09:25:22 -0500 Subject: [PATCH] drm/radeon/kms: add cvt

Re: [PATCH] drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid

2009-12-22 Thread Alex Deucher
2009/12/22 Alex Deucher alexdeuc...@gmail.com: 2009/12/22 Michel Dänzer mic...@daenzer.net: On Tue, 2009-12-22 at 09:30 -0500, Alex Deucher wrote: From 7c30bc1d04bd87dff00ff80c3cf7d8a0b8cf3e34 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 22 Dec 2009 09:25:22

RFC: radeon i2c algo

2009-12-23 Thread Alex Deucher
? Alex From 336b19d162f7b501288bd2b4eb676c84e5435516 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 22 Dec 2009 15:04:48 -0500 Subject: [PATCH] drm/radeon/kms: add radeon i2c algo Currently just a wrapper around bit algo Signed-off-by: Alex Deucher alexdeuc...@gmail.com

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-23 Thread Alex Deucher
2009/12/23 Rafał Miłecki zaj...@gmail.com: I applied patches from http://www.botchco.com/alex/xorg/pm/ and now engine reclocks between 110MHz and 680MHz. The problem is I see ~10 black horizontal lines for a one frame time on almost every reclock. I tried to fix this or at least understand it

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-23 Thread Alex Deucher
2009/12/23 Rafał Miłecki zaj...@gmail.com: W dniu 24 grudnia 2009 02:59 użytkownik Alex Deucher alexdeuc...@gmail.com napisał: 2009/12/23 Rafał Miłecki zaj...@gmail.com: Do you have any other ideas? I suspect the reclock is missing the blanking period.  Try removing the debugging output

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-26 Thread Alex Deucher
2009/12/26 Rafał Miłecki zaj...@gmail.com: W dniu 26 grudnia 2009 02:46 użytkownik Rafał Miłecki zaj...@gmail.com napisał: There are some my experiments with engine. Reclocking between: 1) 110MHz and 680MHz - 1 corrupted frame on every reclock 2) 200MHz and 680MHz - 1 corrupted frame on

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-28 Thread Alex Deucher
On Mon, Dec 28, 2009 at 5:53 AM, Luca Tettamanti kronos...@gmail.com wrote: On Sun, Dec 27, 2009 at 1:55 AM, Rafał Miłecki zaj...@gmail.com wrote: W dniu 26 grudnia 2009 20:08 użytkownik Alex Deucher alexdeuc...@gmail.com napisał: It may be that the engine doesn't like to be reclocked while

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-28 Thread Alex Deucher
2009/12/28 Luca Tettamanti kronos...@gmail.com: 2009/12/28 Alex Deucher alexdeuc...@gmail.com: On Mon, Dec 28, 2009 at 5:53 AM, Luca Tettamanti kronos...@gmail.com wrote: On Sun, Dec 27, 2009 at 1:55 AM, Rafał Miłecki zaj...@gmail.com wrote: W dniu 26 grudnia 2009 20:08 użytkownik Alex Deucher

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-28 Thread Alex Deucher
2009/12/28 Luca Tettamanti kronos...@gmail.com: On Mon, Dec 28, 2009 at 01:32:24PM -0500, Alex Deucher wrote: 2009/12/28 Luca Tettamanti kronos...@gmail.com: 2009/12/28 Alex Deucher alexdeuc...@gmail.com: On Mon, Dec 28, 2009 at 5:53 AM, Luca Tettamanti kronos...@gmail.com wrote: On Sun

Re: drm/radeon/kms: pm: single frame corruptions on reclocking

2009-12-29 Thread Alex Deucher
2009/12/29 Luca Tettamanti kronos...@gmail.com: 2009/12/28 Alex Deucher alexdeuc...@gmail.com: 2009/12/28 Luca Tettamanti kronos...@gmail.com: On Mon, Dec 28, 2009 at 01:32:24PM -0500, Alex Deucher wrote: 2009/12/28 Luca Tettamanti kronos...@gmail.com: 2009/12/28 Alex Deucher alexdeuc

[PATCH] drm/radeon/kms: add primary dac adj values table

2009-12-29 Thread Alex Deucher
From a71f0302835876038fb608e0d7a570dc3a0f145c Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 29 Dec 2009 12:09:17 -0500 Subject: [PATCH] drm/radeon/kms: add primary dac adj values table Look up primary dac adj values from the table if there is no bios or bios dac

[PATCH] improved LVDS power sequnce on pre-atom chips

2010-01-04 Thread Alex Deucher
This patch might help with LVDS resume on pre-atom systems . Please test and let me know if there are any regressions. Alex 0001-drm-radeon-kms-update-LVDS-power-sequence.patch Description: application/mbox -- This

[PATCH] drm/radeon/kms: fallback to default connector table if necessary for combios

2010-01-05 Thread Alex Deucher
From e7c3662c17bbf8dc47e09ca156825cdd21eefc80 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 4 Jan 2010 19:12:02 -0500 Subject: [PATCH] drm/radeon/kms: fallback to default connector table if necessary for combios Some early combios radeon cards don't have a connector

Re: [PATCH] drm/radeon/kms: detect sideport enabled on rs690/740/780/880.

2010-01-05 Thread Alex Deucher
On Mon, Jan 4, 2010 at 11:55 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com This detects if the sideport memory is enabled on these IGPs, and if it is VRAM is evicted on suspend/resume. This should fix s/r issues on some IGPs. NACK. that register is not

Re: [PATCH] drm/radeon/kms: detect sideport enabled on rs690/740/780/880.

2010-01-05 Thread Alex Deucher
Updated patch to use bios tables attached. Alex On Mon, Jan 4, 2010 at 11:55 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com This detects if the sideport memory is enabled on these IGPs, and if it is VRAM is evicted on suspend/resume. This should fix s/r

[PATCH] drm/radeon/kms: use REG8 for HDP flush on r1xx-r5xx

2010-01-05 Thread Alex Deucher
From e77f2fecc263ab237e56a897a67eee7574f9a2fb Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 5 Jan 2010 17:27:33 -0500 Subject: [PATCH] drm/radeon/kms: use REG8 for HDP flush on r1xx-r5xx Avoid touching bit 23 of HOST_PATH_CNTL as this can cause hangs on some systems

Re: [PATCH 2/2] drm/radeon/kms: Schedule host path read cache flush through the ring

2010-01-06 Thread Alex Deucher
On Wed, Jan 6, 2010 at 1:29 PM, Jerome Glisse jgli...@redhat.com wrote: R300 family will hard lockup if host path read cache flush is done through MMIO to HOST_PATH_CNTL. But scheduling same flush through ring seems harmless. This patch remove the hdp_flush callback and add a flush after each

Re: [PATCH] drm/radeon/kms: detect sideport enabled on rs690/740/780/880.

2010-01-06 Thread Alex Deucher
2010/1/6 Rafał Miłecki zaj...@gmail.com: 2010/1/5 Alex Deucher alexdeuc...@gmail.com: Updated patch to use bios tables attached. What about reading clock of sideport memory? Standard way? Could we do following? Nope. Sideport mclk is different than the mclk on discrete chips. If you look

Re: [PATCH] drm/radeon: fix a couple of array index errors

2010-01-06 Thread Alex Deucher
On Wed, Jan 6, 2010 at 10:55 PM, Dave Airlie airl...@gmail.com wrote: On Wed, Dec 30, 2009 at 11:21 AM, Darren Jenkins darrenrjenk...@gmail.com wrote: There are a couple of array overruns, and some associated confusion in the code. This is just a wild guess at what the code should actually

Re: [PATCH 2/2] drm/radeon/kms: Schedule host path read cache flush through the ring

2010-01-07 Thread Alex Deucher
On Wed, Jan 6, 2010 at 3:51 PM, Jerome Glisse gli...@freedesktop.org wrote: On Wed, Jan 06, 2010 at 01:57:08PM -0500, Alex Deucher wrote: On Wed, Jan 6, 2010 at 1:29 PM, Jerome Glisse jgli...@redhat.com wrote: R300 family will hard lockup if host path read cache flush is done through MMIO

Re: [PATCH] drm/radeon/kms: Schedule host path read cache flush through the ring V2

2010-01-07 Thread Alex Deucher
, it shouldn't be any different than the previous behavior. Signed-off-by: Jerome Glisse jgli...@redhat.com Reviewed-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/r100.c          |   14 ++  drivers/gpu/drm/radeon/r300.c          |   16 +++-  drivers

[PATCH] drm/radeon/kms: fix typo in atom connector type handling

2010-01-07 Thread Alex Deucher
From 9d6da5df3ca3912ffdd4ad25e10f127d0c5e4354 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 7 Jan 2010 14:19:47 -0500 Subject: [PATCH] drm/radeon/kms: fix typo in atom connector type handling Also remove the problematic enums that were unused remnants from the ddx

Re: linux-2.6.32.2 broke radeon modeset=1

2010-01-08 Thread Alex Deucher
On Fri, Jan 8, 2010 at 12:53 PM, Hendrik Sattler p...@hendrik-sattler.de wrote: Hi, I have a ATI HD2400XT in my notebook and tried the radeon.ko module with modeset=1 (X cannot use this, yet). While this gives me a framebuffer console with 2.6.32, it only shows a blank screen with

[PATCH] drm/radeon/kms: fix up LVDS handling on macs

2010-01-11 Thread Alex Deucher
From 16de3600adde106fbb6eb828a3fa1b935d938425 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 11 Jan 2010 10:50:18 -0500 Subject: [PATCH] drm/radeon/kms: fix up LVDS handling on macs Based on radeonfb code and recent ddx fix. Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms/rv100: reject modes 135 Mhz on DVI

2010-01-11 Thread Alex Deucher
From 6d980869ef031752dac505c1aacbbe221fb2c6e7 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 11 Jan 2010 12:39:35 -0500 Subject: [PATCH] drm/radeon/kms/rv100: reject modes 135 Mhz on DVI Due to heat issues. Fixes fdo bug 25992 Signed-off-by: Alex Deucher alexdeuc

Re: [PATCH] drm/radeon/kms/rv100: reject modes 135 Mhz on DVI

2010-01-11 Thread Alex Deucher
On Mon, Jan 11, 2010 at 1:42 PM, Maarten Maathuis madman2...@gmail.com wrote: On Mon, Jan 11, 2010 at 6:57 PM, Alex Deucher alexdeuc...@gmail.com wrote: From 6d980869ef031752dac505c1aacbbe221fb2c6e7 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 11 Jan 2010 12:39

Re: [PATCH] drm/radeon/kms/rv100: reject modes 135 Mhz on DVI

2010-01-11 Thread Alex Deucher
On Mon, Jan 11, 2010 at 3:08 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Mon, Jan 11, 2010 at 1:42 PM, Maarten Maathuis madman2...@gmail.com wrote: On Mon, Jan 11, 2010 at 6:57 PM, Alex Deucher alexdeuc...@gmail.com wrote: From 6d980869ef031752dac505c1aacbbe221fb2c6e7 Mon Sep 17 00:00:00

[PATCH] drm/radeon/kms/r6xx+: make irq handler less verbose

2010-01-11 Thread Alex Deucher
From a1119b4663f0e986468dbbb086432f058384fc79 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 11 Jan 2010 19:47:38 -0500 Subject: [PATCH] drm/radeon/kms/r6xx+: make irq handler less verbose Unhandled vectors can be safely ignored, no need to spam the kernel log

Re: [PATCH] drm/radeon/kms: fix up LVDS handling on macs

2010-01-12 Thread Alex Deucher
2010/1/12 Michel Dänzer mic...@daenzer.net: On Mon, 2010-01-11 at 11:10 -0500, Alex Deucher wrote: From 16de3600adde106fbb6eb828a3fa1b935d938425 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 11 Jan 2010 10:50:18 -0500 Subject: [PATCH] drm/radeon/kms: fix up LVDS

Re: [PATCH] drm/kms: fix fbdev blanking regression

2010-01-13 Thread Alex Deucher
On Wed, Jan 13, 2010 at 2:48 PM, James Simmons jsimm...@infradead.org wrote: On 01/07/2010 12:42 AM, Johan Hovold wrote: Yeap. The fix uncovered a bug in your driver. I haven't heard of problems with the other drm drivers. The backlight is handled via the DRI driver I assume.

Re: [PATCH 3/3] drm/radeon/kms: r600 handle irq vector ring overflow

2010-01-15 Thread Alex Deucher
Glisse jgli...@redhat.com Reviewed-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/r600.c |   10 +++---  1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 0f9a8c6..bb9115b 100644

Re: [PATCH 1/3] drm/radeon/kms: r600/r700 disable irq at suspend

2010-01-15 Thread Alex Deucher
On Fri, Jan 15, 2010 at 8:44 AM, Jerome Glisse jgli...@redhat.com wrote: To avoid hw doing anythings after we disabled PCIE GART, fully disable IRQ at suspend. Also cleanup a bit the ih structure and process function. Signed-off-by: Jerome Glisse jgli...@redhat.com Reviewed-by: Alex Deucher

Re: [PATCH] drm/radeon/kms: crtc_ omitted in display assignments in radeon_atom_mode_fixup()?

2010-01-15 Thread Alex Deucher
On Fri, Jan 15, 2010 at 9:11 AM, Roel Kluin roel.kl...@gmail.com wrote: The crtc_ prefix was omitted in h/vdisplay assignments Signed-off-by: Roel Kluin roel.kl...@gmail.com --- Not sure, but maybe the change below is needed? please ack/nack. NAK. the code is correct as is. diff --git

Re: [PATCH 2/3] drm/radeon/kms: r600/r700 don't process IRQ if not initialized

2010-01-15 Thread Alex Deucher
by the rare wptr != 0 on initialization. Signed-off-by: Jerome Glisse jgli...@redhat.com Reviewed-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/r600.c |    8 +++-  1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm

[PATCH] drm/radeon/kms/r100: fix bug in CS parser

2010-01-18 Thread Alex Deucher
From 1d48b39f50e1ebe2fa414290ed322a31be3fbb48 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 18 Jan 2010 20:20:07 -0500 Subject: [PATCH] drm/radeon/kms/r100: fix bug in CS parser The first dword of PACKET3_3D_DRAW_IMMD maps to SE_VTX_FMT so the vertex size is part

[PATCH] drm/radeon/kms: fix hardcoded mmio size in register functions

2010-01-19 Thread Alex Deucher
From 79d6a7b8e1ab5fa2e7c87f47a152805d4c39b8ab Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 13 Jan 2010 19:09:12 -0500 Subject: [PATCH] drm/radeon/kms: fix hardcoded mmio size in register functions newer asics have large mmio apertures Signed-off-by: Alex Deucher

[PATCHES] radeon drm atom parser updates

2010-01-19 Thread Alex Deucher
c248eda050593f8e1c2cc5f5a5787df80cb31e12 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 19 Jan 2010 12:38:48 -0500 Subject: [PATCH] drm/radeon/kms/atom: fix some parser bugs - add support for inline src params - fix shift_left/shift_right and shl/shr ops shift_* ops use inline src

[PATCH] drm/radeon/kms: fix atombios_crtc_set_base

2010-01-19 Thread Alex Deucher
From 41eecda0ec5659257af92be8c9b585157556502d Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 19 Jan 2010 16:34:01 -0500 Subject: [PATCH] drm/radeon/kms: fix atombios_crtc_set_base Make it call the proper backend depending on the GPU family. Right now r4xx cards

[PATCHES] radeon drm pll clean up

2010-01-19 Thread Alex Deucher
The attached patches clean up the radeon kms pll code. The first one cleans up the pll struct and the second cleans up the atombios pll code. Alex From 2eb809ca1bdd6ba52334142d09cbce18ba05d832 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 19 Jan 2010 17:16:10 -0500

[PATCH] drm/radeon/kms/r200: fix bug in CS parser

2010-01-20 Thread Alex Deucher
comments for clarity. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r200.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r200.c b/drivers/gpu/drm/radeon/r200.c index 2094212..ff1e0cd 100644 --- a/drivers/gpu/drm

[PATCH] drm/radeon/kms/200: fix bug in CS parser

2010-01-20 Thread Alex Deucher
names Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/reg_srcs/r200 |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/reg_srcs/r200 b/drivers/gpu/drm/radeon/reg_srcs/r200 index 6021c88..c29ac43 100644 --- a/drivers/gpu/drm

[PATCH] drm/radeon/kms/r4xx: cleanup atom path

2010-01-20 Thread Alex Deucher
From 0a08c5213b2f7e36841928f2e127387319ac363b Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 20 Jan 2010 16:22:53 -0500 Subject: [PATCH] drm/radeon/kms/r4xx: cleanup atom path most of radeon_legacy_atom_set_surface() is taken care of in atombios_set_base(), so remove

[PATCH] drm/radeon/kms/atom: fix crtc lock ordering

2010-01-21 Thread Alex Deucher
From 52820729c70e23b4841e47476d54a52cdb9a8322 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 21 Jan 2010 16:50:30 -0500 Subject: [PATCH] drm/radeon/kms/atom: fix crtc lock ordering This makes crtc_prepare and crtc_commit match. Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms/atom: atom parser fixes

2010-01-21 Thread Alex Deucher
From 70b680b7be5bf129296774a1f498375365595626 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 21 Jan 2010 17:14:49 -0500 Subject: [PATCH] drm/radeon/kms/atom: atom parser fixes Only reset the reg block on the initial execute table call; nested calls require the reg

[PATCH] drm/radeon/kms: fix legacy get_engine/memory clock

2010-01-21 Thread Alex Deucher
From 7cd86c7f89de8f18a678dde692b759f1bc6c911f Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 21 Jan 2010 19:28:18 -0500 Subject: [PATCH] drm/radeon/kms: fix legacy get_engine/memory clock Fix a bad shift in the post div. Should fix fdo bug 26145 Signed-off-by: Alex

Re: [PATCH] drm/radeon/kms: Bailout of blit if error happen protect with mutex

2010-01-22 Thread Alex Deucher
On Fri, Jan 22, 2010 at 9:24 AM, Jerome Glisse jgli...@redhat.com wrote: If an error happen in r600_blit_prepare_copy report it rather than WARNING and keeping execution. For instance if ib allocation failed we did just warn about but then latter tried to access NULL ib ptr causing oops. This

Re: [OOPS] radeon kms

2010-01-26 Thread Alex Deucher
On Tue, Jan 26, 2010 at 8:21 AM, John Kacur jka...@redhat.com wrote: On Fri, 15 Jan 2010, Jerome Glisse wrote: On Fri, Jan 15, 2010 at 03:47:19PM +0100, John Kacur wrote: On Fri, 15 Jan 2010, John Kacur wrote: The oops is triggered because I am missing the firmware for

Re: [OOPS] radeon kms

2010-01-26 Thread Alex Deucher
On Tue, Jan 26, 2010 at 9:10 AM, John Kacur jka...@redhat.com wrote: On Tue, Jan 26, 2010 at 2:59 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Tue, Jan 26, 2010 at 8:21 AM, John Kacur jka...@redhat.com wrote: On Fri, 15 Jan 2010, Jerome Glisse wrote: On Fri, Jan 15, 2010 at 03:47:19PM

Re: [OOPS] radeon kms

2010-01-26 Thread Alex Deucher
On Tue, Jan 26, 2010 at 9:35 AM, John Kacur jka...@redhat.com wrote: On Tue, Jan 26, 2010 at 3:19 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Tue, Jan 26, 2010 at 9:10 AM, John Kacur jka...@redhat.com wrote: On Tue, Jan 26, 2010 at 2:59 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Tue

Re: drm-radeon-testing commit 8131660130d3dc2629a150d47e6a04c8a1a6244b breaks LVDS on my PowerBook

2010-01-27 Thread Alex Deucher
2010/1/27 Michel Dänzer mic...@daenzer.net: Hi Alex, your commit 8131660130d3dc2629a150d47e6a04c8a1a6244b ('drm/radeon/kms: add support for hw i2c on r1xx-r5xx') breaks LVDS on my PowerBook. It looks kinda like blooming, though I can actually make out a higly distorted part of what it's

Re: drm-radeon-testing commit 8131660130d3dc2629a150d47e6a04c8a1a6244b breaks LVDS on my PowerBook

2010-01-27 Thread Alex Deucher
2010/1/27 Michel Dänzer mic...@daenzer.net: On Wed, 2010-01-27 at 10:30 -0500, Alex Deucher wrote: 2010/1/27 Michel Dänzer mic...@daenzer.net: your commit 8131660130d3dc2629a150d47e6a04c8a1a6244b ('drm/radeon/kms: add support for hw i2c on r1xx-r5xx') breaks LVDS on my PowerBook

Re: drm-radeon-testing commit 8131660130d3dc2629a150d47e6a04c8a1a6244b breaks LVDS on my PowerBook

2010-01-27 Thread Alex Deucher
2010/1/27 Michel Dänzer mic...@daenzer.net: On Wed, 2010-01-27 at 10:30 -0500, Alex Deucher wrote: 2010/1/27 Michel Dänzer mic...@daenzer.net: your commit 8131660130d3dc2629a150d47e6a04c8a1a6244b ('drm/radeon/kms: add support for hw i2c on r1xx-r5xx') breaks LVDS on my PowerBook

Re: KMS/Radeon rainbow colors when booting .33 kernel

2010-01-27 Thread Alex Deucher
On Wed, Jan 27, 2010 at 7:34 AM, Marc R. O'Connor mrocon...@oel.state.nj.us wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 27 Jan 2010 12:34:13 +0200 Pauli Nieminen suok...@gmail.com wrote: Hi Marc! Is it an agp card? If yes you could try to boot with agpmode=-1 parameter

Re: [PATCH] drm/kms/radeon: pick digitial encoders smarter.

2010-01-27 Thread Alex Deucher
On Thu, Jan 28, 2010 at 2:17 AM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com booting a Lenovo W500 with LVDS + DP outputs showed up a TODO we had on our list, to pick a correct digital encoder block. The LVTMA encoder requires the second digital encoder, all

Re: [RFC] R600/RV770 command checker

2010-01-28 Thread Alex Deucher
On Thu, Jan 28, 2010 at 5:52 PM, Jerome Glisse jgli...@redhat.com wrote: Attached is patch which add command checker. This patch suffered a bit of my unlukiness or simply my skill to use git reset --hard beyond reasons. So, I did loose the regs_src/r600 file that i use to deeply test this

[PATCH] drm/radeon/kms: consolidate crtc count in rdev

2010-02-01 Thread Alex Deucher
From b3f9e7f481506058174154d5c6fa8e1cd0c56918 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 1 Feb 2010 16:02:25 -0500 Subject: [PATCH] drm/radeon/kms: consolidate crtc count in rdev Set the number of crtcs in rdev at crtc init and use it whenever we need the crtc

[PATCH] drm/radeon/kms/atom: clean up spread spectrum code

2010-02-01 Thread Alex Deucher
From 834b08c0b247470a49da6c5d5bbe85469dcc268a Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 1 Feb 2010 16:39:11 -0500 Subject: [PATCH] drm/radeon/kms/atom: clean up spread spectrum code use a union for the atom args. Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms/atom: add a helper function to get the radeon connector priv

2010-02-01 Thread Alex Deucher
From eb604bd475ad7c9c66cf13658714c574d96d18b7 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 1 Feb 2010 19:06:06 -0500 Subject: [PATCH] drm/radeon/kms/atom: add a helper function to get the radeon connector priv This is used in a lot of places in the atom encoder

[PATCHES] radeon drm pll updates

2010-02-03 Thread Alex Deucher
The attached patches refactor the pll code to allow easier selection of the pll algo to work around issues on specific issues. It also adds a quirk for a toshiba laptop LVDS panel that works best with the old algo. Alex 0001-drm-radeon-kms-rework-pll-algo-selection.patch Description:

[PATCH] drm/radeon/kms/r600: reduce gpu cache flushing

2010-02-04 Thread Alex Deucher
From 8ea32b7974dbcf819545f555ca078f709da5ff4e Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 4 Feb 2010 11:01:52 -0500 Subject: [PATCH] drm/radeon/kms/r600: reduce gpu cache flushing Only flush the gpu caches before we submit a fence. This leads to a small

Re: hung bootup with drm/radeon/kms: move radeon KMS on/off switch out of staging.

2010-02-04 Thread Alex Deucher
On Thu, Feb 4, 2010 at 1:12 PM, Ingo Molnar mi...@elte.hu wrote: * Matthew Garrett mj...@srcf.ucam.org wrote: On Thu, Feb 04, 2010 at 06:54:45PM +0100, Ingo Molnar wrote: But you could claim that it's not a regression because 1) technically the code got introduced in drivers/staging/, and

[PATCH] drm/radeon/kms: dynclks fixes

2010-02-04 Thread Alex Deucher
From c29850388327d9cc6c0370b1fc0d0920df92bffe Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 5 Feb 2010 00:55:32 -0500 Subject: [PATCH] drm/radeon/kms: dynclks fixes - only r4xx/r5xx/rs6xx/rs740 have clock gating atom table, so disable it on r6xx. it's already

[PATCH] drm/radeon/kms: clean up some low-hanging magic numbers

2010-02-04 Thread Alex Deucher
From 979e9e6ecb586e92b2354a5fe8d73f3d7bfa85b3 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 5 Feb 2010 01:58:28 -0500 Subject: [PATCH] drm/radeon/kms: clean up some low-hanging magic numbers Switch some magic numbers to their proper defines. The register header

[PATCH] drm/radeon/kms: add workaround for rn50/rv100 servers

2010-02-05 Thread Alex Deucher
From a1a2ac30881c62fc7ed12edac8e4e4e46a4938ac Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 5 Feb 2010 03:34:16 -0500 Subject: [PATCH] drm/radeon/kms: add workaround for rn50/rv100 servers Some servers have two VGA ports but only report one in the bios connector

[PATCH] drm/radeon/kms: add support for hardcoded edids in rom

2010-02-05 Thread Alex Deucher
From eae41c519d9e3dd948fa965a16f0ef6586386ca1 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 5 Feb 2010 04:21:19 -0500 Subject: [PATCH] drm/radeon/kms: add support for hardcoded edids in rom Some servers hardcode an edid in rom so that they will work properly

Re: 3D OpenGL applications eat CPU ressources

2010-02-06 Thread Alex Deucher
On Sat, Feb 6, 2010 at 2:47 PM, Émeric Maschino emeric.masch...@gmail.com wrote: 2010/2/4 Jerome Glisse gli...@freedesktop.org: IIRC old radeon drm doesn't have any thing to dump GPU command stream. Look at http://www.x.org/docs/AMD/R5xx_Acceleration_v1.4.pdf to see what radeon GPU stream

[PATCHES] further radeon drm kms hw i2c fixes

2010-02-06 Thread Alex Deucher
These patches add further fixes to the hw i2c code. Still left to do: - Find a way to not expose the internal bit algo bus used by radeon algo - Figure out why hw i2c isn't working for LVDS on mac laptops - Any other remaining bugs Alex

Re: 3D OpenGL applications eat CPU ressources

2010-02-07 Thread Alex Deucher
On Sun, Feb 7, 2010 at 12:18 PM, Émeric Maschino emeric.masch...@gmail.com wrote: 2010/2/7 Stephane Marchesin stephane.marche...@gmail.com: From what I recall, all the ia64 AGP chipsets (well the zx1 and the 460) have to be run: - without side band adressing - without fast writes - at 4x

Re: [PATCHES] further radeon drm kms hw i2c fixes

2010-02-08 Thread Alex Deucher
2010/2/8 Rafał Miłecki zaj...@gmail.com: 2010/2/6 Alex Deucher alexdeuc...@gmail.com: These patches add further fixes to the hw i2c code.  Still left to do: - Find a way to not expose the internal bit algo bus used by radeon algo - Figure out why hw i2c isn't working for LVDS on mac laptops

[PATCH] drm/radeon/kms: more hw i2c fixes

2010-02-08 Thread Alex Deucher
From c33d72912856c0c8fc7586170d10a906d7f854be Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 8 Feb 2010 14:40:24 -0500 Subject: [PATCH] drm/radeon/kms: more hw i2c fixes - rs300 doesn't have a pin select bit - r200 has a different pin select setup Signed-off

<    5   6   7   8   9   10   11   12   >