[PATCH] drm/radeon/kms: add common lvds modes in the ddc case

2009-09-11 Thread Alex Deucher
From 702fd0710dad9c2f7767e98f6b650a8481a33c93 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 11 Sep 2009 11:15:43 -0400 Subject: [PATCH] drm/radeon/kms: add common lvds modes in the ddc case previous patch only handled the non-ddc case. Signed-off-by: Alex Deucher

[PATCH] drm/radeon/kms/r600: fix blit dword count for non r6xx

2009-09-11 Thread Alex Deucher
From 1999443c55a989969ef0a9cc12167c058142ad3c Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 11 Sep 2009 12:02:03 -0400 Subject: [PATCH] drm/radeon/kms/r600: fix blit dword count for non r6xx rv6xx emits two extra dwords in the render target setup. Signed-off

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

2009-09-11 Thread Alex Deucher
From 465dbcc9e66b200e6ed453818ddbf30a263b2f95 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 11 Sep 2009 15:27:14 -0400 Subject: [PATCH] drm/radeon/kms: fix typo in quirks Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_atombios.c

Re: [BUG] radeon kernel command checker blocks 32 bit gl(x)info on x86_64

2009-09-15 Thread Alex Deucher
2009/9/15 Thierry Vignaud tvign...@mandriva.com: Hi, It looks like the radeon kernel command checker blocks some of gl(x)info's 32 bit commands. Here's dmesg output ioctl32(glxinfo:5153): Unknown cmd fd(4) cmd(80046402){t:'d';sz:4} arg(ff9b517c) on /dev/dri/card0 ioctl32(glinfo:5184):

Re: [PATCH] drm/r600/kms: fixup number of loops per blit calculation.

2009-09-17 Thread Alex Deucher
for the remainder after doing the aligned blits. Signed-off-by: Dave Airlie airl...@redhat.com Acked-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/r600_blit_kms.c |   21 ++---  1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/radeon

[PATCH] drm/radeon/r600: don't do interrupts

2009-09-17 Thread Alex Deucher
From 8568f7c5f5729f9fb7a645b5e77835c52bb3abed Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 17 Sep 2009 14:25:12 -0400 Subject: [PATCH] drm/radeon/r600: don't do interrupts Interrupts are not supported yet. This prevents things like mesa from trying to use them

Re: [IDEA] drm/radeon/kms: user defined power state

2009-09-18 Thread Alex Deucher
2009/9/17 Rafał Miłecki zaj...@gmail.com: W dniu 18 września 2009 00:55 użytkownik Rafał Miłecki zaj...@gmail.com napisał: My new proposition is rather create some user_power_mode and let user specify all 3 params. For example: $ echo 20 40 1050 /sys/class/gpu/user_power_mode $ cat

[PATCH] drm/radeon/r600/kms: rv670 is not DCE3

2009-09-18 Thread Alex Deucher
From 3065eb65a36a0b49a7975274b8236fc01127c1db Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 18 Sep 2009 11:30:30 -0400 Subject: [PATCH] drm/radeon/r600/kms: rv670 is not DCE3 RV670 was using the wrong modesetting code. Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/r600: set correct pitch for 4 byte copy

2009-09-21 Thread Alex Deucher
From c24a0a2505fd65dfd72e2c06f58b9a2dba3b4586 Mon Sep 17 00:00:00 2001 From: Andre Maasikas amaasi...@gmail.com Date: Mon, 21 Sep 2009 08:59:41 -0400 Subject: [PATCH] drm/radeon/r600: set correct pitch for 4 byte copy [agd5f: also fix the non-kms path] Signed-off-by: Alex Deucher alexdeuc

Re: [git pull] drm tree.

2009-09-21 Thread Alex Deucher
On Mon, Sep 21, 2009 at 7:59 AM, Ed Tomlinson e...@aei.ca wrote: On Monday 21 September 2009 01:12:54 Dave Airlie wrote: Hi Linus, Please pull the 'drm-linus' branch from ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-linus This contains the main chunk of the

[PATCH] drm/radeon/kms/r600: clamp vram to aperture size

2009-09-25 Thread Alex Deucher
From 49f59e9769262fe986b78093db14a3d48ea46e57 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 25 Sep 2009 10:06:39 -0400 Subject: [PATCH] drm/radeon/kms/r600: clamp vram to aperture size r6xx and r7xx was missing this. We don't support non-CPU accessible vram yet

radeon vline fixes

2009-09-25 Thread Alex Deucher
for code in the drm for pre-r6xx chips - 0001-kms-r600-add-support-for-vline-relocs.patch Adds vline reloc support for r6xx/r6xx GPUs to xf86-video-ati for kms Alex From fc6f54267b9d4a4e41533c2ec72174acff4756eb Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 25 Sep 2009 16

[PATCH] drm/radeon/kms/r600: fix forcing pci mode on agp cards

