[Intel-gfx] [PATCH] drm/i915: fix tiling limits for i915 class hw

2010-04-15 Thread Daniel Vetter
Current code is definitely crap: Largest pitch allowed spills into the TILING_Y bit of the fence registers ... :( I've rewritten the limits check under the assumption that 3rd gen hw has a 3d pitch limit of 8kb (like 2nd gen). This is supported by an otherwise totally misleading XXX comment. This

Re: [Intel-gfx] [PATCH] drm/i915: fix tiling limits for i915 class hw

2010-04-15 Thread Chris Wilson
On Thu, 15 Apr 2010 09:08:16 +0200, Daniel Vetter wrote: > Current code is definitely crap: Largest pitch allowed spills into > the TILING_Y bit of the fence registers ... :( > > I've rewritten the limits check under the assumption that 3rd gen hw > has a 3d pitch limit of 8kb (like 2nd gen). Th

[Intel-gfx] [PATCH 1/2] drm/i915: Fix 82854 PCI ID, and treat it like other 85X

2010-04-15 Thread Adam Jackson
pci.ids and the datasheet both say it's 358e, not 35e8. Signed-off-by: Adam Jackson --- drivers/gpu/drm/i915/i915_drv.c |5 +++-- drivers/gpu/drm/i915/i915_drv.h |3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 2/2] drm/i915: Attempt to fix watermark setup on 85x

2010-04-15 Thread Adam Jackson
IS_MOBILE() catches 85x, so we'd always try to use the 9xx FIFO sizing; since there's an explicit 85x version, this seems wrong. Signed-off-by: Adam Jackson --- drivers/gpu/drm/i915/intel_display.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i91

Re: [Intel-gfx] BACKLIGHT_CONTROL and xrandr

2010-04-15 Thread Sergio Monteiro Basto
On Mon, 2010-04-12 at 23:02 +0100, Matthew Garrett wrote: > On Mon, Apr 12, 2010 at 09:57:51PM +0100, Sergio Monteiro Basto wrote: > > So any change this patch enter in fedora kernel ? or have this patch > > against fedora kernels ? > > It's unlikely to end up in any current Fedora releases bec

[Intel-gfx] garbage in window with wider than 2048 pixels

2010-04-15 Thread Tino Keitel
Hi folks, I discovered that windows wider than 2048 pixels contain only garbage when using version 2.11. I switched back to 2.9.1 and this doesn't happen. I use X server 1.7.6 from Debian Sid, kernel 2.6.33.2, libdrm 2.4.18 on a Mac mini Core 2 Duo with i945 graphics. Regards, Tino _

Re: [Intel-gfx] garbage in window with wider than 2048 pixels

2010-04-15 Thread Colin Guthrie
'Twas brillig, and Tino Keitel at 15/04/10 21:18 did gyre and gimble: > Hi folks, > > I discovered that windows wider than 2048 pixels contain only garbage > when using version 2.11. > > I switched back to 2.9.1 and this doesn't happen. I use X server 1.7.6 > from Debian Sid, kernel 2.6.33.2, lib

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Attempt to fix watermark setup on 85x

2010-04-15 Thread ykzhao
On Fri, 2010-04-16 at 02:03 +0800, Adam Jackson wrote: > IS_MOBILE() catches 85x, so we'd always try to use the 9xx FIFO sizing; > since there's an explicit 85x version, this seems wrong. Right. It seems that the incorrect get_fifo_size callback function is used for 85x. It seems that the i830 is