Re: [Regression, post-rc2] Commit a5ee4eb7541 breaks OpenGL on RS780

2010-04-02 Thread Clemens Ladisch
Linus Torvalds wrote:
 On Thu, 1 Apr 2010, Alex Deucher wrote:
  Clemems' PCI quirk: RS780/RS880: disable MSI completely patch is the
  right approach I think.  Note that it's only devices hung off the int
  gfx pci to pci bridge that have broken MSI (gfx and audio).  MSI works
  fine on the PCIE slots.  I have a similar patch for rs400 chips on bug
  15626:
  https://bugzilla.kernel.org/show_bug.cgi?id=15626
 
 Hmm. Does 'pci_msi_enable' only cover regular PCI devices? Or will that 
 pci_no_msi() quirk disable MSI for PCIE too?

A quirk that used pci_no_msi() would disable all MSI for all devices.
However, these patches (and that in bug 15626) use PCI_BUS_FLAGS_NO_MSI
so that only the internal GPU devices are affected.

That completely in my patch title should better read unconditionally.


Regards,
Clemens

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: 2.6.34-rc2: ima_dec_counts: open/free imbalance?

2010-04-02 Thread Thomas Meyer
Am 01.04.2010 um 04:41 schrieb Eric Paris epa...@redhat.com:

 On Wed, 2010-03-31 at 16:32 -0700, Andrew Morton wrote:
 On Sun, 28 Mar 2010 13:31:49 +0200
 Thomas Meyer tho...@m3y3r.de wrote:

 This warning/error/notice is new in 2.6.34-rc2+:

 Let's add some cc's.  It might be a DRM bug.

 I'll ask Rafael and Maciej to track this as a post-2.6.33 regression,
 thanks.

 The IMA code hasn't changed since .33 so my guess is something new the
 drm code is doing with obj-filp.

 Thomas, any idea what the newest kernel was that didn't show you this
 problem?

I first saw this message in 2.6.34-rc2 (+free_init_pages patch), but  
that was also the first bootable kernel for me as I was hit by the  
NO_BOOTMEM bug...

  It might help cut down my search in the morning

 -Eric


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Failed to build libdrm commit: cc20ed810083 on OpenSolaris snv_134

2010-04-02 Thread ylitvinenko
Hello All,

Following error when run ./configure
...
/usr/bin/ksh93 ../libtool --tag=CC   --mode=link gcc  -O3 -msse2 
-march=pentium4 -mtune=pentium4  -fPIC -z combreloc -z lazyload 
-Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata -o dristat 
dristat.o ../libdrm.la
libtool: link: gcc -O3 -msse2 -march=pentium4 -mtune=pentium4 -fPIC -z 
combreloc -z lazyload -Wl,-M -Wl,/usr/lib/ld/map.pagealign -Wl,-M 
-Wl,/usr/lib/ld/map.noexdata -o .libs/dristat dristat.o  ../.libs/libdrm.so 
-R/tmp/libdrm/lib
Undefined   first referenced
 symbol in file
_IOCdristat.o
ld: fatal: symbol referencing errors. No output written to .libs/dristat
collect2: ld returned 1 exit status
make[3]: *** [dristat] Error 1
...

Is it correct way to take Solaris specific section from 
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/drm/drm.h
lines
/* Solaris-specific. */
and
#endif /* __Solaris__ or sun */
and merge into include/drm/drm.h ?

$ /usr/bin/ld --version
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689
$ /usr/gnu/bin/gcc --version
gcc (GCC) 4.4.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ uname -a
SunOS solaris 5.11 snv_134 i86pc i386 i86pc


Regards,
Eugene


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27426] New: [Add support] GL_ARB_map_buffer_range

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27426

   Summary: [Add support] GL_ARB_map_buffer_range
   Product: Mesa
   Version: git
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: adr...@gmail.com


