Re: [PATCH 1/2] drm/radeon/kms: reset ddc_bus in object header parsing

2010-05-19 Thread Rafał Miłecki
2010/5/19 Alex Deucher alexdeuc...@gmail.com: Some LVDS connectors don't have a ddc bus, so reset the ddc bus to invalid before parsing the next connector to avoid using stale ddc bus data.  Should fix fdo bug 28164. It does, thanks :) Tested-by: Rafał Miłecki zaj...@gmail.com -- Rafał

[Bug 28173] New: mipmap_comp_tests show strange image, green bar at left side

2010-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28173 Summary: mipmap_comp_tests show strange image, green bar at left side Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW

[Bug 28173] mipmap_comp_tests show strange image, green bar at left side

2010-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28173 --- Comment #1 from Andrew Randrianasulu rand...@mail.ru 2010-05-19 03:34:40 PDT --- Created an attachment (id=35756) -- (https://bugs.freedesktop.org/attachment.cgi?id=35756) screenshot showing bug -- Configure bugmail:

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

2010-05-19 Thread Michel Dänzer
On Mit, 2010-05-12 at 18:01 +0200, Jerome Glisse 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. V2 use num_crtc and avoid DRM_ERROR Signed-off-by: Jerome Glisse

[PATCH] drm/radeon: AGP memory is only I/O if the aperture can be mapped by the CPU.

2010-05-19 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com Fixes AGP initialization failure with Apple UniNorth bridges due to trying to ioremap() normal RAM. Signed-off-by: Michel Dänzer daen...@vmware.com --- Nouveau probably needs something similar. drivers/gpu/drm/radeon/radeon_ttm.c |2 +- 1 files

[PATCH] drm/radeon/kms: record object that have been list reserved

2010-05-19 Thread Jerome Glisse
list reservation was too optimistic about ttm object reservation and could think that an object reserved by some other process as reserved by the list reservation which was false. Thus when unreserving the list it might unreserve object that it didn't reserved in the list. Sorry if it's hard to

[Bug 28165] TV-out issues

2010-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28165 --- Comment #1 from pe...@peter-server.homelinux.net 2010-05-19 07:42:51 PDT --- But I could also pulg in the dvd player. I can see the bios messages and grub menu on both screens. I might even see (part of) usplash. Then the dvd player turns

