[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-06 Thread Alex Deucher
This enables writeback for the CP read pointer and scratch regs on the remaining radeon asics. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c| 97 +- drivers/gpu/drm/radeon/r300.c| 15 +++-- drivers/gpu/drm/radeon/r420.c

[PATCH 2/3] drm/radeon/kms: enable writeback for r6xx/r7xx/evergreen

2010-08-06 Thread Alex Deucher
When writeback is enabled, the GPU shadows writes to certain registers into a buffer in memory. The driver can then read the values from the shadow rather than reading back from the register. Writeback can be disabled by setting the no_wb module param to 0. On r6xx/r7xx/evergreen, the following

[PATCH 1/3] drm/radeon/kms: clean up r6xx/r7xx blit init

2010-08-06 Thread Alex Deucher
Move common code to init function. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600.c | 14 +- drivers/gpu/drm/radeon/r600_blit_kms.c | 16 ++-- drivers/gpu/drm/radeon/rv770.c | 14 +- 3 files changed, 16 insertions(+), 28

[PATCH] drm: Only set DPMS once on the CRTC not after every encoder.

2010-08-06 Thread Chris Wilson
Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_crtc_helper.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 11fe9c8..7b1eb2f 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++

[Bug 29363] [r300g] Starcraft 2: "r300 VP: Compiler error"

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29363 Pavel Ondra?ka changed: What|Removed |Added Attachment #37649|application/octet-stream|application/x-bzip2 mime

[Bug 29363] [r300g] Starcraft 2: "r300 VP: Compiler error"

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29363 --- Comment #10 from Pavel Ondra?ka 2010-08-06 12:25:51 PDT --- Created an attachment (id=37650) --> (https://bugs.freedesktop.org/attachment.cgi?id=37650) screenshot -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Bug 29363] [r300g] Starcraft 2: "r300 VP: Compiler error"

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29363 --- Comment #9 from Pavel Ondra?ka 2010-08-06 12:24:15 PDT --- Created an attachment (id=37649) --> (https://bugs.freedesktop.org/attachment.cgi?id=37649) output with patch, RADEON_DEBUG=vp With your patch some units and buildings are being

[Bug 28517] [r300g] loop unrolling fails (was: Savage 2 : characters are not rendered + another corruptions)

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28517 --- Comment #10 from Sven Arvidsson 2010-08-06 11:42:49 PDT --- Created an attachment (id=37647) --> (https://bugs.freedesktop.org/attachment.cgi?id=37647) RADEON_DEBUG=vp log with patch from 29363 (In reply to comment #9) > This patch:

[Bug 28600] The LXterminal Window TitleBar does not show up when KMS is enabled

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28600 Chris Wilson changed: What|Removed |Added Component|DRM/Intel |DRM/Radeon AssignedTo|jbarnes at

[Bug 28517] [r300g] loop unrolling fails (was: Savage 2 : characters are not rendered + another corruptions)

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28517 --- Comment #9 from Tom Stellard 2010-08-06 11:27:49 PDT --- This patch: https://bugs.freedesktop.org/attachment.cgi?id=37644 from bug 29363 should help with this bug too. -- Configure bugmail:

[Bug 29363] [r300g] Starcraft 2: "r300 VP: Compiler error"

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29363 Tom Stellard changed: What|Removed |Added Attachment #37619|0 |1 is obsolete|

2.6.35-rc6+: i915: Bisected regression

2010-08-06 Thread David John
On 08/05/2010 11:13 AM, Shuang He wrote: > Could you help report a bug for this issue by following > http://intellinuxgraphics.org/how_to_report_bug.html > I have the same issue on a GM45 and Thomas's hack works in fixing it. It is still present in 2.6.35. Regards, David.

[Bug 28955] [r300g]: refresh/update/damage issues using compiz.

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28955 --- Comment #10 from Droste 2010-08-06 08:37:29 PDT --- I tried it and it doesn't solve the problem. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the

[Bug 29363] [r300g] Starcraft 2: "r300 VP: Compiler error"

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29363 --- Comment #7 from Pavel Ondra?ka 2010-08-06 08:03:55 PDT --- (In reply to comment #6) > Created an attachment (id=37619) View: https://bugs.freedesktop.org/attachment.cgi?id=37619 Review: https://bugs.freedesktop.org/review?bug=29363=37619

[Bug 28517] [r300g] loop unrolling fails (was: Savage 2 : characters are not rendered + another corruptions)

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28517 --- Comment #8 from Sven Arvidsson 2010-08-06 03:33:54 PDT --- Created an attachment (id=37624) --> (https://bugs.freedesktop.org/attachment.cgi?id=37624) RADEON_DEBUG=vp log (In reply to comment #7) > Can you try again with the latest git

[PATCH] drm/radeon/kms: r600 CS parser fixes

2010-08-06 Thread Alex Deucher
- buffer offsets in the base regs are 256b aligned so shift properly when comparing, fixed by Andre Maasikas - mipmap size was calculated wrong when nlevel=0 - texture bo offsets were used after the bo base address was added - vertex resource size register is size - 1, not size Signed-off-by:

[Bug 29140] [rs690] Freeze at Xorg startup when using KMS and multiple screens

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29140 steckdenis at yahoo.fr changed: What|Removed |Added Summary|[rs690] Freeze at Xorg |[rs690] Freeze at Xorg

[Bug 29140] [rs690] Freeze at Xorg startup when using KMS

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29140 steckdenis at yahoo.fr changed: What|Removed |Added Product|xorg|DRI Version|git

No subject

2010-08-06 Thread
radeontool patched with attachement 34810 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.

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

2010-08-06 Thread Alex Deucher
HPD pins are reversed Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29387 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_atombios.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git

[Bug 28517] [r300g] loop unrolling fails (was: Savage 2 : characters are not rendered + another corruptions)

2010-08-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28517 --- Comment #7 from Tom Stellard 2010-08-05 23:37:28 PDT --- Can you try again with the latest git code and post the output with RADEON_DEBUG=vp -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[PATCH 2/2] drm/ttm: restructure to allow driver to plug in alternate memory manager

2010-08-06 Thread Ben Skeggs
From: Ben Skeggs Nouveau will need this on GeForce 8 and up to account for the GPU reordering physical VRAM for some memory types. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_bo.c | 12 ++- drivers/gpu/drm/nouveau/nouveau_channel.c |6 +-

[PATCH 1/2] drm/ttm: introduce utility function to free an allocated memory node

2010-08-06 Thread Ben Skeggs
From: Ben Skeggs Existing core code/drivers call drm_mm_put_block on ttm_mem_reg.mm_node directly. Future patches will modify TTM behaviour in such a way that ttm_mem_reg.mm_node doesn't necessarily belong to drm_mm. Signed-off-by: Ben Skeggs ---

[PATCH 0/2] RFC: allow driver to plugin alternative to drm_mm

2010-08-06 Thread Ben Skeggs
From: Ben Skeggs In order to properly deal with GPU reordering of blocks in physical VRAM, Nouveau needs to be able to have better control over VRAM allocations. Currently nouveau is extremely wasteful and forces massive amounts of padding/alignment to avoid buffer

[Bug 28517] [r300g] loop unrolling fails (was: Savage 2 : characters are not rendered + another corruptions)

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28517 --- Comment #7 from Tom Stellard tstel...@gmail.com 2010-08-05 23:37:28 PDT --- Can you try again with the latest git code and post the output with RADEON_DEBUG=vp -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[PATCH] drm/radeon/kms: r600 CS parser fixes

2010-08-06 Thread Alex Deucher
- buffer offsets in the base regs are 256b aligned so shift properly when comparing, fixed by Andre Maasikas - mipmap size was calculated wrong when nlevel=0 - texture bo offsets were used after the bo base address was added - vertex resource size register is size - 1, not size Signed-off-by:

[Bug 29140] [rs690] Freeze at Xorg startup when using KMS

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29140 steckde...@yahoo.fr changed: What|Removed |Added Product|xorg|DRI Version|git

[Bug 29140] [rs690] Freeze at Xorg startup when using KMS and multiple screens

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29140 steckde...@yahoo.fr changed: What|Removed |Added Summary|[rs690] Freeze at Xorg |[rs690] Freeze at Xorg

[PATCH] drm: Only set DPMS once on the CRTC not after every encoder.

2010-08-06 Thread Chris Wilson
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk --- drivers/gpu/drm/drm_crtc_helper.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 11fe9c8..7b1eb2f 100644 ---

[Bug 29363] [r300g] Starcraft 2: r300 VP: Compiler error

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29363 --- Comment #7 from Pavel Ondračka dra...@centrum.cz 2010-08-06 08:03:55 PDT --- (In reply to comment #6) Created an attachment (id=37619) View: https://bugs.freedesktop.org/attachment.cgi?id=37619 Review:

[Bug 28955] [r300g]: refresh/update/damage issues using compiz.

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28955 --- Comment #10 from Droste tdro...@gmx.de 2010-08-06 08:37:29 PDT --- I tried it and it doesn't solve the problem. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Bug 29363] [r300g] Starcraft 2: r300 VP: Compiler error

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29363 Tom Stellard tstel...@gmail.com changed: What|Removed |Added Attachment #37619|0 |1 is obsolete|

[Bug 28517] [r300g] loop unrolling fails (was: Savage 2 : characters are not rendered + another corruptions)

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28517 --- Comment #9 from Tom Stellard tstel...@gmail.com 2010-08-06 11:27:49 PDT --- This patch: https://bugs.freedesktop.org/attachment.cgi?id=37644 from bug 29363 should help with this bug too. -- Configure bugmail:

[Bug 28600] The LXterminal Window TitleBar does not show up when KMS is enabled

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28600 Chris Wilson ch...@chris-wilson.co.uk changed: What|Removed |Added Component|DRM/Intel |DRM/Radeon

[Bug 29363] [r300g] Starcraft 2: r300 VP: Compiler error

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29363 --- Comment #9 from Pavel Ondračka dra...@centrum.cz 2010-08-06 12:24:15 PDT --- Created an attachment (id=37649) -- (https://bugs.freedesktop.org/attachment.cgi?id=37649) output with patch, RADEON_DEBUG=vp With your patch some units and

[PATCH] drm/radeon: add a way to revoke hyper-z access

2010-08-06 Thread Marek Olšák
Signed-off-by: Marek Olšák mar...@gmail.com --- drivers/gpu/drm/radeon/radeon_kms.c | 24 +++- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index ddcd3b1..0e5deea 100644 ---

[PATCH 2/3] drm/radeon/kms: enable writeback for r6xx/r7xx/evergreen

2010-08-06 Thread Alex Deucher
When writeback is enabled, the GPU shadows writes to certain registers into a buffer in memory. The driver can then read the values from the shadow rather than reading back from the register. Writeback can be disabled by setting the no_wb module param to 0. On r6xx/r7xx/evergreen, the following

[PATCH 3/3] drm/radeon/kms: enable writeback on remaing asics

2010-08-06 Thread Alex Deucher
This enables writeback for the CP read pointer and scratch regs on the remaining radeon asics. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r100.c| 97 +- drivers/gpu/drm/radeon/r300.c| 15 +++--