2009-09-25 Thread Alex Deucher
From ed7fce0d1e41a5a9b61ce7619a2592da3558be25 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 25 Sep 2009 17:32:14 -0400 Subject: [PATCH] drm/radeon/kms/r600: fix forcing pci mode on agp cards All we need to do on r6xx/r7xx is clear the RADEON_IS_AGP flag; the rest

[PATCH] drm/radeon/r600: fix offset handling in CS parser

2009-09-25 Thread Alex Deucher
From 57ced4dbd7c35ce71be85b0c00dba1e2bad6 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 25 Sep 2009 18:33:08 -0400 Subject: [PATCH] drm/radeon/r600: fix offset handling in CS parser Need add reloc offset to the offset in the actual packet. Fixes use

Re: RFC: Porting radeonhds HDMI support to KMS

2009-09-28 Thread Alex Deucher
On Sun, Sep 27, 2009 at 3:38 PM, Christian König deathsim...@vodafone.de wrote: Hi everybody, since i didn't got so much todo in the last week than i thought i would, i finally sit down and ported the HDMI support for R600 and up chipsets from radeonhd to KMS. So the attached patch is based

Re: kms and memory bandwidth limitations

2009-10-02 Thread Alex Deucher
On Fri, Oct 2, 2009 at 12:20 AM, Dave Airlie airl...@gmail.com wrote: So I was looking at the memory bandwidth limitations that ajax added to the X server, and how we could add the concept to KMS. Now the X server is in a lucky position as when it gets the modes it also knows what bit

Re: [PATCH] drm/radeon/kms: respect single crtc cards, only create one crtc.

2009-10-02 Thread Alex Deucher
On Fri, Oct 2, 2009 at 12:25 AM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com Also add single crtc for RN50 chips. Signed-off-by: Dave Airlie airl...@redhat.com ---  drivers/gpu/drm/radeon/r100.c                   |    8 +---  

[PATCH] drm/radeon/kms: add support for Surround View

2009-10-02 Thread Alex Deucher
From c452529658530f18d7295e02d9007417aeca80b4 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 2 Oct 2009 17:36:41 -0400 Subject: [PATCH] drm/radeon/kms: add support for Surround View Surround View is an option in the system bios that enables the AMD IGP chip

Re: How to disable drm/kms actions during boot?

2009-10-03 Thread Alex Deucher
On Sat, Oct 3, 2009 at 8:19 AM, Matti Aarnio matti.aar...@zmailer.org wrote: I have a display card + display combination that has recently had much problems during system boot.  Some system versions boot just fine to very large text mode, others create entirely black display. Is there any

Re: [Xen-devel] Re: ATI radeon fails with iommu=soft swiotlb=force (seen on RV730/RV740 and RS780/RS800)

2009-10-05 Thread Alex Deucher
On Mon, Oct 5, 2009 at 10:01 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Mon, Oct 05, 2009 at 11:32:31AM +0100, Jan Beulich wrote: Jeremy Fitzhardinge jer...@goop.org 02.10.09 20:42 On 10/02/09 10:23, Boris Derzhavets wrote: Jeremy, Please,  be aware of

Re: [Xen-devel] Re: ATI radeon fails with iommu=soft swiotlb=force (seen on RV730/RV740 and RS780/RS800)

2009-10-05 Thread Alex Deucher
On Mon, Oct 5, 2009 at 10:49 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Mon, Oct 05, 2009 at 10:41:04AM -0400, Alex Deucher wrote: On Mon, Oct 5, 2009 at 10:01 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Mon, Oct 05, 2009 at 11:32:31AM +0100, Jan Beulich wrote

Re: [PATCH 1/2] drm/radeon/kms: Fallback to non AGP when acceleration fails to initialize

2009-10-06 Thread Alex Deucher
On Tue, Oct 6, 2009 at 11:27 AM, Jerome Glisse jgli...@redhat.com wrote: When GPU acceleration is not working with AGP try to fallback to non AGP GART (either PCI or PCIE GART). This should make KMS failure on AGP less painfull. We still need to find out what is wrong when AGP fails but at

[PATCH] drm/r600: avoid assigning vb twice in blit code

2009-10-06 Thread Alex Deucher
for kernel tree.] Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r600_blit.c | 10 +++--- drivers/gpu/drm/radeon/r600_blit_kms.c |3 ++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_blit.c b/drivers/gpu/drm

Re: [PATCH] drm/radeon: Fix setting of bits

2009-10-06 Thread Alex Deucher
On Tue, Oct 6, 2009 at 3:48 PM, Roel Kluin roel.kl...@gmail.com wrote: Duplicate bits set Signed-off-by: Roel Kluin roel.kl...@gmail.com --- Please review. I merely guessed what it should be. These look correct. DDX should probably be fixed as well. Acked-by: Alex Deucher alexdeuc

Re: radeon kernel module fails to compile