Unigine tropics requires GL_ARB_map_buffer_range.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27426] [Add support] GL_ARB_map_buffer_range

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27426

--- Comment #2 from adr...@gmail.com 2010-04-02 08:48:12 PDT ---
Created an attachment (id=34617)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=34617)
Log 2

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27426] [Add support] GL_ARB_map_buffer_range

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27426

--- Comment #3 from Michel Dänzer mic...@daenzer.net 2010-04-02 09:31:55 PDT 
---
It probably wants a lot of other extensions the driver doesn't support yet - it
seems to always only complain about the first one it can't find...

FWIW r300g advertises GL_ARB_map_buffer_range.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Regression, post-rc2] Commit a5ee4eb7541 breaks OpenGL on RS780 (was: Re: Linux 2.6.34-rc3)

2010-04-02 Thread Rafael J. Wysocki
On Friday 02 April 2010, Linus Torvalds wrote:
 
 On Fri, 2 Apr 2010, Rafael J. Wysocki wrote:
  
  Appended, with sign-offs and changelog.
  
  ---
  Subject: PCI quirk: RS780/RS880: disable MSI completely
 
 Hmm. Isn't this missing a
 
   From: Clemens Ladisch clem...@ladisch.de
 
 too?

Ouch, yes it is, sorry.

This one should be complete.

---
From: Clemens Ladisch clem...@ladisch.de
Subject: PCI quirk: RS780/RS880: disable MSI completely

The missing initialization of the nb_cntl.strap_msi_enable does not
seem to be the only problem that prevents MSI, so that quirk is not
sufficient to enable MSI on all machines.  To be safe, disable MSI
unconditionally for the internal graphics and HDMI audio on these
chipsets.

[rjw: Added the PCI_VENDOR_ID_AI quirk.]

Signed-off-by: Clemens Ladisch clem...@ladisch.de
Signed-off-by: Rafael J. Wysocki r...@sisk.pl
---
 drivers/pci/quirks.c |   36 +++-
 1 file changed, 3 insertions(+), 33 deletions(-)

Index: linux-2.6/drivers/pci/quirks.c
===
--- linux-2.6.orig/drivers/pci/quirks.c
+++ linux-2.6/drivers/pci/quirks.c
@@ -2123,6 +2123,9 @@ static void __devinit quirk_disable_msi(
}
 }
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8131_BRIDGE, 
quirk_disable_msi);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, 0x9602, quirk_disable_msi);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ASUSTEK, 0x9602, quirk_disable_msi);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AI, 0x9602, quirk_disable_msi);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, 0xa238, quirk_disable_msi);
 
 /* Go through the list of Hypertransport capabilities and
@@ -2495,39 +2498,6 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AT
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4375,
quirk_msi_intx_disable_bug);
 
-/*
- * MSI does not work with the AMD RS780/RS880 internal graphics and HDMI audio
- * devices unless the BIOS has initialized the nb_cntl.strap_msi_enable bit.
- */
-static void __init rs780_int_gfx_disable_msi(struct pci_dev *int_gfx_bridge)
-{
-   u32 nb_cntl;
-
-   if (!int_gfx_bridge-subordinate)
-   return;
-
-   pci_bus_write_config_dword(int_gfx_bridge-bus, PCI_DEVFN(0, 0),
-  0x60, 0);
-   pci_bus_read_config_dword(int_gfx_bridge-bus, PCI_DEVFN(0, 0),
- 0x64, nb_cntl);
-
-   if (!(nb_cntl  BIT(10))) {
-   dev_warn(int_gfx_bridge-dev,
-FW_WARN RS780: MSI for internal graphics disabled\n);
-   int_gfx_bridge-subordinate-bus_flags |= PCI_BUS_FLAGS_NO_MSI;
-   }
-}
-
-#define PCI_DEVICE_ID_AMD_RS780_P2P_INT_GFX0x9602
-
-DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD,
-   PCI_DEVICE_ID_AMD_RS780_P2P_INT_GFX,
-   rs780_int_gfx_disable_msi);
-/* wrong vendor ID on M4A785TD motherboard: */
-DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ASUSTEK,
-   PCI_DEVICE_ID_AMD_RS780_P2P_INT_GFX,
-   rs780_int_gfx_disable_msi);
-
 #endif /* CONFIG_PCI_MSI */
 
 #ifdef CONFIG_PCI_IOV

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[PATCH] drm/radeon: R300 AD only has one quad pipe.

