[PATCH] drm/radeon/kms: clean up some magic numbers

2011-01-24 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 10 +- drivers/gpu/drm/radeon/r300.c |7 +-- drivers/gpu/drm/radeon/r420.c |2 +- drivers/gpu/drm/radeon/r520.c |4 ++-- drivers/gpu/drm/radeon/radeon_reg.h |2 ++

[git pull] drm-fixes

2011-01-24 Thread Dave Airlie
Hi Linus, Mostly i915 serious fixes, along with some minor radeon changes. (no global header files touched ;-) Dave. The following changes since commit d315777b32a4696feb86f2a0c9e9f39c94683649: Merge branch 'BUG_ON' of

[Bug 26942] radeon: screen distortion on resume

2011-01-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=26942 --- Comment #10 from kernelbug at sumoreor.com 2011-01-24 23:03:45 --- Created an attachment (id=45042) --> (https://bugzilla.kernel.org/attachment.cgi?id=45042) avivotool regs all output for working and non working suspend I am having the

[Bug 26562] [bisected] blank screen with radeon.modeset=1

2011-01-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=26562 --- Comment #9 from Alex Deucher 2011-01-24 23:03:12 --- Can you try the patch in comment 29 of bug 26552: https://bugzilla.kernel.org/show_bug.cgi?id=26552#c29 and make sure everything works ok? -- Configure bugmail:

[Bug 26552] Screen flickering with 2.6.37 [ATI X1600]

2011-01-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=26552 --- Comment #29 from Alex Deucher 2011-01-24 23:01:47 --- Created an attachment (id=45032) --> (https://bugzilla.kernel.org/attachment.cgi?id=45032) combined patch I think I've fixed everything. Can you try this last patch by itself and

[Bug 26562] [bisected] blank screen with radeon.modeset=1

2011-01-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=26562 --- Comment #8 from Alex Deucher 2011-01-24 22:34:38 --- This bug is a duplicate of bug 26552. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are watching

[PATCH] drm/radeon/kms: only enable HDMI mode if radeon audio is enabled

2011-01-24 Thread Alex Deucher
Force DVI mode if the user specifies radeon.audio=0. The driver doesn't handle HDMI mode properly in some cases. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=27731 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c |6 +++--- 1 files changed, 3 insertions(+),

[Bug 32945] Lower part of the screen corrupt with HyperZ enabled

2011-01-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32945 --- Comment #3 from Marek Ol??k 2011-01-24 21:00:14 PST --- Does this patch fix anything? https://bugs.freedesktop.org/attachment.cgi?id=42432 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 32296] [r300g] Screen corruption with WoW when HyperZ enabled.

2011-01-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32296 --- Comment #5 from Marek Ol??k 2011-01-24 20:59:04 PST --- Does this patch fix anything? https://bugs.freedesktop.org/attachment.cgi?id=42432 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 29851] [r300g] HyperZ on RS690 not work correctly

2011-01-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29851 --- Comment #9 from Marek Ol??k 2011-01-24 20:57:51 PST --- Created an attachment (id=42432) View: https://bugs.freedesktop.org/attachment.cgi?id=42432 Review: https://bugs.freedesktop.org/review?bug=29851=42432 possible fix Does the

[PATCH] drm/radeon/kms: add new radeon_info ioctl query for clock crystal freq

2011-01-24 Thread Alex Deucher
Needed for timer queries in the 3D driver. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_drv.c |2 +- drivers/gpu/drm/radeon/radeon_kms.c |4 include/drm/radeon_drm.h|1 + 3 files changed, 6 insertions(+), 1 deletions(-) diff --git

[PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Alex Deucher
On Mon, Jan 24, 2011 at 10:55 AM, Chris Wilson wrote: > Iterate over the attached CRTCs, encoders and connectors and call the > supplied reset vfunc in order to reset any cached state back to unknown. > Useful after an invalidation event such as a GPU reset or resuming. > Can't you just

[Bug 33418] Continuous GPU soft resets

2011-01-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33418 --- Comment #1 from Erdem U. Altinyurt 2011-01-24 10:36:47 PST --- Using Mesa.xf86-video-ati and drm from latest git repo on linux 2.6.38-rc1 with patch http://bugs.freedesktop.org/show_bug.cgi?id=33272. -- Configure bugmail:

[Bug 33418] New: Continuous GPU soft resets

2011-01-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33418 Summary: Continuous GPU soft resets Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: other Status: NEW Severity: major Priority: medium

[Bug 32399] KMS:RS480:X200M LCD Monitor on VGA-0 shows wavy picture

2011-01-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32399 --- Comment #4 from Edgar Villanueva 2011-01-24 08:54:00 PST --- I'm not sure this is the right bug as it sounds like you are using an intel GPU. This bug would probably be different for every GPU. But if you are using a radeon GPU there are

[Bug 32399] KMS:RS480:X200M LCD Monitor on VGA-0 shows wavy picture

2011-01-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32399 --- Comment #3 from julio prada 2011-01-24 08:47:40 PST --- Hi Edgar, I have the same problem on a Toshiba laptop when I plug an external monitor. This laptop has an Intel P6100 cpu which is part of the 2010 Core family that integrates graphics

Re: [PATCH] drm/i915: Handle the no-interrupts case for UMS by polling

2011-01-24 Thread Chris Clayton
On Sunday 23 January 2011, Chris Wilson wrote: If the driver calls into the kernel to wait for a breadcrumb to pass, but hasn't enabled interrupts, fallback to polling the breadcrumb value. Reported-by: Chris Clayton chris2...@googlemail.com Signed-off-by: Chris Wilson

[Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32544 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Status|REOPENED|RESOLVED

Re: [RFC PATCH v2] Utilize the PCI API in the TTM framework.

2011-01-24 Thread Konrad Rzeszutek Wilk
On Wed, Jan 12, 2011 at 10:19:39AM -0500, Konrad Rzeszutek Wilk wrote: On Wed, Jan 12, 2011 at 10:12:14AM +0100, Thomas Hellstrom wrote: Hi, Konrad. This discussion has become a bit lenghty. I'll filter out the sorted-out stuff, which leaves me with two remaining issues: nods ping?

Add a reset interface

2011-01-24 Thread Chris Wilson
For i915 there is a need to invalidate some cached state after resuming or reseting the GPU. This is not quite the same as simply restoring saved state (i.e. the standard suspend resume method), so do not seem to merit reusing the save|restore vfuncs. Instead I propose a

[PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Chris Wilson
Iterate over the attached CRTCs, encoders and connectors and call the supplied reset vfunc in order to reset any cached state back to unknown. Useful after an invalidation event such as a GPU reset or resuming. Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk --- drivers/gpu/drm/drm_crtc.c |

[PATCH 3/4] drm/i915/crt: Force the initial probe after reset

2011-01-24 Thread Chris Wilson
Upon resume, like after a cold boot, we need to forcibly probe the analog connector and cannot rely on the hotplug status. Based on a patch by Takashi Iwai. Reported-by: Stefan Dirsch sndir...@suse.de Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=26952 Signed-off-by: Chris Wilson

[PATCH 4/4] drm/i915: Reset crtc after resume

2011-01-24 Thread Chris Wilson
Based on a patch by Takashi Iwai. Reported-by: Matthias Hopf m...@mshopf.de Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=27272 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk --- drivers/gpu/drm/i915/intel_display.c | 17 ++--- 1 files changed, 14 insertions(+), 3

Re: [PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Chris Wilson
On Mon, 24 Jan 2011 17:18:06 +0100, Takashi Iwai ti...@suse.de wrote: Missing EXPORT_SYMBOL()? Thanks. Modules are for the weak ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: Add a reset interface

2011-01-24 Thread Takashi Iwai
At Mon, 24 Jan 2011 15:55:27 +, Chris Wilson wrote: For i915 there is a need to invalidate some cached state after resuming or reseting the GPU. This is not quite the same as simply restoring saved state (i.e. the standard suspend resume method), so do not seem to merit reusing the

[Bug 32399] KMS:RS480:X200M LCD Monitor on VGA-0 shows wavy picture

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32399 --- Comment #3 from julio prada prad...@gmail.com 2011-01-24 08:47:40 PST --- Hi Edgar, I have the same problem on a Toshiba laptop when I plug an external monitor. This laptop has an Intel P6100 cpu which is part of the 2010 Core family that

[Bug 32399] KMS:RS480:X200M LCD Monitor on VGA-0 shows wavy picture

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32399 --- Comment #4 from Edgar Villanueva evillanu...@roundbox.com 2011-01-24 08:54:00 PST --- I'm not sure this is the right bug as it sounds like you are using an intel GPU. This bug would probably be different for every GPU. But if you are using

[Bug 32399] KMS:RS480:X200M LCD Monitor on VGA-0 shows wavy picture

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32399 --- Comment #5 from julio prada prad...@gmail.com 2011-01-24 09:06:28 PST --- I did not know if bugs were grouped by software or hardware, mine is an Intel GPU, so Ill search for other reports and create mine if necessary. Anyway, if you find

Re: [PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Alex Deucher
On Mon, Jan 24, 2011 at 10:55 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: Iterate over the attached CRTCs, encoders and connectors and call the supplied reset vfunc in order to reset any cached state back to unknown. Useful after an invalidation event such as a GPU reset or resuming.

[Bug 33418] New: Continuous GPU soft resets

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33418 Summary: Continuous GPU soft resets Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: other Status: NEW Severity: major Priority: medium

[Bug 33418] Continuous GPU soft resets

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33418 --- Comment #1 from Erdem U. Altinyurt spamjunkea...@gmail.com 2011-01-24 10:36:47 PST --- Using Mesa.xf86-video-ati and drm from latest git repo on linux 2.6.38-rc1 with patch http://bugs.freedesktop.org/show_bug.cgi?id=33272. -- Configure

[PATCH] drm/radeon/kms: add new radeon_info ioctl query for clock crystal freq

2011-01-24 Thread Alex Deucher
Needed for timer queries in the 3D driver. Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_drv.c |2 +- drivers/gpu/drm/radeon/radeon_kms.c |4 include/drm/radeon_drm.h|1 + 3 files changed, 6 insertions(+), 1 deletions(-) diff

[Bug 26562] [bisected] blank screen with radeon.modeset=1

2011-01-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=26562 --- Comment #8 from Alex Deucher alexdeuc...@gmail.com 2011-01-24 22:34:38 --- This bug is a duplicate of bug 26552. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because:

[Bug 26552] Screen flickering with 2.6.37 [ATI X1600]

2011-01-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=26552 --- Comment #29 from Alex Deucher alexdeuc...@gmail.com 2011-01-24 23:01:47 --- Created an attachment (id=45032) -- (https://bugzilla.kernel.org/attachment.cgi?id=45032) combined patch I think I've fixed everything. Can you try this last

[Bug 26562] [bisected] blank screen with radeon.modeset=1

2011-01-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=26562 --- Comment #9 from Alex Deucher alexdeuc...@gmail.com 2011-01-24 23:03:12 --- Can you try the patch in comment 29 of bug 26552: https://bugzilla.kernel.org/show_bug.cgi?id=26552#c29 and make sure everything works ok? -- Configure bugmail:

[Bug 26942] radeon: screen distortion on resume

2011-01-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=26942 --- Comment #10 from kernel...@sumoreor.com 2011-01-24 23:03:45 --- Created an attachment (id=45042) -- (https://bugzilla.kernel.org/attachment.cgi?id=45042) avivotool regs all output for working and non working suspend I am having the same

[Bug 26562] [bisected] blank screen with radeon.modeset=1

2011-01-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=26562 --- Comment #10 from Sami Liedes slie...@cc.hut.fi 2011-01-25 00:00:26 --- Yes, that patch works for me. Thanks. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[PATCH] drm/radeon/kms: only enable HDMI mode if radeon audio is enabled

2011-01-24 Thread Alex Deucher
Force DVI mode if the user specifies radeon.audio=0. The driver doesn't handle HDMI mode properly in some cases. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=27731 Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/radeon_encoders.c |6 +++--- 1 files

[PATCH] drm/radeon/kms: clean up some magic numbers

2011-01-24 Thread Alex Deucher
Signed-off-by: Alex Deucher alexdeuc...@gmail.com --- drivers/gpu/drm/radeon/r100.c | 10 +- drivers/gpu/drm/radeon/r300.c |7 +-- drivers/gpu/drm/radeon/r420.c |2 +- drivers/gpu/drm/radeon/r520.c |4 ++-- drivers/gpu/drm/radeon/radeon_reg.h |

[Bug 29851] [r300g] HyperZ on RS690 not work correctly

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29851 --- Comment #9 from Marek Olšák mar...@gmail.com 2011-01-24 20:57:51 PST --- Created an attachment (id=42432) View: https://bugs.freedesktop.org/attachment.cgi?id=42432 Review: https://bugs.freedesktop.org/review?bug=29851attachment=42432

[Bug 32296] [r300g] Screen corruption with WoW when HyperZ enabled.

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32296 --- Comment #5 from Marek Olšák mar...@gmail.com 2011-01-24 20:59:04 PST --- Does this patch fix anything? https://bugs.freedesktop.org/attachment.cgi?id=42432 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 32945] Lower part of the screen corrupt with HyperZ enabled

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32945 --- Comment #3 from Marek Olšák mar...@gmail.com 2011-01-24 21:00:14 PST --- Does this patch fix anything? https://bugs.freedesktop.org/attachment.cgi?id=42432 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---