2009-10-07 Thread Alex Deucher
On Wed, Oct 7, 2009 at 11:55 AM, Pekka Paalanen p...@iki.fi wrote: On Wed, 7 Oct 2009 16:19:48 +0200 Johannes Obermayr johannesoberm...@gmx.de wrote: Am Mittwoch, 7. Oktober 2009 14:59:00 schrieben Sie: Don't use that branch, it is outdated, the drm kernel stuff for radeon went into

Re: RFC: Porting radeonhds HDMI support to KMS

2009-10-07 Thread Alex Deucher
On Sun, Sep 27, 2009 at 3:38 PM, Christian König deathsim...@vodafone.de wrote: Hi everybody, since i didn't got so much todo in the last week than i thought i would, i finally sit down and ported the HDMI support for R600 and up chipsets from radeonhd to KMS. So the attached patch is based

Re: [PATCHES] radeon KMS updates

2009-10-09 Thread Alex Deucher
One more patch to address a possible case of systems with bad native mode info for lvds, but a valid edid. Alex On Fri, Oct 9, 2009 at 5:53 PM, Alex Deucher alexdeuc...@gmail.com wrote: Attached are some updates to radeon kms; mostly clean-ups I ran into while preparing for evergreen support

Re: [PATCH] drm/radeon/kms: fix use of index before proper initialisation.

2009-10-12 Thread Alex Deucher
, but I've cleaned it up a bit. Signed-off-by: Dave Airlie airl...@redhat.com 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: [PATCHES] radeon KMS updates

2009-10-12 Thread Alex Deucher
On Mon, Oct 12, 2009 at 12:09 AM, Dave Airlie airl...@linux.ie wrote: patches: 1 - make sure lvds panels have valid native mode info.  if not, report lvds as disconnected 2 - fix up crtc dpms ordering based on recommendation from bios docs 3 - add support for AdjustDisplayPll table which is

Re: [PATCHES] radeon KMS updates

2009-10-12 Thread Alex Deucher
sure I didn't accidentally break lvds on any picky panels due to a typo in the conversion. Alex From ccef8b311a1b9345cb99177a2cf2c37e5667622b Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 12 Oct 2009 11:25:05 -0400 Subject: [PATCH] drm/radeon/kms: properly handle

Updated R5xx 3D Programming Guide

2009-10-13 Thread Alex Deucher
AMD has released a updated version of the R5xx 3D programming guide. The new version offers expanded coverage on texture memory layouts, some notes on implementing anti-aliased lines/points/polys, and some additional registers. The new version of the document is available here:

Re: [radeonhd] Re: RFC: Porting radeonhds HDMI support to KMS

2009-10-13 Thread Alex Deucher
On Sun, Oct 11, 2009 at 6:01 PM, Christian König deathsim...@vodafone.de wrote: Am Mittwoch, den 07.10.2009, 19:01 -0400 schrieb Alex Deucher: FYI, I've committed this patch to my local drm tree as well as several others to clean up and clarify things (and hopefully fix some bugs). Just

Re: [PATCHES] radeon KMS updates

2009-10-13 Thread Alex Deucher
A couple more patches to fix up some issues with tv-out. Alex On Fri, Oct 9, 2009 at 6:45 PM, Alex Deucher alexdeuc...@gmail.com wrote: One more patch to address a possible case of systems with bad native mode info for lvds, but a valid edid. Alex On Fri, Oct 9, 2009 at 5:53 PM, Alex

Re: [PATCHES] radeon KMS updates

2009-10-14 Thread Alex Deucher
And one more for to fix the active_device setup. Alex On Wed, Oct 14, 2009 at 12:45 AM, Alex Deucher alexdeuc...@gmail.com wrote: A couple more patches to fix up some issues with tv-out. Alex On Fri, Oct 9, 2009 at 6:45 PM, Alex Deucher alexdeuc...@gmail.com wrote: One more patch

[PATCH] drm/radeon/kms: fix connector edid handling

2009-10-15 Thread Alex Deucher
From 1005d7c5ae7c93f883d44132d07e6cbed2126665 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 15 Oct 2009 16:16:35 -0400 Subject: [PATCH] drm/radeon/kms: fix connector edid handling Based partly on a patch from Christian Koenig deathsim...@vodafone.de - fix several

[PATCH] drm/radeon/kms: fix legacy quirk handling

2009-10-15 Thread Alex Deucher
From d4e409315c2d1486b6e816030efcbad03b13e43a Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 15 Oct 2009 23:08:05 -0400 Subject: [PATCH] drm/radeon/kms: fix legacy quirk handling Need to check the return type for the quirk function to decide whether we add

[PATCH] drm/radeon/kms: fix support for original r100

2009-10-15 Thread Alex Deucher
From e8c49ae42133c01ef87e01aa9a1ff11fed3b413b Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 15 Oct 2009 23:38:32 -0400 Subject: [PATCH] drm/radeon/kms: fix support for original r100 Original radeon didn't have a connector table in the bios. Check for the CRT table