2010-04-02 Thread Michel Dänzer
From: Michel Dänzer daen...@vmware.com

Gleaned from the Mesa code.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27355 .

Signed-off-by: Michel Dänzer daen...@vmware.com
Cc: sta...@kernel.org
---
 drivers/gpu/drm/radeon/r300.c  |6 +++---
 drivers/gpu/drm/radeon/radeon_cp.c |   10 ++
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
index 219d410..3dae012 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -327,12 +327,12 @@ void r300_gpu_init(struct radeon_device *rdev)
 {
uint32_t gb_tile_config, tmp;
 
-   /* FIXME: rv380 one pipes ? */
-   if ((rdev-family == CHIP_R300) || (rdev-family == CHIP_R350)) {
+   if ((rdev-family == CHIP_R300  rdev-pdev-device != 0x4144) ||
+   (rdev-family == CHIP_R350)) {
/* r300,r350 */
rdev-num_gb_pipes = 2;
} else {
-   /* rv350,rv370,rv380 */
+   /* rv350,rv370,rv380,r300 AD */
rdev-num_gb_pipes = 1;
}
rdev-num_z_pipes = 1;
diff --git a/drivers/gpu/drm/radeon/radeon_cp.c 
b/drivers/gpu/drm/radeon/radeon_cp.c
index dc6eba6..419630d 100644
--- a/drivers/gpu/drm/radeon/radeon_cp.c
+++ b/drivers/gpu/drm/radeon/radeon_cp.c
@@ -417,8 +417,9 @@ static int radeon_do_wait_for_idle(drm_radeon_private_t * 
dev_priv)
return -EBUSY;
 }
 
-static void radeon_init_pipes(drm_radeon_private_t *dev_priv)
+static void radeon_init_pipes(struct drm_device *dev)
 {
+   drm_radeon_private_t *dev_priv = dev-dev_private;
uint32_t gb_tile_config, gb_pipe_sel = 0;
 
if ((dev_priv-flags  RADEON_FAMILY_MASK) == CHIP_RV530) {
@@ -436,11 +437,12 @@ static void radeon_init_pipes(drm_radeon_private_t 
*dev_priv)
dev_priv-num_gb_pipes = ((gb_pipe_sel  12)  0x3) + 1;
} else {
/* R3xx */
-   if (((dev_priv-flags  RADEON_FAMILY_MASK) == CHIP_R300) ||
+   if (((dev_priv-flags  RADEON_FAMILY_MASK) == CHIP_R300 
+dev-pdev-device != 0x4144) ||
((dev_priv-flags  RADEON_FAMILY_MASK) == CHIP_R350)) {
dev_priv-num_gb_pipes = 2;
} else {
-   /* R3Vxx */
+   /* RV3xx/R300 AD */
dev_priv-num_gb_pipes = 1;
}
}
@@ -736,7 +738,7 @@ static int radeon_do_engine_reset(struct drm_device * dev)
 
/* setup the raster pipes */
if ((dev_priv-flags  RADEON_FAMILY_MASK) = CHIP_R300)
-   radeon_init_pipes(dev_priv);
+   radeon_init_pipes(dev);
 
/* Reset the CP ring */
radeon_do_cp_reset(dev_priv);
-- 
1.7.0.3


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10259] Incompatibility between radeonfb and Xorg DRI on a Radeon X550 (r300)

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=10259

Michel Dänzer mic...@daenzer.net changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #7 from Michel Dänzer mic...@daenzer.net 2010-04-02 10:02:28 PDT 
---
This will probably never be fixed without KMS, which should provide more or
less the same features as radeonfb anyway.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26872] Kernel 2.6.33 fails to suspend (bisected)

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26872

--- Comment #5 from Nix n...@esperi.org.uk 2010-04-02 10:08:43 PDT ---
2.6.33.2+tip fails.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26715] random freeze in ioquake3 like games

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26715