[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 ---

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

2010-05-19 Thread Mark Marshall
Alex Deucher wrote: 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

Re: [PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 09:06:52AM +0100, Chris Wilson wrote: On Tue, 18 May 2010 23:11:42 +0200, Daniel Vetter daniel.vet...@ffwll.ch wrote: Hi all, This patch series implements the fair-lru eviction Chris Wilson already posted with a twist. It's essentially the same idea algorithm.

Re: [PATCH 3/9] drm: kill drm_mm_node-private

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 11:25:07AM +0200, Jerome Glisse wrote: On Tue, May 18, 2010 at 11:11:45PM +0200, Daniel Vetter wrote: Only ever assigned, never used. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch NAK private was to be use when doing range restricted allocation somehow

[Bug 27901] GLSL cos/sin functions broken on Mesa R600 driver

2010-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27901 --- Comment #4 from Alain Perrot alain.per...@gmail.com 2010-05-19 15:58:12 PDT --- (In reply to comment #3) Alain, Okay, The patch I just posted might fix this bug. It doesn't cause any additional errors in piglit either. I think its

[git pull] drm tree for 2.6.35-rc1

2010-05-19 Thread Dave Airlie
This is a combined drm/agp tree. Highlights: core: initial dev docs, agp scratch page support kms: framebuffer cleanup + improved disconnected monitor at boot handling, lots of edid parser updates to bring us in line with the X.org code, improved fbdev handover mechanism. ttm: add AGP page

[PATCH 1/2] drm/radeon/kms: reset ddc_bus in object header parsing

2010-05-19 Thread Rafał Miłecki
2010/5/19 Alex Deucher : > Some LVDS connectors don't have a ddc bus, so reset the > ddc bus to invalid before parsing the next connector > to avoid using stale ddc bus data. ?Should fix > fdo bug 28164. It does, thanks :) Tested-by: Rafa? Mi?ecki -- Rafa?

[Bug 27729] [r300g, mesa] gallium compressed texture problems

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27729 Fabio Pedretti changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Chris Wilson
On Tue, 18 May 2010 23:11:42 +0200, Daniel Vetter wrote: > Hi all, > > This patch series implements the fair-lru eviction Chris Wilson already > posted with a twist. It's essentially the same idea & algorithm. > Differnences versus his patch: > - Doesn't do any allocations while scanning. > -

[PATCH 3/9] drm: kill drm_mm_node->private

2010-05-19 Thread Jerome Glisse
On Tue, May 18, 2010 at 11:11:45PM +0200, Daniel Vetter wrote: > Only ever assigned, never used. > > Signed-off-by: Daniel Vetter NAK private was to be use when doing range restricted allocation somehow the patch that use it was drop/forgot/lost along the was i will try to see i have it and

[Bug 23122] mipmap_comp_tests will cause radeon_validate_texture error

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=23122 --- Comment #3 from Andrew Randrianasulu 2010-05-19 03:29:43 PDT --- I can't see any error with mipmap_comp_tests on rv280 and mesa up to commit 4cd259ca59128ff2712c42ff2d2340b01a3b74a8 Author: Kristian H??gsberg Date: Tue May 18 14:45:10

[Bug 28173] New: mipmap_comp_tests show strange image, green bar at left side

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28173 Summary: mipmap_comp_tests show strange image, green bar at left side Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW

[Bug 28173] mipmap_comp_tests show strange image, green bar at left side

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28173 --- Comment #1 from Andrew Randrianasulu 2010-05-19 03:34:40 PDT --- Created an attachment (id=35756) --> (https://bugs.freedesktop.org/attachment.cgi?id=35756) screenshot showing bug -- Configure bugmail:

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

2010-05-19 Thread Michel Dänzer
On Mit, 2010-05-12 at 18:01 +0200, Jerome Glisse 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. > > V2 use num_crtc and avoid DRM_ERROR > > Signed-off-by: Jerome Glisse

[PATCH] drm/radeon: AGP memory is only I/O if the aperture can be mapped by the CPU.

2010-05-19 Thread Michel Dänzer
From: Michel D?nzer Fixes AGP initialization failure with Apple UniNorth bridges due to trying to ioremap() normal RAM. Signed-off-by: Michel D?nzer --- Nouveau probably needs something similar. drivers/gpu/drm/radeon/radeon_ttm.c |2 +- 1 files changed, 1

[PATCH] drm/radeon/kms: record object that have been list reserved

2010-05-19 Thread Jerome Glisse
list reservation was too optimistic about ttm object reservation and could think that an object reserved by some other process as reserved by the list reservation which was false. Thus when unreserving the list it might unreserve object that it didn't reserved in the list. Sorry if it's hard to

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

2010-05-19 Thread Alex Deucher
Spotted by Scott Bertilson. Fixes fdo bug 28146. Signed-off-by: Alex Deucher --- 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 ---

[Bug 28146] typo in drm_edid.c drm_dmt_modes table

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28146 --- Comment #2 from Alex Deucher 2010-05-19 08:51:05 PDT --- Created an attachment (id=35762) View: https://bugs.freedesktop.org/attachment.cgi?id=35762 Review: https://bugs.freedesktop.org/review?bug=28146=35762 fix the clock Here's the

[Bug 28146] typo in drm_edid.c drm_dmt_modes table

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28146 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

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

2010-05-19 Thread Mark Marshall
Alex Deucher wrote: > Spotted by Scott Bertilson. > Fixes fdo bug 28146. > > Signed-off-by: Alex Deucher > --- > 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

[PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 09:06:52AM +0100, Chris Wilson wrote: > On Tue, 18 May 2010 23:11:42 +0200, Daniel Vetter > wrote: > > Hi all, > > > > This patch series implements the fair-lru eviction Chris Wilson already > > posted with a twist. It's essentially the same idea & algorithm. > >

[PATCH 3/9] drm: kill drm_mm_node->private

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 11:25:07AM +0200, Jerome Glisse wrote: > On Tue, May 18, 2010 at 11:11:45PM +0200, Daniel Vetter wrote: > > Only ever assigned, never used. > > > > Signed-off-by: Daniel Vetter > > NAK > > private was to be use when doing range restricted allocation > somehow the patch

[PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Chris Wilson
On Wed, 19 May 2010 18:57:52 +0200, Daniel Vetter wrote: > On Wed, May 19, 2010 at 09:06:52AM +0100, Chris Wilson wrote: > > The next adaptation I did was to clean up evict_something to add objects > > from the inactive, active&&!pinned&&!write, flushing&&!pinned, > > active&&!pinned& lists. This

[PATCH -next] fbmem: fix printk format warnings

2010-05-19 Thread Randy Dunlap
'long long unsigned int', but argument 5 has type 'resource_size_t' Signed-off-by: Randy Dunlap --- drivers/video/fbmem.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- linux-next-20100519.orig/drivers/video/fbmem.c +++ linux-next-20100519/drivers/video/fbmem.c @@ -1491,7 +1

[Bug 28163] Static on right part of screen when 3D happens on rv350 using KMS

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28163 --- Comment #2 from Scott Moreau 2010-05-19 12:01:28 PDT --- (In reply to comment #1) > This is already fixed in 2.6.34: > http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=commit;h=f46c01208da1881591e3f55ca77d37f54469f8e4

[Bug 28165] TV-out issues

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28165 --- Comment #2 from peter at peter-server.homelinux.net 2010-05-19 12:29:59 PDT --- I just compiled a fresh kernel from git, as decribed here: http://wiki.x.org/wiki/radeonBuildHowTo#Bleedingedgecodefromdevelopmentbranch Same results as

[PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Thomas Hellström
Daniel, Daniel Vetter wrote: > Hi all, > > This patch series implements the fair-lru eviction Chris Wilson already > posted with a twist. It's essentially the same idea & algorithm. > Differnences versus his patch: > - Doesn't do any allocations while scanning. > - Implemented in drm_mm.c > > In

[PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 09:51:33PM +0200, Thomas Hellstr?m wrote: > Daniel, > TTM releases the spinlock protecting the drm_mm manager in between > evictions to be able to wait (without holding locks) for bo idle. > That means that the lru list may have changed between the first > eviction and the

[Bug 27901] GLSL cos/sin functions broken on Mesa R600 driver

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27901 --- Comment #4 from Alain Perrot 2010-05-19 15:58:12 PDT --- (In reply to comment #3) > Alain, > > Okay, The patch I just posted might fix this bug. It doesn't cause any > additional errors in piglit either. I think its working right with >

[Bug 27901] GLSL cos/sin functions broken on Mesa R600 driver

2010-05-19 Thread Conn Clark
On Wed, May 19, 2010 at 3:58 PM, wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=27901 > > --- Comment #4 from Alain Perrot 2010-05-19 > 15:58:12 PDT --- > (In reply to comment #3) >> Alain, >> >> Okay, The patch I just posted might fix this bug. It doesn't cause any >> additional errors

[Bug 27901] GLSL cos/sin functions broken on Mesa R600 driver

2010-05-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27901 --- Comment #5 from Conn Clark 2010-05-19 16:46:22 PDT --- On Wed, May 19, 2010 at 3:58 PM, wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=27901 > > --- Comment #4 from Alain Perrot 2010-05-19 > 15:58:12 PDT --- > (In reply to

[RFC] Try a bit harder to get output on the screen at panic time

2010-05-19 Thread Jesse Barnes
On Fri, 9 Apr 2010 15:10:50 -0700 Jesse Barnes wrote: > This set of 3 patches makes it a little more likely we'll get panic > output onto the screen even when X is running, assuming a KMS enabled > stack anyway. > > It gets me from a blank or very sparsely populated black screen at > panic

[PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Daniel Vetter
Hi all, This patch series implements the fair-lru eviction Chris Wilson already posted with a twist. It's essentially the same idea & algorithm. Differnences versus his patch: - Doesn't do any allocations while scanning. - Implemented in drm_mm.c In other words, this should also be usable by

[PATCH 1/9] list.h: add list_for_each_entry_safe_from_reverse

2010-05-19 Thread Daniel Vetter
i915 needs this. Signed-off-by: Daniel Vetter --- include/linux/list.h | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/linux/list.h b/include/linux/list.h index 8392884..21cdd99 100644 --- a/include/linux/list.h +++ b/include/linux/list.h @@

[PATCH 2/9] drm: use list_for_each_entry in drm_mm.c

2010-05-19 Thread Daniel Vetter
Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_mm.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index 2ac074c..b75eb55 100644 --- a/drivers/gpu/drm/drm_mm.c +++ b/drivers/gpu/drm/drm_mm.c @@ -332,7

[PATCH 3/9] drm: kill drm_mm_node->private

2010-05-19 Thread Daniel Vetter
Only ever assigned, never used. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_gem.c |4 +--- drivers/gpu/drm/ttm/ttm_bo.c |6 -- drivers/gpu/drm/ttm/ttm_bo_util.c |2 -- include/drm/drm_mm.h |1 - 4 files changed, 1 insertions(+), 12

[PATCH 4/9] drm: kill dead code in drm_mm.c

2010-05-19 Thread Daniel Vetter
Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_mm.c | 45 - 1 files changed, 0 insertions(+), 45 deletions(-) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index b75eb55..a5a7a16 100644 --- a/drivers/gpu/drm/drm_mm.c +++

[PATCH 6/9] drm_mm: extract check_free_mm_node

2010-05-19 Thread Daniel Vetter
There are already two copies of this logic. And the new scanning stuff will add some more. So extract it into a small helper function. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_mm.c | 71 ++ 1 files changed, 34 insertions(+), 37

[PATCH 5/9] drm: sane naming for drm_mm.c

2010-05-19 Thread Daniel Vetter
Yeah, I've kinda noticed that fl_entry is the free stack. Still give it (and the memory node list ml_entry) decent names. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_mm.c | 72 ++--- include/drm/drm_mm.h | 11 -- 2 files changed, 42

[PATCH 8/9] drm/i915: prepare for fair lru eviction

2010-05-19 Thread Daniel Vetter
This does two little changes: - Add an alignment parameter for evict_something. It's not really great to whack a carefully sized hole into the gtt with the wrong alignment. Especially since the fallback path is a full evict. - With the inactive scan stuff we need to evict more that one

[PATCH 7/9] drm: implement helper functions for scanning lru list

2010-05-19 Thread Daniel Vetter
These helper functions can be used to efficiently scan lru list for eviction. Eviction becomes a three stage process: 1. Scanning through the lru list until a suitable hole has been found. 2. Scan backwards to restore drm_mm consistency and find out which objects fall into the hole. 3. Evict

[PATCH 9/9] drm/i915: implement fair lru eviction

2010-05-19 Thread Daniel Vetter
Besides that this should leader to better gtt usage (by not favouring small objects) this also fixes the eviction-ping-pong-of-doom. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_gem.c | 79 +- 1 files changed, 52 insertions(+), 27 deletions(-)