[PATCH] drm/radeon/kms/atom: add support for spread spectrum (v2)

2009-10-16 Thread Alex Deucher
562b4d8c261db106acdd272ab3bdb12c0152649c Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 16 Oct 2009 11:15:25 -0400 Subject: [PATCH] drm/radeon/kms/atom: add support for spread spectrum (v2) Spread spectrum is a periodic disturbance added to the feedback divider

[PATCH] drm/radeon/kms: add support for msi

2009-10-16 Thread Alex Deucher
From 482ec0ac012a8e4ca535ee50fc96305a1f11f43a Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 16 Oct 2009 12:21:24 -0400 Subject: [PATCH] drm/radeon/kms: add support for msi Try to enable msi on chips that support it. Signed-off-by: Alex Deucher alexdeuc...@gmail.com

[PATCHES] radeon kms drm patches

2009-10-19 Thread Alex Deucher
-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r100.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index 647de2e..b438b52 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers

[PATCHES] radeon drm updates

2009-10-21 Thread Alex Deucher
A bunch of radeon drm patches from my local queue. Alex From 97806e104445dbd94918ef69666aabe8d1d68f59 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 19 Oct 2009 17:23:33 -0400 Subject: [PATCH] drm/radeon/kms: fix vram_width calculation on r6xx/r7xx Signed-off

[PATCH] drm/radeon/kms/r7xx: add regs for 40 bit CUR/GRPH addresses

2009-10-22 Thread Alex Deucher
From a8a7d447d4f781670a849e345f5f31edb975c397 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 22 Oct 2009 16:12:34 -0400 Subject: [PATCH] drm/radeon/kms/r7xx: add regs for 40 bit CUR/GRPH addresses The *_HIGH regs are reversed. The secondary ones are in the primary

Re: modeset repo

2009-10-26 Thread Alex Deucher
On Mon, Oct 26, 2009 at 12:24 PM, James Simmons jsimm...@infradead.org wrote: What is the git path for the mdoeset repo. I have some patches I like to submit. Most patches go through Dave's drm-next tree:

[PATCHES] radeon kms drm patches

2009-10-27 Thread Alex Deucher
A couple of small modesetting fixes. Alex From 84248ff437864aab1d0d3aba971aa4d32c248526 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 27 Oct 2009 11:16:09 -0400 Subject: [PATCH] drm/radeon/kms/atom: loosen pll min output limits Limiting the pll output range

[PATCH] drm/radeon/kms/atom: Make card_info per device

2009-10-27 Thread Alex Deucher
radeon_device dataset, a struct member of the radeon device instead of a static per kernel module value. This should avoid potential problems with two radeon cards installed in one system. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_device.c | 29

[PATCH] possible fix for spread spectrum issues

2009-10-27 Thread Alex Deucher
For those of you having issues with the spread spectrum patch, this patch should fix it up. If not, we should probably get rid the ss patch until it's gotten some more testing. Alex From 4a5d68c399f950bd603e7af752ac7eb430ee1d19 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com

Re: [PATCH] possible fix for spread spectrum issues

2009-10-27 Thread Alex Deucher
Looks like the issue was actually a potential oops. New patch attached. Alex On Tue, Oct 27, 2009 at 4:44 PM, Alex Deucher alexdeuc...@gmail.com wrote: For those of you having issues with the spread spectrum patch, this patch should fix it up.  If not, we should probably get rid the ss

[PATCH] drm/radeon/kms: add quirk for hp dc5750

2009-10-27 Thread Alex Deucher
From d8a247c57fddc2dc01b41320988c25aa5dfcb0d7 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 28 Oct 2009 01:46:54 -0400 Subject: [PATCH] drm/radeon/kms: add quirk for hp dc5750 Doesn't have a tv-out port Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers

Re: HI, where could I get k8m800 chrome pro register document?

2009-10-30 Thread Alex Deucher
On Fri, Oct 30, 2009 at 3:27 AM, ye janboe janboe...@gmail.com wrote: Hi, All Does via release k8m800 chrome pro register document for OSS? I could not find it on x.org website. Your best bet it to check VIA's website. Alex

Re: [PATCH] drm/radeon/kms: fix coherency issues on AGP cards.

2009-10-30 Thread Alex Deucher
On Thu, Oct 29, 2009 at 11:32 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com When we are evicting from VRAM-RAM we allocate the ttm object, but we don't set the caching policy on it before blitting into it. This means on AGP we end up blitting into cached pages,

[PATCH] drm/radeon/kms: Don't RMW CP_RB_CNTL

2009-11-02 Thread Alex Deucher
From 285b15261833cccb0fd2396f3404b7a7d59a014e Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 2 Nov 2009 16:01:27 -0500 Subject: [PATCH] drm/radeon/kms: Don't RMW CP_RB_CNTL Immediate readback seems faulty on some chips. I suspect it takes a while to get through

[PATCH] drm/radeon/kms/r700: fix some typos in chip init