Michel Dänzer mic...@daenzer.net changed:

   What|Removed |Added

  Attachment #33519|application/octet-stream|text/plain
  mime type||

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27429] New: [Add support] OpenGL 2.0

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27429

   Summary: [Add support] OpenGL 2.0
   Product: Mesa
   Version: git
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: adr...@gmail.com


Created an attachment (id=34619)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=34619)
Log 1

Savage 2  - A Tortured Soul (http://www.savage2.com/) requires OpenGL 2.0.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27429] [Add support] OpenGL 2.0

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27429

--- Comment #1 from adr...@gmail.com 2010-04-02 10:45:16 PDT ---
Created an attachment (id=34620)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=34620)
Log 2

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27429] [Add support] OpenGL 2.0

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27429

--- Comment #2 from adr...@gmail.com 2010-04-02 10:46:57 PDT ---
Created an attachment (id=34621)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=34621)
glxinfo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27426] [Add support] GL_ARB_map_buffer_range

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27426

--- Comment #4 from adr...@gmail.com 2010-04-02 10:47:12 PDT ---
Created an attachment (id=34622)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=34622)
glxinfo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15685] New: Kernel 2.6.33 fails to suspend (bisected)

2010-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=15685

   Summary: Kernel 2.6.33 fails to suspend (bisected)
   Product: Drivers
   Version: 2.5
Kernel Version: 2.6.33
  Platform: All
OS/Version: Linux
  Tree: Mainline
Status: NEW
  Severity: normal
  Priority: P1
 Component: Video(DRI - non Intel)
AssignedTo: drivers_video-...@kernel-bugs.osdl.org
ReportedBy: n...@esperi.org.uk
Regression: Yes


Created an attachment (id=25828)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=25828)
Kernel config on crashing machine ('make oldconfig' from working 2.6.32
configuration)

(This is a re-report of fdo bug 26872, because I've seen no evidence that
anyone's looking at fdo DRI bugs at all, but bugs reported to the kernel list
at least get Rafael's scripts looking at them.)

(Crash persists with 2.6.33.2 and the tip of drm-radeon-testing.)

I found to my unhappiness that suspension locks up solid in the atomic
copy/restore phase, on my x86-64 KMS system. There's no need to start X or do
anything 3D, I can reproduce this from a framebuffer console login prompt. The
fault is plainly Radeon KMS's: compile it out and suspension works file.

Nothing is logged on the netconsole, even with verbose PM debugging on.

The graphics card is an HD4870, and suspension mostly worked with it in 2.6.32
(there are circumstances in which TuxOnIce does two suspensions without an
intervening resume, and those have always caused Radeon KMS to lock up).

My attempts to bisect it were somewhat hampered by *another* suspend-resume bug
with similar symptoms (for me, a triple flash of the caps-lock light followed
by a spontaneous reboot, at atomic copy/restore time), fixed by commit
9270eb1b496cb002d75f49ef82c9ef4cbd22a5a0. (The log for this commit helpfully
didn't mention suspend/resume at all, only the fdo bug number, so my grepping
checks were fruitless and I wasted six hours bisecting to a fixed bug. Bah.)

The faulty pair of commits is a regression from a major API rework :/ applying
one but not the other will not compile (obviously). After this commit,
suspension never works, although the failure mode changes a few times.

commit ca262a9998d46196750bb19a9dc4bd465b170ff7
Author: Jerome Glisse jgli...@redhat.com
Date:   Tue Dec 8 15:33:32 2009 +0100

drm/ttm: Rework validation  memory space allocation (V3)

commit 312ea8da049a1830aa50c6e2e50e30df476e
Author: Jerome Glisse jgli...@redhat.com
Date:   Mon Dec 7 15:52:58 2009 +0100

drm/radeon/kms: Convert radeon to new TTM validation API (V2)

Before these commits, suspension works. Afterwards, instead of suspension I see
a quintuple(?) flash of the caps lock light and a hard reboot. I'm not certain
what this means: a triple fault?

The second change in behaviour, between abrupt reboot on suspend and hard hang,
I haven't yet fully bisected (forty-three reboots in one evening was quite
enough), but it lies in the range
2c761270d5520dd84ab0b4e47c24d99ff8503c38..004b35063296b6772fa72404a35b498f1e71e87e.
In practice I strongly suspect that this is the same bug, manifesting
differently.

