Re: [PATCH 1/5]: drm: ati_pcigart: Do not access I/O MEM space using pointer derefs.

2009-02-13 Thread Dave Airlie
On Sat, Feb 14, 2009 at 4:09 PM, David Miller wrote: > From: Benjamin Herrenschmidt > Date: Thu, 12 Feb 2009 21:35:59 +1100 > >> Oh BTW something else to be careful with, though I suppose it's working >> some what by accident right now... when the GART is in the frame buffer >> it gets applied th

[PATCH]: drm: ati_pcigart: Fix limit check in drm_ati_pcigart_init().

2009-02-13 Thread David Miller
drm: ati_pcigart: Fix limit check in drm_ati_pcigart_init(). The variable 'max_pages' is ambiguous. There are two concepts of "pages" being used in this function. First, we have ATI GART pages which are always 4096 bytes. Then, we have system pages which are of size PAGE_SIZE. Eliminate the co

Re: [PATCH 1/5]: drm: ati_pcigart: Do not access I/O MEM space using pointer derefs.

2009-02-13 Thread David Miller
From: Benjamin Herrenschmidt Date: Thu, 12 Feb 2009 21:35:59 +1100 > Oh BTW something else to be careful with, though I suppose it's working > some what by accident right now... when the GART is in the frame buffer > it gets applied the current fb swapper setting... ouch ! > > So it might be a g

[PATCH 4/4] drm: Use spread spectrum when the bios tells us it's ok.

2009-02-13 Thread Kristian Høgsberg
Lifted from the DDX modesetting. Signed-off-by: Kristian Høgsberg --- drivers/gpu/drm/i915/i915_drv.h |2 ++ drivers/gpu/drm/i915/intel_bios.c|8 drivers/gpu/drm/i915/intel_display.c | 20 ++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --

[PATCH 3/4] drm: Collapse identical i8xx_clock() and i9xx_clock().

2009-02-13 Thread Kristian Høgsberg
They used to be different. Now they're identical. Signed-off-by: Kristian Høgsberg --- drivers/gpu/drm/i915/intel_display.c | 33 ++--- 1 files changed, 6 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/inte

[PATCH 2/4] drm: Bring PLL limits in sync with DDX values.

2009-02-13 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- drivers/gpu/drm/i915/intel_display.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 94c7c09..4f54ac5 100644 --- a/drivers/gpu/drm/i915/intel_displ

[PATCH 1/4] drm: Add locking around cursor gem operations.

2009-02-13 Thread Kristian Høgsberg
We need to hold the struct_mutex around pinning and the phys object operations. Signed-off-by: Kristian Høgsberg --- drivers/gpu/drm/i915/intel_display.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/

Re: [RFC] page flipping/buffer swap for DRI2

2009-02-13 Thread Jesse Barnes
On Friday, February 13, 2009 4:18 pm Peter John Garrone wrote: > In reply to Jesse Barnes post. > I'm not on top of the finer details, being a consumer rather than a > developer. I have the following queries: > > 1) Is the buffer flip to be synchronous in the hardware, or to be > implemented as a s

Re: [RFC] page flipping/buffer swap for DRI2

2009-02-13 Thread Peter John Garrone
In reply to Jesse Barnes post. I'm not on top of the finer details, being a consumer rather than a developer. I have the following queries: 1) Is the buffer flip to be synchronous in the hardware, or to be implemented as a software interrupt? 2) By fullscreen, do you mean covering one or all scre

Re: "Can not ioremap virtual address" (was Re: [git pull] drm)

2009-02-13 Thread Jesse Barnes
On Friday, February 13, 2009 9:28 am Diego Calleja wrote: > On Lunes 09 Febrero 2009 09:30:57 Dave Airlie escribió: > > Hi Linus, > > > > Please pull the 'drm-fixes' branch from > > ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git > > drm-fixes > > A commit from this merge is ca

Re: [PATCH] drm: make drm_wait_vblank return immediately for very old sequence values

2009-02-13 Thread Jesse Barnes
On Friday, February 13, 2009 2:33 am Michel Dänzer wrote: > On Thu, 2009-02-12 at 09:15 -0800, Jesse Barnes wrote: > > It does, but take a look at that code again. If interrupts are disabled > > by the timer, we'll capture the frame count. If, sometime later, they're > > re-enabled, we'll end up

Re: [PATCH] [drm] Release user fbs in drm_release

2009-02-13 Thread Chris Wilson
On Thu, 2009-02-12 at 14:37 -0500, Kristian Høgsberg wrote: > Avoids leaking fbs and associated buffers on release. > > Signed-off-by: Kristian Høgsberg Tested-by: Chris Wilson -- Open Source Business Conference (OSBC)

Re: [PATCH] drm: make drm_wait_vblank return immediately for very old sequence values

2009-02-13 Thread Michel Dänzer
On Thu, 2009-02-12 at 09:15 -0800, Jesse Barnes wrote: > On Thursday, February 12, 2009 2:11 am Michel Dänzer wrote: > > On Wed, 2009-02-11 at 14:29 -0800, Jesse Barnes wrote: > > > > The current wait_vblank condition won't return if the wait sequence is > > > more than 8M behind the current count

[Bug 12385] [845] i915 work with beryl only at 16bpp

2009-02-13 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=12385 --- Comment #8 from Michel Dänzer 2009-02-13 00:28:38 PST --- FWIW, current xserver has a patch which allows the driver to return ~0ULL to indicate that the pixmap can't be used directly. -- Configure bugmail: http://bugs.freedesktop.org/

[Bug 17723] Radeon XPRESS 200M (RC410) - xorg crash when enabling compiz with 32 Mb VRAM

2009-02-13 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=17723 --- Comment #52 from Michel Dänzer 2009-02-13 00:26:18 PST --- Finally got around to pushing the xf86-video-ati patch to Git, so it'll be in the 6.11 release. Can this report be closed? -- Configure bugmail: http://bugs.freedesktop.org/us