2009-11-03 Thread Alex Deucher
From 70e8a6098f8debf71769f309bc3b25f2e1ce855d Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 3 Nov 2009 10:04:01 -0500 Subject: [PATCH] drm/radeon/kms/r700: fix some typos in chip init Noticed by Andre on IRC. Also fix up some minor whitespace issues. Signed-off

[PATCH] drm/radeon/kms: remove some misleading debugging output

2009-11-03 Thread Alex Deucher
From a98496560afee035314f35b08c59e5bcbfe096d7 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 3 Nov 2009 16:10:36 -0500 Subject: [PATCH] drm/radeon/kms: remove some misleading debugging output Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm

[PATCHES] radeon kms drm patches

2009-11-05 Thread Alex Deucher
point. Patch set also contains a rebased version of the rs880 patch I sent yesterday. Alex From a40ff87d19252c9ee1ea4761d0afac3d8097c869 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 5 Nov 2009 13:11:46 -0500 Subject: [PATCH] drm/radeon/kms/r600: fix rs880 support v2

[PATCH] drm/radeon/r600: CS parser updates

2009-11-09 Thread Alex Deucher
From 33043f0c15730f1bda1abd18179ebbfb603c0105 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 9 Nov 2009 16:41:21 -0500 Subject: [PATCH] drm/radeon/r600: CS parser updates Add some additional regs that require relocs. Signed-off-by: Alex Deucher alexdeuc...@gmail.com

[PATCHES] radeon kms drm i2c updates

2009-11-10 Thread Alex Deucher
From c965481ece7d9ccb7264abf45ae41806cef20364 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 5 Nov 2009 18:27:30 -0500 Subject: [PATCH 1/3] drm/radeon/kms: dont't pass a radeon_connector to radeon_i2c_do_lock() We need this for supporting things other than ddc on i2c

[PATCH] drm/radeon/kms: fix typo in legacy internal tmds mode fixup

2009-11-12 Thread Alex Deucher
From 40f18784d4b9471a9db6432a53a1bc4fa29b1f04 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 12 Nov 2009 14:01:36 -0500 Subject: [PATCH] drm/radeon/kms: fix typo in legacy internal tmds mode fixup Call to set active device was missing. Signed-off-by: Alex Deucher

[PATCH] drm/radeon/kms: rework scaler handling

2009-11-12 Thread Alex Deucher
From af779d3c5a530db7f88d16969a49b9dcb1db Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 12 Nov 2009 14:55:14 -0500 Subject: [PATCH] drm/radeon/kms: rework scaler handling Keep requested scaler type in radeon_encoder and the actual scaler type used in radeon_crtc

Re: drm/radeon/r600: CS parser updates perhaps broke 3d

2009-11-15 Thread Alex Deucher
On Sun, Nov 15, 2009 at 4:30 PM, Mikko Vinni mmvi...@yahoo.com wrote: Hi, after commit a39533b4ddad388b64a20bcabd17ac125fd4ba65 (drm/radeon/r600: CS parser updates) landed in mainline (happens still in v2.6.32-rc7-29-ga9366e6) trying to start a 3D app (glxgears or xmoto for example) started

Re: [RFC][PATCH] drm/radeon/kms: register backlight device for KLDSCP_LVTMA

2009-11-16 Thread Alex Deucher
2009/11/16 Rafał Miłecki zaj...@gmail.com: This patch introduces backlight control for KLDSCP_LVTMA encoder using /sys/class/backlight. Mostly interesting for ppl without ACPI/platform backlight control like some Sony VAIO owners. This should probably be enabled only on specific devices

Re: [PATCH] drm/radeon/kms: add support to atom parser for FB read/write

2009-11-16 Thread Alex Deucher
...@redhat.com Acked-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/atom.c          |   32  drivers/gpu/drm/radeon/atom.h          |    2 ++  drivers/gpu/drm/radeon/radeon_device.c |    2 ++  3 files changed, 32 insertions(+), 4 deletions

[PATCH] drm/radeon/kms: add quirk for MSI S270

2009-11-16 Thread Alex Deucher
From c655de857df1c8d920be9b82368db850dca87558 Mon Sep 17 00:00:00 2001 From: Alex Deucher a...@hp.localdomain Date: Mon, 16 Nov 2009 18:33:51 -0500 Subject: [PATCH] drm/radeon/kms: add quirk for MSI S270 doesn't have a tv-out port Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers

[PATCH] drm/radeon/kms: deal with connectors sourced to the same encoder

2009-11-17 Thread Alex Deucher
From f0c914fcbd1d178214b624438810ad32e3328fe2 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 17 Nov 2009 15:44:01 -0500 Subject: [PATCH] drm/radeon/kms: deal with connectors sourced to the same encoder Some systems have multiple connectors connected to the same

[PATCH] drm/radeon/kms: add quirk for Acer laptop

2009-11-17 Thread Alex Deucher
From 50698aab33d947171324e52f9678d975cd54d94a Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 17 Nov 2009 17:12:10 -0500 Subject: [PATCH] drm/radeon/kms: add quirk for Acer laptop DVI-I port is actually DVI-D Signed-off-by: Alex Deucher alexdeuc...@gmail.com

Re: [PATCH] drm/radeon/kms: add quirk for Acer laptop

2009-11-17 Thread Alex Deucher
now with non-mangled patch. On Tue, Nov 17, 2009 at 5:19 PM, Alex Deucher alexdeuc...@gmail.com wrote: From 50698aab33d947171324e52f9678d975cd54d94a Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 17 Nov 2009 17:12:10 -0500 Subject: [PATCH] drm/radeon/kms: add

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

2009-11-20 Thread Alex Deucher
On Fri, Nov 20, 2009 at 5:45 AM, Viktor Malyarchuk mal...@gmail.com wrote: Dear David, thank you and all the developers involved for your outstanding DRM/KMS work. There is a problem that was introduced in 2.6.32-rc6-git5. SUMMARY any mode switch on MacBookPro2,2 is delayed by 130 seconds

Re: [PATCH 3/3] drm/radeon/kms: Add range pinning to crtc/cursor bo

2009-11-20 Thread Alex Deucher
On Fri, Nov 20, 2009 at 8:29 AM, Jerome Glisse jgli...@redhat.com wrote: We force the crtc cursor bo to be in the first 64M, this will help on legacy modesetting hw where the offset of scanout buffer and cursor are relative to a base address. This limitation only applies to pre-avivo

Re: [radeon-drm] kms resolution wrong with kernel 2.6.32rc8-git1

2009-11-23 Thread Alex Deucher
On Sun, Nov 22, 2009 at 6:00 AM, Andreas Radke a.ra...@arcor.de wrote: radeon kms worked well with my X200m/R300 card in kernel 31 series and now I tried 32rc8-git1 and resolution detection fails: It detects the resolution of your panel (1280x800) fine. It's also detecting the tv-out port as

Re: [radeon-drm] kms resolution wrong with kernel 2.6.32rc8-git1

2009-11-23 Thread Alex Deucher
On Mon, Nov 23, 2009 at 4:03 AM, Andreas Radke a.ra...@arcor.de wrote: On Mon, 23 Nov 2009, Alex Deucher wrote: On Sun, Nov 22, 2009 at 6:00 AM, Andreas Radke a.ra...@arcor.de wrote: radeon kms worked well with my X200m/R300 card in kernel 31 series and now I tried 32rc8-git1 and resolution

Re: [PATCH] drm/radeon/kms: add HDP flushing for all GPUs.

2009-11-23 Thread Alex Deucher
on r600 with this change. Signed-off-by: Dave Airlie airl...@redhat.com Acked-by: Alex Deucher alexdeuc...@gmail.com ---  drivers/gpu/drm/radeon/r100.c          |    8  drivers/gpu/drm/radeon/r600.c          |    4  drivers/gpu/drm/radeon/r600d.h         |    1 +  drivers/gpu

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

2009-11-23 Thread Alex Deucher
and git bisects the commits in between. You try those commits and mark them as good or bad until you find the problematic one. Alex Best, Viktor On Friday 20 November 2009 10:16:44 am Alex Deucher wrote: On Fri, Nov 20, 2009 at 5:45 AM, Viktor Malyarchuk mal...@gmail.com wrote: Dear

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

2009-11-26 Thread Alex Deucher
On Thu, Nov 26, 2009 at 5:21 AM, Viktor Malyarchuk mal...@gmail.com wrote: Hi Jerome, yes, you are right. Reverting f30f37def4c72e5df8d949022b806e5a4e99bbcb for 2.6.32rc8 did not fix the problem. During bisecting here bad: [f30f37def4c72e5df8d949022b806e5a4e99bbcb] drm/radeon/kms: Update

[PATCHES] radeon kms drm dp updates

2009-11-27 Thread Alex Deucher
Fix DP detect and clean up DP debugging info. Alex From a207047693e1249c5e4289785c9bb00d4e7e6541 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 27 Nov 2009 13:01:46 -0500 Subject: [PATCH] drm/radeon/kms: fix DP detect only return connected if there is actually

[PATCH] drm/radeon/kms/atom: pull misc mode info for lvds from bios tables

2009-11-29 Thread Alex Deucher
From 0d49d381d6749dc3013527b369c83ef31852ce4c Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 30 Nov 2009 01:40:24 -0500 Subject: [PATCH] drm/radeon/kms/atom: pull misc mode info for lvds from bios tables sync polarity, etc. This will likely fix LVDS problems on some

[PATCH] drm/radeon/kms: fix LVDS setup on r4xx

2009-11-30 Thread Alex Deucher
From 8753d58c4228deaefe5d19deef03f856489b76fd Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 30 Nov 2009 01:54:16 -0500 Subject: [PATCH] drm/radeon/kms: fix LVDS setup on r4xx R4xx mobility chips use atombios, which does not store the LVDS_GEN_CNTL parameter setup

[PATCH] Add interrupt controller firmware for r6xx/r7xx chips

2009-11-30 Thread Alex Deucher
These are the firmware files needed for the interrupt controller on r6xx/r7xx chips. Copy them to /lib/firmware/radeon/ to use interrupts on these chips. The license terms are listed in the attached file (LICENSE.radeon). These should probably go into the linux firmware tree. Alex

[PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Alex Deucher
and accessible to the firmware loader for interrupts to function. Alex From c415802e12563ea1f1ef3cd46a004ce6cc2300ff Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Mon, 30 Nov 2009 13:45:31 -0500 Subject: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-11-30 Thread Alex Deucher
On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher alexdeuc...@gmail.com wrote: This enables the use of interrupts on r6xx/r7xx hardware. Interrupts are implemented via a ring buffer.  The GPU adds interrupts vectors to the ring and the host reads them off in the interrupt handler.  The interrupt

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-01 Thread Alex Deucher
On Mon, Nov 30, 2009 at 6:11 PM, Alex Deucher alexdeuc...@gmail.com wrote: On Mon, Nov 30, 2009 at 2:02 PM, Alex Deucher alexdeuc...@gmail.com wrote: This enables the use of interrupts on r6xx/r7xx hardware. Interrupts are implemented via a ring buffer.  The GPU adds interrupts vectors

[PATCH] drm/radeon/kms: add tv standard property to tv connectors

2009-12-01 Thread Alex Deucher
From ca209ade406e572785187a15e7b45ac09cbbf642 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 1 Dec 2009 14:12:14 -0500 Subject: [PATCH] drm/radeon/kms: add tv standard property to tv connectors Lets user select tv-standard. The property was there, just not hooked up

[PATCH] drm/radeon/kms: don't use bios dividers for lvds on r4xx

2009-12-01 Thread Alex Deucher
From 7f15ad08efb8b58ea572689dbada7da1d3624a8c Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 2 Dec 2009 00:59:37 -0500 Subject: [PATCH] drm/radeon/kms: don't use bios dividers for lvds on r4xx R4xx cards don't have lvds pll dividers since they use atom. should fix

[PATCH] drm/radeon/kms: handle vblanks properly with dpms on avivo chips

2009-12-02 Thread Alex Deucher
From 954230c97fac8fbfc2212024ff9f6c057bf48714 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 2 Dec 2009 11:46:52 -0500 Subject: [PATCH] drm/radeon/kms: handle vblanks properly with dpms on avivo chips Copied from pre-avivo code. Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms: tighten the pll range when selecting dividers

2009-12-02 Thread Alex Deucher
to need a wider range (some duallink monitors). Alex From 9a08f099ae01de8e6e6511dbda556b1584d0fd0e Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 2 Dec 2009 19:03:52 -0500 Subject: [PATCH] drm/radeon/kms: tighten the pll range when selecting dividers We use the pll

[PATCH] drm/radeon/kms: pll fixes

2009-12-02 Thread Alex Deucher
09e41073d46cc9f3e69444b1ee12e4c5dee3f779 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Wed, 2 Dec 2009 19:26:48 -0500 Subject: [PATCH] drm/radeon/kms: pll fixes Should help fix flickering modes on some systems. Use the tighter pll_out_min from the bios in addition to fractional feedback dividers

[PATCH] drm/radeon/kms: fix legacy crtc2 dpms

2009-12-03 Thread Alex Deucher
From 942489388e07ad3fd3eb0b8daca46402d60898ef Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 3 Dec 2009 12:15:54 -0500 Subject: [PATCH] drm/radeon/kms: fix legacy crtc2 dpms noticed by Matthijs Kooijman on fdo bug 22140 Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms: fix vram setup on rs600

2009-12-03 Thread Alex Deucher
From d01f1c26e987335c2b06c8b0a7cbbb16da23b183 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 3 Dec 2009 16:18:19 -0500 Subject: [PATCH] drm/radeon/kms: fix vram setup on rs600 also fix up rs690 mem width. should fix fdo bug 25408 Signed-off-by: Alex Deucher

[PATCH] drm/radeon/kms: rs6xx/rs740: clamp vram to aperture size

2009-12-03 Thread Alex Deucher
From 9de8d948c2768ebcc3ecab6cbe0347f618910887 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Thu, 3 Dec 2009 16:28:02 -0500 Subject: [PATCH] drm/radeon/kms: rs6xx/rs740: clamp vram to aperture size Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm

Re: [PATCH] drm/intel: refactor DP i2c support and DP common header to drm helper

2009-12-04 Thread Alex Deucher
On Thu, Dec 3, 2009 at 8:08 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com Both radeon and nouveau can re-use this code so move it up a level so they can. However the hw interfaces for aux ch are different enough that the code to translate from mode, address,

[PATCHES] radeon kms legacy drm patches

2009-12-04 Thread Alex Deucher
:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Fri, 4 Dec 2009 10:40:41 -0500 Subject: [PATCH] drm/radeon/kms/legacy: set overscan regs on modeset These can end up with garbage otherwise. fixes rh bug 537140 Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon

Re: [PATCHES] radeon kms drm HPD patches

2009-12-04 Thread Alex Deucher
On Fri, Dec 4, 2009 at 5:58 PM, Luc Verhaegen l...@skynet.be wrote: On Fri, Dec 04, 2009 at 05:18:21PM -0500, Alex Deucher wrote: This set of patches adds interrupt driven HPD (Hot Plug Detect) support to r1xx-r7xx radeons.  Assuming the HPD pin is wired up correctly, the driver will generate

Re: [PATCHES] radeon kms drm HPD patches

2009-12-04 Thread Alex Deucher
On Fri, Dec 4, 2009 at 6:50 PM, Luc Verhaegen l...@skynet.be wrote: On Fri, Dec 04, 2009 at 06:14:24PM -0500, Alex Deucher wrote: On Fri, Dec 4, 2009 at 5:58 PM, Luc Verhaegen l...@skynet.be wrote: On Fri, Dec 04, 2009 at 05:18:21PM -0500, Alex Deucher wrote: This set of patches adds

[PATCH] drm/radeon/kms: fix up gart setup on rs600

2009-12-05 Thread Alex Deucher
From 7d300a86142d18cba993718c35a1c14be66c318f Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Sat, 5 Dec 2009 17:55:37 -0500 Subject: [PATCH] drm/radeon/kms: fix up gart setup on rs600 Set up rs600 gart like r600: - set gart system aperture to vram - inside gart system

Re: [PATCH] drm/radeon/kms: fix RS600 MC setup.

2009-12-06 Thread Alex Deucher
-- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel From 940f0e7fe6a9c76c2e5261ef93633ed5bffe8a3b Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Sun, 6 Dec 2009

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Alex Deucher
2009/12/7 Mike Lothian m...@fireburn.co.uk: 2009/12/1 Rafał Miłecki zaj...@gmail.com: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: Round 3. This fixed my lose of VBLANK interrupts after few seconds, but I still have issue with fences after applying this. My rdev-fence_drv.emited gets

Re: [PATCH] drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips

2009-12-07 Thread Alex Deucher
On Mon, Dec 7, 2009 at 5:53 PM, Mike Lothian m...@fireburn.co.uk wrote: 2009/12/7 Alex Deucher alexdeuc...@gmail.com: 2009/12/7 Mike Lothian m...@fireburn.co.uk: 2009/12/1 Rafał Miłecki zaj...@gmail.com: 2009/12/1 Alex Deucher alexdeuc...@gmail.com: Round 3. This fixed my lose of VBLANK

Re: drm/*/kms: how to prepare driver for modesetting

2009-12-07 Thread Alex Deucher
2009/12/7 Rafał Miłecki zaj...@gmail.com: W dniu 3 grudnia 2009 11:20 użytkownik Jerome Glisse gli...@freedesktop.org napisał: The first design i thought for PM long time ago was : func_compute_clock func_set_clock func_irq_powersave func_compute_clock is call any time there is a mode

[PATCH] drm/radeon/kms: connector fixes

2009-12-08 Thread Alex Deucher
From 9065a7b4454aa88a797122b4a082d1b69e067821 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 8 Dec 2009 12:48:20 -0500 Subject: [PATCH] drm/radeon/kms: connector fixes - Don't add dac load detection property to DVI-D - Make sure i2c info is valid before adding DP aux

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

2009-12-08 Thread Alex Deucher
From 37f17525464405806d411b540f1b08f23616b02c Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 8 Dec 2009 13:55:33 -0500 Subject: [PATCH] drm/radeon/kms/r600/r700: fall back to no accel if ucode loading fails Signed-off-by: Alex Deucher alexdeuc...@gmail.com

[PATCH] drm/radeon/kms: make sure ss id matches

2009-12-08 Thread Alex Deucher
From 6d58c7712414dcd80e837292e99ce6aab4cb4271 Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 8 Dec 2009 14:07:03 -0500 Subject: [PATCH] drm/radeon/kms: make sure ss id matches entries in the ss table aren't always ordered by id. Signed-off-by: Alex Deucher alexdeuc

[PATCH] drm/radeon/kms: make sure i2c id matches

2009-12-08 Thread Alex Deucher
From cacc85cdedbb2c84794d394aaff61bd609e6e38d Mon Sep 17 00:00:00 2001 From: Alex Deucher alexdeuc...@gmail.com Date: Tue, 8 Dec 2009 14:30:49 -0500 Subject: [PATCH] drm/radeon/kms: make sure i2c id matches Entries in the i2c table aren't always ordered by id. This allows us to remove some

<    4   5   6   7   8   9   10   11   12   >