Comparison with other Radeon and KMS users indicates that this is almost
certainly r6xx-r7xx-specific. (rv3xx works, r3xx works, Intel works.)

(Well, either that or I'm the only person in the world who's seeing it: I
haven't found anyone else with a r6xx or r7xx who's trying to suspend, yet.)


If there's anything else I can do to help debug a hard lockup like this, please
say. I do have a second machine available to debug the first, but if the first
is *dead* it's hard to do anything...

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15685] Kernel 2.6.33 fails to suspend (bisected)

2010-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=15685


Jérôme Glisse gli...@freedesktop.org changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
 CC||gli...@freedesktop.org




--- Comment #1 from Jérôme Glisse gli...@freedesktop.org  2010-04-02 19:30:00 
---
Please test lastest 2.6.34-rc we commited a bunch of fixes in there.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [PATCH] drm/i915: Add no_lvds entry for the Clientron U800

2010-04-02 Thread Eric Anholt
On Mon, 29 Mar 2010 17:53:12 +0200, Stefan Bader stefan.ba...@canonical.com 
wrote:
 Hi Eric,
 
 I am not sure, this could be a duplicate. But I had the feeling that somehow
 the patch might have gotten lost to some miscommunication.
 So I re-send it now. If you already have it on your queue, please feel free
 to ignore.

Thanks, I'd lost track of this one.  Applied.


pgpz8fdzhyUOx.pgp
Description: PGP signature
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: intel graphic card hanging (Hangcheck timer elapsed... GPU hung)

2010-04-02 Thread Jesse Barnes
On Tue, 30 Mar 2010 22:57:06 +0900
Norbert Preining prein...@logic.at wrote:

 On Mo, 29 Mär 2010, Jesse Barnes wrote:
  I was seeing something similar on my 945, can you try this patchset?
 
 Tried it with git kernel commit b72c409 and your patches, but
 didn't change anything. Starting d2x-xl killed the X server:
 [ 1067.920246] render error detected, EIR: 0x
 [ 1067.920293] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request 
 returns -5 (awaiting 48294 at 48216)
 [ 1068.412095] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer 
 elapsed... GPU hung
 [ 1068.412107] render error detected, EIR: 0x
 [ 1068.412135] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request 
 returns -5 (awaiting 48299 at 48216)
 [ 1068.776229] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer 
 elapsed... GPU hung
 
 Anything else I could try?

One of my 945 machines became pretty stable after increasing the
hancheck timeout from 75 to 750 jiffies in i915_drv.h.  But I have
reports that it doesn't work on all machines, so it's probably just
covering up a bug somewhere else.

-- 
Jesse Barnes, Intel Open Source Technology Center

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15685] Kernel 2.6.33 fails to suspend (bisected)

2010-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=15685





--- Comment #3 from Jérôme Glisse gli...@freedesktop.org  2010-04-02 20:54:57 
---
Is this a laptop ? if so please give full model name.
If not please give motherboard model and CPU model.

Thanks

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[ANNOUNCE] libdrm 2.4.20

2010-04-02 Thread Jesse Barnes
New version includes a few fixes relative to 2.4.19.

Ben Skeggs (4):
  nouveau: remove unused field from nouveau_bo
  nouveau: fix segfault in nouveau_bo_new_tile() failure path
  nouveau: fix annoying compiler warning
  Fix pkgconfig includes for /usr/include/drm

Chris Wilson (2):
  intel: Propagate some more error returns
  intel: Repeat execbuffer if interrupted by signal

Eric Anholt (3):
  intel: Only align Y-tiling pitch to the Y tile width.
  intel: Align untiled buffer pitch to 64B.
  intel: Install the header file in the libdrm/ directory.

Francisco Jerez (4):
  nouveau: Update nouveau_class.h.
  nouveau: Small lighting related addition to nouveau_class.h.
  nouveau: Fix up the stride of NV20TCL_LIGHT_BACK_*.
  nouveau: Regenerate nouveau_class.h.

Jerome Glisse (1):
  drm/radeon: tab/whitespace cleanup

Jesse Barnes (2):
  modetest: add optional select codepath
  libdrm: bump version number to 2.4.20 for release

Julien Cristau (3):
  libdrm_intel.pc: don't include ${includedir}/drm
  libdrm_nouveau requires libdrm
  Install headers to $(includedir)/libdrm

Pauli Nieminen (4):
  libdrm: Move intel_atomic.h to libdrm core for sharing.
  libdrm_radeon: Optimize cs_gem_reloc to do less looping.
  libdrm: Fix error message if libdrm_intel|radeon is disabled and there is 
no atomic ops.
  Check HAVE_RADEON only after checking for atomic operations.

git tag: 2.4.20

http://dri.freedesktop.org/libdrm/libdrm-2.4.20.tar.bz2
MD5:  3c56e03172b236e14905ef9a68ba2f97  libdrm-2.4.20.tar.bz2
SHA1: f1448ac0f1c7a5f74a86d2fb50941fc12dc932db  libdrm-2.4.20.tar.bz2

http://dri.freedesktop.org/libdrm/libdrm-2.4.20.tar.gz
MD5:  dcbf9aa0497c84c7e4af15adb0021955  libdrm-2.4.20.tar.gz
SHA1: e492e292df048566f910244bf5e0a9a8f07039b6  libdrm-2.4.20.tar.gz


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15685] Kernel 2.6.33 fails to suspend (bisected)

2010-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=15685





--- Comment #4 from Nix n...@esperi.org.uk  2010-04-02 21:02:48 ---
Not a laptop: I'm suspending to cut my electricity bill (by nearly 30% at last
count, ouch).

This is a 2.67GHz Intel Core i7 920 (stepping 4) on an Asus P6T motherboard.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15685] Kernel 2.6.33 fails to suspend (bisected)

2010-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=15685





--- Comment #2 from Nix n...@esperi.org.uk  2010-04-02 20:25:59 ---
Same failure with 2.6.34 (Linus tree head as of five minutes ago), I'm afraid.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 27402] [r300g] Earth textures in celestia are partially corrupted in all rendering paths

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27402

--- Comment #2 from Chris Rankin ranki...@googlemail.com 2010-04-02 17:09:23 
PDT ---
(In reply to comment #1)
 Does reverting the commit help? If not, could you please bisect?

Sorry, I've just spent the last hour trying to perform a git bisect, and got
nothing except broken builds and core dumps for my troubles. So no, you're
going to have to debug the old-fashioned way instead.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 26872] Kernel 2.6.33 fails to suspend (bisected)

2010-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26872

--- Comment #6 from Nix n...@esperi.org.uk 2010-04-02 18:11:51 PDT ---
This is now kernel bug 15685.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel