Re: [Linux-fbdev-devel] [Bugme-new] [Bug 13285] New: INTELFB: Colors display incorrectly

2009-05-17 Thread Andrew Morton
On Sun, 17 May 2009 08:17:43 +0200 Krzysztof Helt krzysztof...@poczta.fm 
wrote:

 From: Krzysztof Helt krzysztof...@wp.pl
 
 The intelfb driver sets color map depending on currently active pipe. 
 However, if an LVDS 
 display is attached (like in laptop) the active pipe variable is never set. 
 The default value is 
 PIPE_A and can be wrong.
 Set up the pipe variable during driver initialization after hardware state 
 was read.
 
 I also found by experiment that if both pipes were enabled, the PIPE_B is 
 used (active).
 
 The problem is visible in the 8 bpp mode if colors above 15 are used. The 
 first 16 color
 entries are displayed correctly.
 
 Signed-off-by: Krzysztof Helt krzysztof...@wp.pl
 
 ---
 This is not a regression. I have reproduced it in the 2.6.28 easily.

hm, Dean's original report had

This does not occur in kernel 2.6.29 -- I can see the Tasmanian
devil in a penguin mask (Tuz) just fine and can view images, etc on
the framebuffer.

 Dean, please test the patch.

Yes please.

 diff --git a/drivers/video/intelfb/intelfbdrv.c 
 b/drivers/video/intelfb/intelfbdrv.c
 index ace14fe..b47f6dd 100644
 --- a/drivers/video/intelfb/intelfbdrv.c
 +++ b/drivers/video/intelfb/intelfbdrv.c
 @@ -871,6 +871,12 @@ static int __devinit intelfb_pci_register(struct pci_dev 
 *pdev,
  
   intelfbhw_print_hw_state(dinfo, dinfo-save_state);
  
 + /* Check whether pipe A or pipe B is enabled. */
 + if (dinfo-save_state.pipe_a_conf  PIPECONF_ENABLE)
 + dinfo-pipe = PIPE_A;
 + if (dinfo-save_state.pipe_b_conf  PIPECONF_ENABLE)
 + dinfo-pipe = PIPE_B;
 +
   if (bailearly == 18)
   bailout(dinfo);


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21774] blender menus all black (or white)

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21774





--- Comment #1 from Tormod Volden bugzi07.fdo.tor...@xoxy.net  2009-05-17 
00:33:31 PST ---
Created an attachment (id=25927)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=25927)
Xorg.0.log


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13214] Blank internal Display on Notebook with Intel GPU (855GM)

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13214





--- Comment #10 from Bruno bonbon...@internet.lu  2009-05-17 09:46:14 ---
Regarding Stefan's suggestion in comment #5, that does not seem to help on my
side.

I did try a slightly different approach (e.g. not forcing ALL outputs to get
handled as LVDS), but internal display kept showing black content.

When booting with a VGA display connected (1280x1024 native) I do see kernel
boot output on external monitor (though that one is complaining about signal
timing: horizontal 40.0kHz, vertical 37.5Hz)

(Note: while playing with Xorg (1.5.3 + 2.7.1 driver) I could not convince the
local display to change it's mind but had both displays unexpectedly disabled
at some time andsystem frozen hard slightly later)

The patch I used looks like this (sorry for line-wrapping):
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 3387cf3..5a82cff 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1094,12 +1094,15 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
}

num_outputs++;
+   DRM_INFO(Checking output '%s' of type %d (LVDS: %d,
num_outputs=%d)\n,
+   connector-display_info.name,
intel_output-type, is_lvds,
+   num_outputs);
}

if (is_lvds  dev_priv-lvds_use_ssc  num_outputs  2) {
refclk = dev_priv-lvds_ssc_freq * 1000;
DRM_DEBUG(using SSC reference clock of %d MHz\n, refclk /
1000);
-   } else if (IS_I9XX(dev)) {
+   } else if (IS_I9XX(dev) || IS_I855(dev)) {
refclk = 96000;
} else {
refclk = 48000;

Snipplet of boot output with external display connected:
[0.545852] Linux agpgart interface v0.103
[0.545935] agpgart-intel :00:00.0: Intel 855GM Chipset
[0.546813] agpgart-intel :00:00.0: detected 32636K stolen memory
[0.548387] agpgart-intel :00:00.0: AGP aperture is 128M @ 0xe800
[0.548559] [drm] Initialized drm 1.1.0 20060810
[0.548655] i915 :00:02.0: power state changed by ACPI to D0
[0.548998] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[0.549053] PCI: setting IRQ 11 as level-triggered
[0.549059] i915 :00:02.0: PCI INT A - Link[LNKA] - GSI 11 (level,
low) - IRQ 11
[0.549135] i915 :00:02.0: setting latency timer to 64
[1.545459] allocated 1400x1050 fb: 0x01fff000, bo dda08f60
[1.545658] async/0 used greatest stack depth: 2568 bytes left
[1.545750] fbcon: inteldrmfb (fb0) is primary device
[1.589763] [drm] Checking output '' of type 1 (LVDS: 0, num_outputs=1)
[1.635699] [drm] DAC-6: set mode 1280x1024 1e
[1.681779] [drm] Checking output '' of type 4 (LVDS: 1, num_outputs=1)
[1.723225] [drm] LVDS-8: set mode 1400x1050 15
[1.946998] Console: switching to colour frame buffer device 160x64
[1.956947] fb0: inteldrmfb frame buffer device
[1.957005] registered panic notifier
[1.957060] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor
0

Will try with unchanged refclk to see if this one does affect signal timing.

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13214] Blank internal Display on Notebook with Intel GPU (855GM)

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13214





--- Comment #11 from Bruno bonbon...@internet.lu  2009-05-17 10:21:56 ---
With unchanged refclk (e.g. not adding || IS_I855(dev) signal timing is
correct for VGA output.

xrandr output from Xorg is suboptimal if not even wrong:
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 2048 x 2048
VGA1 connected 1400x1050+0+0 (normal left inverted right x axis y axis) 340mm x
270mm
   1400x1050  60.0*+
   1280x1024  75.0 +   75.0 60.0  
   1280x960   60.0  
   1152x864   75.0  
   1024x768   75.1 75.0 70.1 60.0  
   832x62474.6  
   800x60072.2 75.0 60.3 56.2  
   640x48072.8 75.0 72.8 75.0 66.7 60.0 59.9  
   720x40070.1  
LVDS1 connected 1400x1050+0+0 (normal left inverted right x axis y axis) 305mm
x 228mm
   1400x1050  60.0*+
   1280x1024  60.0  
   1280x960   60.0  
   1024x768   60.0  
   800x60060.3  
   640x48059.9  
DVI1 disconnected (normal left inverted right x axis y axis)

external display reports 1280x1024 though Xorg seems to say it's producing
1400x1050 and cursor can go beyond bottom of visible area but not so for the
width (on external display)
So I guess external display is rather getting real 1400x1050 but scaling the
width to fit its 1280 and cropping the addidional lines. (the injected
1400x1050 is just wrong for the external display - but this probably should go
to a separate bug report - this is an Xorg/fx86-video-intel issue as the extra
mode is not listed by kernel)

ps: tests for this and previous comment were done with 2.6.30-rc6

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21776] New: [radeon-rewrite] compiz crashes Xorg

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21776

   Summary: [radeon-rewrite] compiz crashes Xorg
   Product: Mesa
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: bugzi07.fdo.tor...@xoxy.net


After the last days' updates from git, I can not start compiz any longer.

I tried to run gdb on Xorg and it dies with:
Program exited with code 0352.

dmesg:
[47841.913989] [drm:r300_do_cp_cmdbuf] *ERROR* bad cmd_type 0 at f65c5b08

/var/log/gdm/:0.log.1:
CS section size missmatch start at (r300_cmdbuf.c,emit_tex_offsets,182) 4 vs 2
CS section end at (r300_cmdbuf.c,emit_tex_offsets,202)
drmRadeonCmdBuffer: -22


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21776] [radeon-rewrite] compiz crashes Xorg

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21776





--- Comment #1 from Tormod Volden bugzi07.fdo.tor...@xoxy.net  2009-05-17 
03:29:29 PST ---
Created an attachment (id=25928)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=25928)
Xorg.0.log


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21582] [radeon-rewrite] crashes server through radeonRefillCurrentDmaRegion

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21582





--- Comment #5 from Tormod Volden bugzi07.fdo.tor...@xoxy.net  2009-05-17 
03:33:43 PST ---
I naively commented out the radeon_revalidate_bos line, but then Xorg crashes
at startup. Is the workaround more complicated? This bug keeps me from testing
radeon-rewrite much, so a temporary workaround would be most welcome if the
real fix has to wait.


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21777] New: libdrm-2.4.11 fails with LDFLAGS=-Wl,--as-needed

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21777

   Summary: libdrm-2.4.11 fails with LDFLAGS=-Wl,--as-needed
   Product: DRI
   Version: XOrg CVS
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: libdrm
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: neust...@gmx-topmail.de


Distro: Gentoo-Linux
Gcc:4.3.2

without as-needed it compiles fine.

Code:
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc 
-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer  -Wl,-O1 -Wl,--sort-common
-Wl,--hash-style=gnu -Wl,--as-needed -o drmstat drmstat.o ../libdrm/libdrm.la
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc 
-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer  -Wl,-O1 -Wl,--sort-common
-Wl,--hash-style=gnu -Wl,--as-needed -o dristat dristat.o ../libdrm/libdrm.la
libtool: link: i686-pc-linux-gnu-gcc -march=athlon64-sse3 -O2 -pipe
-fomit-frame-pointer -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -o
.libs/drmstat drmstat.o  -Wl,--as-needed ../libdrm/.libs/libdrm.so
libtool: link: i686-pc-linux-gnu-gcc -march=athlon64-sse3 -O2 -pipe
-fomit-frame-pointer -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -o
.libs/dristat dristat.o  -Wl,--as-needed ../libdrm/.libs/libdrm.so
dristat.o: In function `drmWaitVBlank':
dristat.c:(.text+0x1a3f): undefined reference to `clock_gettime'
dristat.c:(.text+0x1a94): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [dristat] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory
`/var/tmp/portage/x11-libs/libdrm-2.4.11/work/libdrm-2.4.11/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/x11-libs/libdrm-2.4.11/work/libdrm-2.4.11/tests'
make: *** [all-recursive] Error 1
 *
 * ERROR: x11-libs/libdrm-2.4.11 failed.
 * Call stack:
 *   ebuild.sh, line   48:  Called src_compile
 * environment, line 3097:  Called x-modular_src_compile
 * environment, line 3877:  Called x-modular_src_make
 * environment, line 3916:  Called die
 * The specific snippet of code:
 *   emake || die emake failed
 *  The die message:
 *   emake failed


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13294] i915: drm: xorg leaks drm objects massively

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13294


Sergei Trofimovich sly...@gmail.com changed:

   What|Removed |Added

 CC||sly...@gmail.com




--- Comment #1 from Sergei Trofimovich sly...@gmail.com  2009-05-17 11:36:52 
---
Sorry, it's not a 2.6.29 regression.
Retested with 2.6.29{, .2} - same problem.
Many deleted objects in pmap `pidof X`

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21776] [radeon-rewrite] compiz crashes Xorg

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21776





--- Comment #2 from Maciej Cencora m.cenc...@gmail.com  2009-05-17 04:52:22 
PST ---
The problem is already known and exists only in DRI1. Please revert
76a64958a4ca38ec27b63a909979c493c507b952 as a temporary workaround.


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21582] [radeon-rewrite] crashes server through radeonRefillCurrentDmaRegion

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21582





--- Comment #6 from Maciej Cencora m.cenc...@gmail.com  2009-05-17 05:17:17 
PST ---
(In reply to comment #5)
 I naively commented out the radeon_revalidate_bos line, but then Xorg crashes
 at startup. Is the workaround more complicated? This bug keeps me from testing
 radeon-rewrite much, so a temporary workaround would be most welcome if the
 real fix has to wait.
 

Can you post a backtrace of where it is crashing with commented out
radeon_revalidate_bos call?


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13294] i915: drm: xorg leaks drm objects massively

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13294


Rafael J. Wysocki r...@sisk.pl changed:

   What|Removed |Added

 Blocks|13070   |12398




--- Comment #2 from Rafael J. Wysocki r...@sisk.pl  2009-05-17 12:46:30 ---
I'm assuming that 2.6.28 was fine, then.

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21774] blender menus all black (or white)

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21774





--- Comment #2 from Maciej Cencora m.cenc...@gmail.com  2009-05-17 06:10:55 
PST ---
I can reproduce it on my rv380.

Can you bisect it? I wasn't able to run bisect below
bbb1c6f6298fcb1125a8170f22646f326b0ca74c because there was dri version change,
and I can't downgrade.


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13294] i915: drm: xorg leaks drm objects massively

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13294





--- Comment #3 from Sergei Trofimovich sly...@gmail.com  2009-05-17 14:00:42 
---
No, i just didn't notice this problem before.
Maybe I did not hold weekly uptimes or 2.6.29 didn't leak so fast.
2.6.29 is actually first kernel i managed to start Xorg on this hardware.
2.6.28 didn't work at all (maybe, i had (and still have) stale buggy userspace)

So, I don't know working kernel without this problem.

P.S.
2.6.30-rc6:

$ dmesg  | grep drm
[0.549722] [drm] Initialized drm 1.1.0 20060810
[0.567066] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor
0
[  648.278242] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count
for disabled pipe 1

$ uptime
 ..  2:40 ...

$ sudo pmap `pidof X` | wc -l
13050

Right after Xorg startup I had 834 entries in pmap.

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21582] [radeon-rewrite] crashes server through radeonRefillCurrentDmaRegion

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21582





--- Comment #7 from Tormod Volden bugzi07.fdo.tor...@xoxy.net  2009-05-17 
07:22:11 PST ---
It did not crash now. Last time, I had tested it against
76a64958a4ca38ec27b63a909979c493c507b952 so it was probably compiz and bug
21776 that kicked in and got me confused.


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21778] System locks after changing screen resolution in game with GIT mesa

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21778


Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

 AssignedTo|xorg-driver-...@lists.x.org |dri-
   ||de...@lists.sourceforge.net
  Component|Driver/Radeon   |Drivers/DRI/r300
Product|xorg|Mesa
Version|git |CVS




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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 20935] Perfomance regresion in r300_dri version 7.3 (7.2 is twice faster)

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20935


Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

 CC||filipp.andj...@gmx.net




--- Comment #3 from Alex Deucher ag...@yahoo.com  2009-05-17 07:55:19 PST ---
*** Bug 21779 has been marked as a duplicate of this bug. ***


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 20539] Segmentation Fault with Radeon (maybe with pixmap command)

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20539


Andreas Cord-Landwehr cordlandw...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #19 from Andreas Cord-Landwehr cordlandw...@gmail.com  2009-05-17 
08:09:04 PST ---
Hello, during the last 7 days I worked with the patched version and no crash
occured. So, I'm pretty shure that the bug is fixed. The next days I will try
to convince myself by a valgrind run, but everything seems fine.

Thanks to all,
   Andreas

PS: instead of the patch I used the current debian package, that contain the
patch.


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12861] Xorg fails to start Failed to allocate space for kernel memory manager

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12861





--- Comment #31 from Emil Karlson jkarl...@cc.hut.fi  2009-05-17 16:31:40 ---
Still present in 2.6.30-rc6.

Also the test hardware is being removed so you may want to close this bug,
until someone else does reproduce it.

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13171] New: 2.6.30-rc2 + xorg-intel-2.7.0 + DRM_I915_KMS = corruption

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13171

   Summary: 2.6.30-rc2 + xorg-intel-2.7.0 + DRM_I915_KMS =
corruption
   Product: Drivers
   Version: 2.5
Kernel Version: 2.6.30-rc2
  Platform: All
OS/Version: Linux
  Tree: Mainline
Status: NEW
  Severity: normal
  Priority: P1
 Component: Video(DRI)
AssignedTo: drivers_video-...@kernel-bugs.osdl.org
ReportedBy: r...@sisk.pl
CC: bugzi...@bennee.com
Blocks: 13070
Regression: Yes



Alex Bennee bugzi...@bennee.com changed:

   What|Removed |Added

 CC||bugzi...@bennee.com


Subject: 2.6.30-rc2 + xorg-intel-2.7.0 + DRM_I915_KMS = corruption
Submitter  : Alex Bennee kernel-hac...@bennee.com
Date   : 2009-04-19 6:27
References : http://marc.info/?l=linux-kernelm=124022460014812w=4

This entry is being used for tracking a regression from 2.6.29.  Please don't
close it until the problem is fixed in the mainline.

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13171] 2.6.30-rc2 + xorg-intel-2.7.0 + DRM_I915_KMS = corruption

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13171





--- Comment #1 from Alex Bennee bugzi...@bennee.com  2009-05-17 17:50:37 ---
This bug has additional info on the freedesktop buzilla:

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

The core problem seems to be that when running in KMS X is unable to
allocate any memory and from that point everything else is doomed to
fail.

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 13171] 2.6.30-rc2 + xorg-intel-2.7.0 + DRM_I915_KMS = corruption

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13171





--- Comment #2 from Rafael J. Wysocki r...@sisk.pl  2009-05-17 18:09:42 ---
References : https://bugs.freedesktop.org/show_bug.cgi?id=21480

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21774] blender menus all black (or white)

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21774





--- Comment #3 from Tormod Volden bugzi07.fdo.tor...@xoxy.net  2009-05-17 
14:12:49 PST ---
#good 1265e7267e086476d9bae560345fd80f064adfc5
#bad 45435abcb967931c79aba1714ae797a1c5dc075e
#bad 9bbffcced4355ff11e11c5b01c4d0eea6b020119
#won't build e6372853c221a5d64494ce75a6a323c479c55a86
#good bc7d2c4f51c56787b261e6ab6f9a77d39c3493e1
#bad ae5c06b9ce1191afaa95dd784d7315f25ec729ff
#good 6d2e1f6a2cd25107ad9bd88b1decd05fc8000f78
#bad 8217f24f21a0ea9888a18ec7399d2d974a43d1cb
#good b46611633c5da6fa23ee17bce22939fe20ef194e
#bad 5340b6dff73a0a23531ce2a5f28fba8303adab6e
#bad 9c9ba66fbae8089e9423f6b09ad1091cccf9b006 (locks up)

git-bisect picks some commits which I don't understand (there is no
configure.ac), so I did it so far manually with git reset --hard. But all the
merging of branches confuses me so I don't know if do it the right way. It
takes so much time I can not continue on it now.


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21774] blender menus all black (or white)

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21774





--- Comment #4 from Tormod Volden bugzi07.fdo.tor...@xoxy.net  2009-05-17 
15:04:34 PST ---
I have learned to use git bisect visualize (and Edit View to only look at
src/mesa/drivers/dri/{r300,radeon}) so I will understand better next time I
try. 


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21778] XPress 200M : System locks after changing screen resolution in game with GIT mesa

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21778


Martin PERES martin.pe...@ensi-bourges.fr changed:

   What|Removed |Added

Summary|System locks after changing |XPress 200M : System locks
   |screen resolution in game   |after changing screen
   |with GIT mesa   |resolution in game with GIT
   ||mesa




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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12861] Xorg fails to start Failed to allocate space for kernel memory manager

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12861





--- Comment #32 from Jesse Barnes jbar...@virtuousgeek.org  2009-05-17 
23:22:33 ---
Ok, thanks.  Yeah I haven't heard other reports of this; I suspect a config
issue or a related bug, several of which have been fixed now.

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12861] Xorg fails to start Failed to allocate space for kernel memory manager

2009-05-17 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12861


Jesse Barnes jbar...@virtuousgeek.org changed:

   What|Removed |Added

 AssignedTo|drivers_video-...@kernel-bu |jbar...@virtuousgeek.org
   |gs.osdl.org |




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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21227] intel_tex_image.c:355: intelTexImage: Assertion `texImage-RowStride == postConvWidth' failed.

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21227





--- Comment #2 from vytautas.liuo...@gmail.com  2009-05-17 17:11:14 PST ---
Created an attachment (id=25944)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=25944)
A simple test case

Actually this bug is rather easy to reproduce, any call to glCopyTexImage2D
will trigger it if the requested texture width exceeds OpenGL window width,
however any height is ok.
I have attached a simple test case for this.

In addition, if you allocate memory for the texture with something like this
before operation:
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_BYTE,
NULL);
...glCopyTexImage2D function succeeds.

I have used Intel drivers 2.7.1 and Linux 2.6.30.


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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21227] glCopyTexImage2D fails for wide textures (intel_tex_image.c:355: intelTexImage: Assertion `texImage-RowStride == postConvWidth' failed.)

2009-05-17 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21227


vytautas.liuo...@gmail.com changed:

   What|Removed |Added

Summary|intel_tex_image.c:355:  |glCopyTexImage2D fails for
   |intelTexImage: Assertion|wide textures
   |`texImage-RowStride == |(intel_tex_image.c:355:
   |postConvWidth' failed.  |intelTexImage: Assertion
   ||`texImage-RowStride ==
   ||postConvWidth' failed.)




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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[PATCH] drm: Round size of mappings in drmAddMap ioctl

2009-05-17 Thread Benjamin Herrenschmidt
Currently, userspace fails to obtain the SAREA mapping on some platforms
because they pass SAREA_MAX to drmAddMap without aligning it to the page
size. This breaks for example on PowerPC with 64K pages.

The way SAREA_MAX is defined with a bunch of ifdef's and duplicated between
libdrm and the X server is gross, ultimately it should be retrieved by
userspace from the kernel, but in the meantime, we have plenty of existing
userspace built with bad values that need to work.

The actual SAREA in the kernel is created with an aligned size by the
radeon driver (I haven't tested others) so it's purely a userspace problem.

This works around it by rounding the requested size in drmAddMap to the page
size. There should never be any need to manipulate maps smaller than a page
(MMIO regions might but there isn't much we can do about it) and our mmap()
calls has enough sanity checks here if the map is actually too small to be
mapped. We also only do that fir the ioctl, not the in-kernel call.

Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---

This fixes DRM with 16K and 64K pages on PowerPC embedded machines. Dunno
if you want that in 2.6.30, I would personally like that but I'm not going
to force your hand :-)

Cheers,
Ben.

Index: linux-work/drivers/gpu/drm/drm_bufs.c
===
--- linux-work.orig/drivers/gpu/drm/drm_bufs.c  2009-05-18 10:50:04.0 
+1000
+++ linux-work/drivers/gpu/drm/drm_bufs.c   2009-05-18 10:51:01.0 
+1000
@@ -404,6 +404,8 @@ int drm_addmap_ioctl(struct drm_device *
if (!(capable(CAP_SYS_ADMIN) || map-type == _DRM_AGP || map-type == 
_DRM_SHM))
return -EPERM;
 
+   /* Workaround for userspace passing smaller than page size quantities */
+   map-size = PAGE_ALIGN(map-size);
err = drm_addmap_core(dev, map-offset, map-size, map-type,
  map-flags, maplist);
 



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[PATCH] drm: Round size of SHM maps to PAGE_SIZE

2009-05-17 Thread Benjamin Herrenschmidt
Currently, userspace fail to obtain the SAREA mapping (among others) because
they pass SAREA_MAX to drmAddMap without aligning it to the page size. This
breaks for example on PowerPC with 64K pages and radeon despite the kernel
radeon actually doing the right rouding in the first place.

The way SAREA_MAX is defined with a bunch of ifdef's and duplicated between
libdrm and the X server is gross, ultimately it should be retrieved by
userspace from the kernel, but in the meantime, we have plenty of existing
userspace built with bad values that need to work.

This works around it by rounding the requested size in drm_addmap_core() of
any SHM map to the page size. Since those maps backing memory is allocated
within addmap_core, there is no security issue involved, the only side effect
is that drivers that previous tries to create or access SHM maps using
a size  PAGE_SIZE and would have failed (-EINVAL) will no succeed at the
cost of a little bit more memory used if that happens to be when the map is
created.

Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---

That replaces my previous attempt. This is safer and cleaner and still
fixes the radeon problem. Other drivers having other type of maps with
incorrect sizes will need proper fixes but they did anyway.

Index: linux-work/drivers/gpu/drm/drm_bufs.c
===
--- linux-work.orig/drivers/gpu/drm/drm_bufs.c  2009-05-18 10:50:04.0 
+1000
+++ linux-work/drivers/gpu/drm/drm_bufs.c   2009-05-18 11:47:25.0 
+1000
@@ -170,6 +170,14 @@ static int drm_addmap_core(struct drm_de
}
DRM_DEBUG(offset = 0x%08llx, size = 0x%08lx, type = %d\n,
  (unsigned long long)map-offset, map-size, map-type);
+
+   /* page-align _DRM_SHM maps. They are allocated here so there is no 
security
+* hole created by that and it works around various broken drivers that 
use
+* a non-aligned quantity to map the SAREA. --BenH
+*/
+   if (map-type == _DRM_SHM)
+   map-size = PAGE_ALIGN(map-size);
+
if ((map-offset  (~(resource_size_t)PAGE_MASK)) || (map-size  
(~PAGE_MASK))) {
drm_free(map, sizeof(*map), DRM_MEM_MAPS);
return -EINVAL;



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [PATCH] drm: Round size of mappings in drmAddMap ioctl

2009-05-17 Thread Stephane Marchesin
On Mon, May 18, 2009 at 03:11, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
 Currently, userspace fails to obtain the SAREA mapping on some platforms
 because they pass SAREA_MAX to drmAddMap without aligning it to the page
 size. This breaks for example on PowerPC with 64K pages.

 The way SAREA_MAX is defined with a bunch of ifdef's and duplicated between
 libdrm and the X server is gross, ultimately it should be retrieved by
 userspace from the kernel, but in the meantime, we have plenty of existing
 userspace built with bad values that need to work.

 The actual SAREA in the kernel is created with an aligned size by the
 radeon driver (I haven't tested others) so it's purely a userspace problem.

 This works around it by rounding the requested size in drmAddMap to the page
 size. There should never be any need to manipulate maps smaller than a page
 (MMIO regions might but there isn't much we can do about it) and our mmap()
 calls has enough sanity checks here if the map is actually too small to be
 mapped. We also only do that fir the ioctl, not the in-kernel call.


So, in order to fix a problem with the SAREA you align the map size
for all added maps? Sounds bogus to me, especially since the range of
possible page sizes is potentially unbounded.

IMO the proper thing to do is to fix the drivers when they create the SAREA...

Stephane

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [PATCH] drm: Round size of mappings in drmAddMap ioctl

2009-05-17 Thread Benjamin Herrenschmidt

 So, in order to fix a problem with the SAREA you align the map size
 for all added maps? Sounds bogus to me, especially since the range of
 possible page sizes is potentially unbounded.

Only the requested size from userspace, most drivers create the map from
the kernel anyway.

 IMO the proper thing to do is to fix the drivers when they create the SAREA...

The SAREA, in my case (radeon) is -already- created with the proper
size, it's userspace making use of the bogus SAREA_MAX constant that
gets it wrong and fails to map it.

However, after our IRC discussion, I'll post a different patch that we
agreed provides a better and safer workaround.

Jesse, ignore that patch for now, new one on the cookpot.

Cheers,
Ben.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Bug #12947] r128: system hangs when X is started with DRI enabled

2009-05-17 Thread Jos van der Ende
On Sat, 16 May 2009 22:05:58 +0200 (CEST)
Rafael J. Wysocki r...@sisk.pl wrote:

 This message has been generated automatically as a part of a report
 of regressions introduced between 2.6.28 and 2.6.29.
 
 The following bug entry is on the current list of known regressions
 introduced between 2.6.28 and 2.6.29.  Please verify if it still should
 be listed and let me know (either way).

The bug is still present in 2.6.29.3, but we've found the likely cause and a 
potential fix. As soon as I have access to the system again, I will test this 
patch. Unfortunately I won't be anywhere near the system this week. I'll get 
back to it on Monday 25th.


-- 
Jos van der Ende ser...@xs4all.nl

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug #12861] Xorg fails to start Failed to allocate space for kernel memory manager

2009-05-17 Thread Rafael J. Wysocki
This message has been generated automatically as a part of a report
of regressions introduced between 2.6.28 and 2.6.29.

The following bug entry is on the current list of known regressions
introduced between 2.6.28 and 2.6.29.  Please verify if it still should
be listed and let me know (either way).


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=12861
Subject : Xorg fails to start Failed to allocate space for kernel 
memory manager
Submitter   : Emil Karlson jkarl...@cc.hut.fi
Date: 2009-03-12 12:06 (66 days old)
First-Bad-Commit: 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ab657db12d7020629f26f30d287558a8d0e32b41



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: 2.6.30-rc6: Reported regressions from 2.6.29

2009-05-17 Thread Ingo Molnar

* Rafael J. Wysocki r...@sisk.pl wrote:

 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13325
 Subject   : 2.6.30-rc kills my box hard - and lockdep chains
 Submitter : Jonathan Corbet cor...@lwn.net
 Date  : 2009-05-14 15:49 (3 days old)
 References: http://marc.info/?l=linux-kernelm=124231630701394w=4

Jonathan, there's a side-issue reported there, us running out of 
lockdep space. Could you try this commit from -tip:

d80c19d: lockdep: increase MAX_LOCKDEP_ENTRIES and MAX_LOCKDEP_CHAINS

(which i'll get to Linus in the next ~24 hours.) Maybe that allows 
lockdep to report the reason for the deadlock.

 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13321
 Subject   : kernel crash with NULL pointer when boot
 Submitter : Martin Bammer mr...@gmx.at
 Date  : 2009-05-16 12:37 (1 days old)
 References: http://lkml.org/lkml/2009/5/16/100

that crash is in reiserfs_for_each_xattr(), during sys_unlink()'s 
xattr teardown.

There's been a good deal of reiserfs changes in this cycle - some 
touch the xattr code as well. Some of them fairly late in the cycle, 
in the last two weeks:

 earth4:~/tip gll v2.6.29..linus --since=two-weeks-ago fs/reiserfs/
 2a32ceb: Fix races around the access to -s_options
 677c9b2: reiserfs: remove privroot hiding in lookup
 b82bb72: reiserfs: dont associate security.* with xattr files
 ab17c4f: reiserfs: fixup xattr_root caching
 edcc37a: Always lookup priv_root on reiserfs mount and keep it
 5a6059c: reiserfs: Expand i_mutex to enclose lookup_one_len

Martin, you could try a blind revert of say ... ab17c4f, which looks 
the most suspect and which is also a rather large commit.

Or/and you could try a bisect - perhaps accelerated via:

   git bisect start fs/reiserfs/

 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13297
 Subject   : kernel panic -  not syncing : fatel exception in 
 interupt
 Submitter : rob r...@housetosell.net
 Date  : 2009-05-12 19:34 (5 days old)
 References: http://marc.info/?l=linux-kernelm=124216126903309w=4

tainted crash, but probably legit. It does show some badness in an 
old-IDE legacy codepath:

[c0371865] error_code+0x65/0x6c
[c0110155] do_page_fault+0x0/0x1e0
[c027dafc] ide_complete_rq+0xf/0x3b
[c02870a0] cdrom_newpc_intr+0x64d/0x6cd
[c0286a53] cdrom_newpc_intr+0x0/0x6cd
[c027dcc2] ide_intr+0x109/0x161
[c0132298] handle_IRQ_event+0x54/0xc7
[c013354a] handle_level_irq+0x4f/0x85
[c0103df7] handle_irq+0x17/0x20
[c0103da5] do_IRQ+0x2b/0x66
[c0102be9] common_interupt+0x29/0x30
[c048] cmd40x_init+0x2ac/0x38d
[c0106db3] default_idle+0x25/0x38
[c01019be] cpu_idle+0x19/0x2d
[c0468907] start_kernel+0x23f/0x242

report subject line is too unspecific, it should be changed to 
something like:

  legacy IDE cmd40x related bootup crash

 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13296
 Subject   : Lockdep violation at cleanup_workqueue_thread during 
 suspend
 Submitter : Zdenek Kabelac zdenek.kabe...@gmail.com
 Date  : 2009-05-12 7:59 (5 days old)
 References: http://marc.info/?l=linux-kernelm=124211522525625w=4

looks like wireless related - the dependency that connects the 
locks in a wrong way appears to be:

 - #2 (cfg80211_mutex){+.+.+.}:
[80271a64] __lock_acquire+0xc64/0x10a0
[80271f38] lock_acquire+0x98/0x140
[8054e78c] __mutex_lock_common+0x4c/0x3b0
[8054ebf6] mutex_lock_nested+0x46/0x60
[a007e66a] reg_todo+0x19a/0x590 [cfg80211]
[80258f18] worker_thread+0x1e8/0x3a0
[8025dc3a] kthread+0x5a/0xa0
[8020d23a] child_rip+0xa/0x20

(havent checked deeper)

 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13245
 Subject   : possible circular locking dependency detected
 Submitter : Miles Lane miles.l...@gmail.com
 Date  : 2009-05-04 16:56 (13 days old)

same as #13296 above. (The one above should be merged into this one 
i guess)

 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13126
 Subject   : BUG: MAX_LOCKDEP_ENTRIES too low! when mounting rootfs
 Submitter : Alexander Beregalov a.berega...@gmail.com
 Date  : 2009-04-15 12:43 (32 days old)
 References: http://marc.info/?l=linux-kernelm=123979949820538w=4

should be resolved via the lockdep space extension fix.

 Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13118
 Subject   : iptables very slow after commit 
 784544739a25c30637397ace5489eeb6e15d7d49
 Submitter : Jeff Chua jeff.chua.li...@gmail.com
 Date  : 2009-04-10 16:05 (37 days old)
 References: http://lkml.org/lkml/2009/4/10/111
 http://lkml.org/lkml/2009/4/25/83
 Handled-By: Eric Dumazet da...@cosmosbay.com

solved by:

 commit 942e4a2bd680c606af0211e64eb216be2e19bf61
 Author: Stephen Hemminger shemmin...@vyatta.com
 Date:   

2.6.30-rc6: Reported regressions 2.6.28 - 2.6.29

2009-05-17 Thread Rafael J. Wysocki
This message contains a list of some regressions introduced between 2.6.28 and
2.6.29, for which there are no fixes in the mainline I know of.  If any of them
have been fixed already, please let me know.

If you know of any other unresolved regressions introduced between 2.6.28
and 2.6.29, please let me know either and I'll add them to the list.
Also, please let me know if any of the entries below are invalid.

Each entry from the list will be sent additionally in an automatic reply to
this message with CCs to the people involved in reporting and handling the
issue.


Listed regressions statistics:

  Date  Total  Pending  Unresolved
  
  2009-05-17  162   27  25
  2009-04-26  160   29  27
  2009-04-06  142   37  31
  2009-03-21  128   29  26
  2009-03-14  124   36  32
  2009-03-03  108   33  28
  2009-02-24   95   32  24
  2009-02-14   85   33  27
  2009-02-08   82   45  36
  2009-02-04   66   51  39
  2009-01-20   38   35  27
  2009-01-11   13   13  10



Unresolved regressions
--

Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13271
Subject : ath9k stop working since 2.6.29
Submitter   : lyman lyma...@gmail.com
Date: 2009-05-10 01:58 (7 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13269
Subject : WARNING: at kernel/hrtimer.c:625 
hres_timers_resume+0x3c/0x48() when resuming
Submitter   : cedric ced...@belbone.be
Date: 2009-05-08 08:48 (9 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13232
Subject : ext3/4 with synchronous writes gets wedged by Postfix
Submitter   : David Watson kernel-nos...@dbwatson.ukfsn.org
Date: 2009-05-03 19:46 (14 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13225
Subject : [2.6.29 regression] Software suspend no longer works
Submitter   : Artem S. Tashkinov t.ar...@mailcity.com
Date: 2009-05-02 21:41 (15 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13183
Subject : forcedeth: no link during initialization
Submitter   : Harald Dunkel harald.dun...@t-online.de
Date: 2009-04-23 13:02 (24 days old)
References  : http://marc.info/?l=linux-kernelm=124049180309233w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13178
Subject : Booting very slow
Submitter   : Martin Knoblauch spamt...@knobisoft.de
Date: 2009-04-24 12:45 (23 days old)
References  : http://marc.info/?l=linux-kernelm=124057716231773w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13175
Subject : sata_nv incompatible with async scsi scan
Submitter   : Benny Halevy bhal...@panasas.com
Date: 2009-04-21 7:03 (26 days old)
References  : http://marc.info/?l=linux-kernelm=124029746431777w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13172
Subject : Spontaneous reboots since 2.6.29-rc*
Submitter   : Maciej Rutecki maciej.rute...@gmail.com
Date: 2009-04-17 17:03 (30 days old)
References  : http://marc.info/?l=linux-kernelm=123998788921733w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13144
Subject : resume from suspend fails using video card i915
Submitter   : C Sights csig...@fastmail.fm
Date: 2009-04-21 17:03 (26 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13100
Subject : can't anymore even do a s2ram-s2disk-s2ram cycle on acer 
aspire 5720G
Submitter   : Maxim Levitsky maximlevit...@gmail.com
Date: 2009-04-06 23:52 (41 days old)
First-Bad-Commit: 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a0d4922da2e4ccb0973095d8d29f36f6b1b5f703
References  : http://marc.info/?l=linux-kernelm=123906202829074w=4
Handled-By  : Rafael J. Wysocki r...@sisk.pl


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13074
Subject : gspca_stv06xx doesn't work with Logitech QuickCam Express 
(046d:0840)
Submitter   : Paulo Matias mat...@archlinux-br.org
Date: 2009-04-12 14:10 (35 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13072
Subject : forcedeth seems to switch off eth on shutdown
Submitter   : Daniel Bierstedt daniel.bierst...@gmx.de
Date: 2009-04-12 07:00 (35 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13025
Subject : After upgrading to kernel 2.6.29, pulseaudio stopped with 
some strange error
Submitter   : Yaroslav Isakov yaroslav.isa...@gmail.com
Date: 2009-04-06 19:47 (41 days old)


Bug-Entry   : 

Re: 2.6.30-rc6: Reported regressions 2.6.28 - 2.6.29

2009-05-17 Thread Maciej Rutecki
2009/5/16 Rafael J. Wysocki r...@sisk.pl:


 Bug-Entry       : http://bugzilla.kernel.org/show_bug.cgi?id=12499
 Subject         : Problem with using bluetooth adaper connected to usb port
 Submitter       : Maciej Rutecki maciej.rute...@gmail.com
 Date            : 2009-01-13 18:34 (124 days old)
 References      : http://marc.info/?l=linux-kernelm=123187185426236w=4
 Handled-By      : Marcel Holtmann mar...@holtmann.org

2.6.30-rc6 works fine. Please remove it.


Regards
-- 
Maciej Rutecki
http://www.maciek.unixy.pl

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Linux-fbdev-devel] [Bugme-new] [Bug 13285] New: INTELFB: Colors display incorrectly

2009-05-17 Thread Krzysztof Helt
On Tue, 12 May 2009 15:19:34 -0700
Andrew Morton a...@linux-foundation.org wrote:

 
 (switched to email.  Please respond via emailed reply-to-all, not via the
 bugzilla web interface).
 
 On Tue, 12 May 2009 01:40:48 GMT
 bugzilla-dae...@bugzilla.kernel.org wrote:
 
  http://bugzilla.kernel.org/show_bug.cgi?id=13285
  
 Summary: INTELFB: Colors display incorrectly
 Product: Drivers
 Version: 2.5
  Kernel Version: 2.6.30-rc5
 
 This is a post-2.6.29 regression.
 
Platform: All
  OS/Version: Linux
Tree: Mainline
  Status: NEW
Severity: normal
Priority: P1
   Component: Console/Framebuffers
  AssignedTo: jsimm...@infradead.org
  ReportedBy: samanddea...@yahoo.com
  Regression: Yes
  
  
  On my system, the colors are displaying incorrectly when using the Intel
  framebuffer.  For example the Tux penguin logo has a blue background, and 
  when
  I start X11 with the fbdev drivers, the xterm also has a blue background, 
  when
  it is set up to have a white background.
  
  This does not occur in kernel 2.6.29 -- I can see the Tasmanian devil in a
  penguin mask (Tuz) just fine and can view images, etc on the framebuffer.
  
 

I have reproduced the bug on Intel 852/855 chipset (Asus A3L laptop). 

It took me long because I had problems with a hard drive and had to wipe it 
with a low-level format tool.

I am trying to identify cause of the bug. 

Regards,
Krzysztof

--
Fantastyczne nagrody do zgarniecia!
Zagraj  http://link.interia.pl/f2177 



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: 2.6.30-rc6: Reported regressions from 2.6.29

2009-05-17 Thread Rafael J. Wysocki
On Sunday 17 May 2009, Ingo Molnar wrote:
 
 * Rafael J. Wysocki r...@sisk.pl wrote:
 
  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13325
  Subject : 2.6.30-rc kills my box hard - and lockdep chains
  Submitter   : Jonathan Corbet cor...@lwn.net
  Date: 2009-05-14 15:49 (3 days old)
  References  : http://marc.info/?l=linux-kernelm=124231630701394w=4
 
 Jonathan, there's a side-issue reported there, us running out of 
 lockdep space. Could you try this commit from -tip:
 
 d80c19d: lockdep: increase MAX_LOCKDEP_ENTRIES and MAX_LOCKDEP_CHAINS
 
 (which i'll get to Linus in the next ~24 hours.) Maybe that allows 
 lockdep to report the reason for the deadlock.
 
  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13321
  Subject : kernel crash with NULL pointer when boot
  Submitter   : Martin Bammer mr...@gmx.at
  Date: 2009-05-16 12:37 (1 days old)
  References  : http://lkml.org/lkml/2009/5/16/100
 
 that crash is in reiserfs_for_each_xattr(), during sys_unlink()'s 
 xattr teardown.
 
 There's been a good deal of reiserfs changes in this cycle - some 
 touch the xattr code as well. Some of them fairly late in the cycle, 
 in the last two weeks:
 
  earth4:~/tip gll v2.6.29..linus --since=two-weeks-ago fs/reiserfs/
  2a32ceb: Fix races around the access to -s_options
  677c9b2: reiserfs: remove privroot hiding in lookup
  b82bb72: reiserfs: dont associate security.* with xattr files
  ab17c4f: reiserfs: fixup xattr_root caching
  edcc37a: Always lookup priv_root on reiserfs mount and keep it
  5a6059c: reiserfs: Expand i_mutex to enclose lookup_one_len
 
 Martin, you could try a blind revert of say ... ab17c4f, which looks 
 the most suspect and which is also a rather large commit.
 
 Or/and you could try a bisect - perhaps accelerated via:
 
git bisect start fs/reiserfs/

I think there's a fix already for this in the works, but it hasn't been merged
yet.  It looks like Jeff has just posted some reiserfs fixes. :-)

  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13297
  Subject : kernel panic -  not syncing : fatel exception in 
  interupt
  Submitter   : rob r...@housetosell.net
  Date: 2009-05-12 19:34 (5 days old)
  References  : http://marc.info/?l=linux-kernelm=124216126903309w=4
 
 tainted crash, but probably legit. It does show some badness in an 
 old-IDE legacy codepath:
 
 [c0371865] error_code+0x65/0x6c
 [c0110155] do_page_fault+0x0/0x1e0
 [c027dafc] ide_complete_rq+0xf/0x3b
 [c02870a0] cdrom_newpc_intr+0x64d/0x6cd
 [c0286a53] cdrom_newpc_intr+0x0/0x6cd
 [c027dcc2] ide_intr+0x109/0x161
 [c0132298] handle_IRQ_event+0x54/0xc7
 [c013354a] handle_level_irq+0x4f/0x85
 [c0103df7] handle_irq+0x17/0x20
 [c0103da5] do_IRQ+0x2b/0x66
 [c0102be9] common_interupt+0x29/0x30
 [c048] cmd40x_init+0x2ac/0x38d
 [c0106db3] default_idle+0x25/0x38
 [c01019be] cpu_idle+0x19/0x2d
 [c0468907] start_kernel+0x23f/0x242
 
 report subject line is too unspecific, it should be changed to 
 something like:
 
   legacy IDE cmd40x related bootup crash
 
  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13296
  Subject : Lockdep violation at cleanup_workqueue_thread during 
  suspend
  Submitter   : Zdenek Kabelac zdenek.kabe...@gmail.com
  Date: 2009-05-12 7:59 (5 days old)
  References  : http://marc.info/?l=linux-kernelm=124211522525625w=4
 
 looks like wireless related - the dependency that connects the 
 locks in a wrong way appears to be:
 
  - #2 (cfg80211_mutex){+.+.+.}:
 [80271a64] __lock_acquire+0xc64/0x10a0
 [80271f38] lock_acquire+0x98/0x140
 [8054e78c] __mutex_lock_common+0x4c/0x3b0
 [8054ebf6] mutex_lock_nested+0x46/0x60
 [a007e66a] reg_todo+0x19a/0x590 [cfg80211]
 [80258f18] worker_thread+0x1e8/0x3a0
 [8025dc3a] kthread+0x5a/0xa0
 [8020d23a] child_rip+0xa/0x20
 
 (havent checked deeper)
 
  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13245
  Subject : possible circular locking dependency detected
  Submitter   : Miles Lane miles.l...@gmail.com
  Date: 2009-05-04 16:56 (13 days old)
 
 same as #13296 above. (The one above should be merged into this one 
 i guess)

Yes, I've merged the two.

  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13126
  Subject : BUG: MAX_LOCKDEP_ENTRIES too low! when mounting rootfs
  Submitter   : Alexander Beregalov a.berega...@gmail.com
  Date: 2009-04-15 12:43 (32 days old)
  References  : http://marc.info/?l=linux-kernelm=123979949820538w=4
 
 should be resolved via the lockdep space extension fix.
 
  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13118
  Subject : iptables very slow after commit 
  784544739a25c30637397ace5489eeb6e15d7d49
  Submitter   : Jeff Chua jeff.chua.li...@gmail.com
  Date  

[PATCH] i915: remove __initdata from intel_no_lvds

2009-05-17 Thread Michael S. Tsirkin
make with CONFIG_DEBUG_SECTION_MISMATCH=y warns about the function
intel_lvds_init() referencing the variable __initdata intel_no_lvds.
Since intel_lvds_init might get called after module has been loaded,
intel_no_lvds shouldn't be marked __initdata.

Signed-off-by: Michael S. Tsirkin m...@redhat.com
---

This is on top of v2.6.30-rc6. Makes sense?

 drivers/gpu/drm/i915/intel_lvds.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c 
b/drivers/gpu/drm/i915/intel_lvds.c
index 439a865..5ffadf9 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -391,7 +391,7 @@ static int __init intel_no_lvds_dmi_callback(const struct 
dmi_system_id *id)
 }
 
 /* These systems claim to have LVDS, but really don't */
-static const struct dmi_system_id __initdata intel_no_lvds[] = {
+static const struct dmi_system_id intel_no_lvds[] = {
{
.callback = intel_no_lvds_dmi_callback,
.ident = Apple Mac Mini (Core series),
-- 
1.6.3.rc3.1.g830204

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug #12899] Crash in i915.ko: i915_driver_irq_handler

2009-05-17 Thread Rafael J. Wysocki
This message has been generated automatically as a part of a report
of regressions introduced between 2.6.28 and 2.6.29.

The following bug entry is on the current list of known regressions
introduced between 2.6.28 and 2.6.29.  Please verify if it still should
be listed and let me know (either way).


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=12899
Subject : Crash in i915.ko: i915_driver_irq_handler
Submitter   : Helge Bahmann helge.bahm...@secunet.com
Date: 2009-03-20 07:13 (58 days old)



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Linux-fbdev-devel] [Bugme-new] [Bug 13285] New: INTELFB: Colors display incorrectly

2009-05-17 Thread Krzysztof Helt
From: Krzysztof Helt krzysztof...@wp.pl

The intelfb driver sets color map depending on currently active pipe. However, 
if an LVDS 
display is attached (like in laptop) the active pipe variable is never set. The 
default value is 
PIPE_A and can be wrong.
Set up the pipe variable during driver initialization after hardware state was 
read.

I also found by experiment that if both pipes were enabled, the PIPE_B is used 
(active).

The problem is visible in the 8 bpp mode if colors above 15 are used. The first 
16 color
entries are displayed correctly.

Signed-off-by: Krzysztof Helt krzysztof...@wp.pl

---
This is not a regression. I have reproduced it in the 2.6.28 easily.

Dean, please test the patch.

diff --git a/drivers/video/intelfb/intelfbdrv.c 
b/drivers/video/intelfb/intelfbdrv.c
index ace14fe..b47f6dd 100644
--- a/drivers/video/intelfb/intelfbdrv.c
+++ b/drivers/video/intelfb/intelfbdrv.c
@@ -871,6 +871,12 @@ static int __devinit intelfb_pci_register(struct pci_dev 
*pdev,
 
intelfbhw_print_hw_state(dinfo, dinfo-save_state);
 
+   /* Check whether pipe A or pipe B is enabled. */
+   if (dinfo-save_state.pipe_a_conf  PIPECONF_ENABLE)
+   dinfo-pipe = PIPE_A;
+   if (dinfo-save_state.pipe_b_conf  PIPECONF_ENABLE)
+   dinfo-pipe = PIPE_B;
+
if (bailearly == 18)
bailout(dinfo);
 

--
Dzwonki na komorkê!
Sprawdz  http://link.interia.pl/f2161


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


2.6.30-rc6: Reported regressions from 2.6.29

2009-05-17 Thread Rafael J. Wysocki
This message contains a list of some regressions from 2.6.29, for which there
are no fixes in the mainline I know of.  If any of them have been fixed already,
please let me know.

If you know of any other unresolved regressions from 2.6.29, please let me know
either and I'll add them to the list.  Also, please let me know if any of the
entries below are invalid.

Each entry from the list will be sent additionally in an automatic reply to
this message with CCs to the people involved in reporting and handling the
issue.


Listed regressions statistics:

  Date  Total  Pending  Unresolved
  
  2009-05-16   81   36  33
  2009-04-25   55   36  26
  2009-04-17   37   35  28



Unresolved regressions
--

Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13329
Subject : cifs_close: NULL pointer dereference
Submitter   : Luca Tettamanti kronos...@gmail.com
Date: 2009-05-16 16:28 (1 days old)
References  : http://marc.info/?l=linux-kernelm=124249133701702w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13328
Subject : b44: eth0: BUG! Timeout waiting for bit 0002 of register 
42c to clear.
Submitter   : Francis Moreau francis.m...@gmail.com
Date: 2009-05-03 16:22 (14 days old)
References  : http://marc.info/?l=linux-kernelm=124136778012280w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13327
Subject : Regression: 2.6.30-rc5 and rt2x00 / rt2500pci
Submitter   : Ken Lewis kennyle...@gmail.com
Date: 2009-05-15 14:40 (2 days old)
References  : http://marc.info/?l=linux-kernelm=124239988223614w=4
Handled-By  : John W. Linville linvi...@tuxdriver.com


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13326
Subject : Null pointer dereference in rtc-cmos driver
Submitter   : Ozan Çağlayan o...@pardus.org.tr
Date: 2009-05-14 16:16 (3 days old)
References  : http://marc.info/?l=linux-kernelm=124231783704696w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13325
Subject : 2.6.30-rc kills my box hard - and lockdep chains
Submitter   : Jonathan Corbet cor...@lwn.net
Date: 2009-05-14 15:49 (3 days old)
References  : http://marc.info/?l=linux-kernelm=124231630701394w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13324
Subject : panic when loading oprofile
Submitter   : Brandeburg, Jesse jesse.brandeb...@intel.com
Date: 2009-05-13 22:30 (4 days old)
References  : http://marc.info/?l=linux-kernelm=124225384311631w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13323
Subject : 2.6.30-rc deadline scheduler performance regression for 
iozone over NFS
Submitter   : Jeff Moyer jmo...@redhat.com
Date: 2009-04-23 14:01 (24 days old)
References  : http://marc.info/?l=linux-kernelm=124049547915450w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13321
Subject : kernel crash with NULL pointer when boot
Submitter   : Martin Bammer mr...@gmx.at
Date: 2009-05-16 12:37 (1 days old)
References  : http://lkml.org/lkml/2009/5/16/100


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13319
Subject : Page allocation failures with b43 and p54usb
Submitter   : Larry Finger larry.fin...@lwfinger.net
Date: 2009-04-29 21:01 (18 days old)
References  : http://marc.info/?l=linux-kernelm=124103897101088w=4
Handled-By  : Johannes Berg johan...@sipsolutions.net


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13318
Subject : AGP doesn't work anymore on nforce2
Submitter   : Karsten Mehrhoff kaw...@gmx.de
Date: 2009-04-30 8:51 (17 days old)
First-Bad-Commit: 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=59de2bebabc5027f93df999d59cc65df591c3e6e
References  : http://marc.info/?l=linux-kernelm=124108156417560w=4
Handled-By  : Shaohua Li shaohua...@intel.com


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13306
Subject : hibernate slow on _second_ run
Submitter   : Johannes Berg johan...@sipsolutions.net
Date: 2009-05-14 09:34 (3 days old)


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13298
Subject : modprobe ipmi_si hangs under 2.6.30-rc5
Submitter   : Ferenc Wagner wf...@niif.hu
Date: 2009-05-12 21:28 (5 days old)
References  : http://marc.info/?l=linux-kernelm=124216379407177w=4


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=13297
Subject : kernel panic -  not syncing : fatel exception in interupt
Submitter   : rob r...@housetosell.net
Date: 2009-05-12 19:34 (5 days old)
References  : http://marc.info/?l=linux-kernelm=124216126903309w=4


Bug-Entry  

[Bug #12765] i915 VT switch with AIGLX causes X lock up

2009-05-17 Thread Rafael J. Wysocki
This message has been generated automatically as a part of a report
of regressions introduced between 2.6.28 and 2.6.29.

The following bug entry is on the current list of known regressions
introduced between 2.6.28 and 2.6.29.  Please verify if it still should
be listed and let me know (either way).


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=12765
Subject : i915 VT switch with AIGLX causes X lock up
Submitter   : Sitsofe Wheeler sits...@yahoo.com
Date: 2009-02-21 15:38 (85 days old)
First-Bad-Commit: 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=14d200c5e5bd19219d930bbb9a5a22758c8f5bec
References  : http://marc.info/?l=linux-kernelm=123523074304955w=4
  http://lkml.org/lkml/2009/4/27/317
Handled-By  : Jesse Barnes jbar...@virtuousgeek.org
Patch   : http://patchwork.kernel.org/patch/20197/



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Linux-fbdev-devel] [Bugme-new] [Bug 13285] New: INTELFB: Colors display incorrectly

2009-05-17 Thread Krzysztof Helt
On Sat, 16 May 2009 23:19:32 -0700
Andrew Morton a...@linux-foundation.org wrote:

 On Sun, 17 May 2009 08:17:43 +0200 Krzysztof Helt krzysztof...@poczta.fm 
 wrote:
 
  This is not a regression. I have reproduced it in the 2.6.28 easily.
 
 hm, Dean's original report had
 
 This does not occur in kernel 2.6.29 -- I can see the Tasmanian
 devil in a penguin mask (Tuz) just fine and can view images, etc on
 the framebuffer.
 

I can confirm that Tuz is also broken on my laptop (kernel v2.6.29).
Maybe Dean had set different color depth (vga= parameter) for the older 
kernel?

The dmesg output for the 2.6.29 would clear any doubts.

Regards,
Krzysztof

--
Dzwonki na komorkê!
Sprawdz  http://link.interia.pl/f2161


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Linux-fbdev-devel] [Bugme-new] [Bug 13285] New: INTELFB: Colors display incorrectly

2009-05-17 Thread Michal Suchanek
2009/5/17 Krzysztof Helt krzysztof...@poczta.fm:
 On Sat, 16 May 2009 23:19:32 -0700
 Andrew Morton a...@linux-foundation.org wrote:

 On Sun, 17 May 2009 08:17:43 +0200 Krzysztof Helt krzysztof...@poczta.fm 
 wrote:

  This is not a regression. I have reproduced it in the 2.6.28 easily.

 hm, Dean's original report had

     This does not occur in kernel 2.6.29 -- I can see the Tasmanian
     devil in a penguin mask (Tuz) just fine and can view images, etc on
     the framebuffer.


 I can confirm that Tuz is also broken on my laptop (kernel v2.6.29).
 Maybe Dean had set different color depth (vga= parameter) for the older 
 kernel?

 The dmesg output for the 2.6.29 would clear any doubts.


For me this is broken ever since 2.6.26 on a Mac Mini with all of
efifb/intelfb/vesafb but perhaps this is a different issue.

I will try to rebuild 2.6.29 with intelfb and the patch to see if that
makes a difference.

Currently efifb does give correct geometry but wrong colours for me,
the other framebuffers would also produce picture with wrong geometry
with 2.6.26.

Thanks

Michal

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug #12947] r128: system hangs when X is started with DRI enabled

2009-05-17 Thread Rafael J. Wysocki
This message has been generated automatically as a part of a report
of regressions introduced between 2.6.28 and 2.6.29.

The following bug entry is on the current list of known regressions
introduced between 2.6.28 and 2.6.29.  Please verify if it still should
be listed and let me know (either way).


Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=12947
Subject : r128: system hangs when X is started with DRI enabled
Submitter   : Jos van der Ende ser...@xs4all.nl
Date: 2009-03-26 16:14 (52 days old)



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: PROBLEM: 2.6.29.2 - AGP doesn't work anymore on my nforce2

2009-05-17 Thread Shaohua Li
On Sun, May 17, 2009 at 07:44:20AM +0800, Andrew Morton wrote:
 On Mon, 04 May 2009 18:40:52 +0200 Michel D__nzer mic...@daenzer.net wrote:
 
  On Mon, 2009-05-04 at 18:23 +0200, Karsten Mehrhoff wrote:
   On Mon, 04 May 2009 17:07:40 +0200, Michel D__nzer wrote:
On Mon, 2009-05-04 at 08:31 +0200, Karsten Mehrhoff wrote:
On Mon, 04 May 2009 03:41:51 +0200, Shaohua Li wrote:
On Fri, May 01, 2009 at 09:22:19PM +0800, kaw...@gmx.de wrote:
On Thu, 2009-04-30 at 17:59 -0700, Andrew Morton wrote:
On Thu, 30 Apr 2009 10:51:47 +0200
Karsten Mehrhoff wrote:
   
[1.]
PROBLEM: No more agp card functionality with the patch 2.6.29.2 of
'a/drivers/char/agp/generic.c'
   
[2.]
I compiled the kernel 2.6.29.2 with my .config of 2.6.29.1 and run
into problems with the speed of my ATI RADEON 9600 (rv350)
   
   
   
Is your problem speed issue ? ie just a slowdown ? Or does AGP stop
working with this patch ? Slowdown is expected from this patch but
it should hurt too much.
   
   
   2.6.29.1  | 2.6.29.2
  |  
glxgears ~ 2900 FPS  |  ~ 75 FPS
glxgears -fullscreen ~  500 FPS  |  ~ 11 FPS
Does this patch alone give so huge slowdown? From my little knowledge,
xserver
does agp pages allocation only at startup.
   
I only reverted this patch in the source file  
(/drivers/char/agp/generic.c) and got back my old speed on 2.6.29.2.
   
Is the DRI enabled in both cases? Compare the Xorg.0.log file and the
output of
   
dmesg|grep -e agp -e drm
   
   
   
   *
   2.6.29.2 (original) 
   *
   
   $ dmesg|grep -e agp -e drm
   $ dmesg|grep agp
   [0.861997] Linux agpgart interface v0.103
   [   10.893793] agpgart: Detected NVIDIA nForce2 chipset
   [   10.939070] agpgart-nvidia :00:00.0: AGP aperture is 64M @ 
   0xe000
  
  No drm lines?
  
  
   $ glxinfo | grep direct
   direct rendering: Yes
  
  This is not a sufficient test anymore since swrast_dri.so is direct
  rendering but not hardware accelerated. Something like
  
  glxinfo|grep render
  
  can be used to verify both direct rendering and hardware acceleration
  (the latter but not the former is also possible with AIGLX).
  
  
   (EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
  
  [...]
  
   For me it seems that agp failed to initialize because of the patch.
  
  Indeed.
  
 
 Guys, can we rev this up again please?
 
 AFAICT we have two problems and at least one of them is in 2.6.29.x and
 is presumably headed into 2.6.30 as well.
the slowdown Karsten saw is because dri is disabled. I can't image why zero
page will cause such issue. please double check if this is really caused by
59de2bebabc5027f93df999d59cc65df591c3e6e.

Thanks,
Shaohua

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: 2.6.30-rc6: Reported regressions from 2.6.29

2009-05-17 Thread Alex Bennee
2009/5/16 Rafael J. Wysocki r...@sisk.pl:
 This message contains a list of some regressions from 2.6.29, for which there
 are no fixes in the mainline I know of.  If any of them have been fixed 
 already,
 please let me know.

 If you know of any other unresolved regressions from 2.6.29, please let me 
 know
 either and I'll add them to the list.  Also, please let me know if any of the
 entries below are invalid.

 Each entry from the list will be sent additionally in an automatic reply to
 this message with CCs to the people involved in reporting and handling the
 issue.

 Bug-Entry       : http://bugzilla.kernel.org/show_bug.cgi?id=13171
 Subject         : 2.6.30-rc2 + xorg-intel-2.7.0 + DRM_I915_KMS = corruption
 Submitter       : Alex Bennee kernel-hac...@bennee.com
 Date            : 2009-04-19 6:27 (28 days old)
 References      : http://marc.info/?l=linux-kernelm=124022460014812w=4

All the main details on this are on the freedesktop bugzilla[1]. I can
confirm it's still a problem and I've been tracking the intel-next
tree for testing.

Fundamentally the problem is that X can't allocate any memory when KMS
is enabled on my chipset. Without knowing how memory should be
allocated from the kernel by the X driver I haven't been able to look
into it deeper. I've had some feedback from the intel guys but nothing
recently.

As always I stand ready to run tests and/or provide additional
diagnostics if required.


[1] https://bugs.freedesktop.org/show_bug.cgi?id=21480

-- 
Alex, homepage: http://www.bennee.com/~alex/
CV: http://www.bennee.com/~alex/cv.php

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Intel-gfx] [RFC] [Patch] [DRM] :Separate several DRM debug levels

2009-05-17 Thread yakui_zhao
On Fri, 2009-05-15 at 17:21 +0800, Dave Airlie wrote:
  Now all the DRM debug info will be printed if the boot option of
  drm.debug=1 is added. Sometimes it is inconvenient. We will get too much
  unrelated info.
 
  This will separate several DRM debug levels and the debug level can be used
  to print the different debug info. And the debug level is controlled by the
  module parameter of drm.debug
 In this patch it is divided into four debug levels;
 drm_core, drm_driver, drm_kms, drm_mode.
 
  At the same time four debug macro definitions are provided.
 DRM_DEBUG(fmt, args...)
 DRM_DEBUG_DRIVER(prefix, fmt, args...)
 DRM_DEBUG_KMS(prefix, fmt, args...)
 DRM_DEBUG_MODE(prefix, fmt, args...)
 
  When the boot option of drm.debug=1 is added, it will print the debug info
  using DRM_DEBUG. This is to be compatible with
  When the boot option of drm.debug=4 is added, it will print the debug info
  using DRM_DEBUG_KMS macro definition.
  When the boot option of drm.debug=6 is added, it will print the debug info
  using DRM_DEBUG_KMS and DRM_DEBUG_DRIVE.
 
  When the DRM_DEBUG is used, the default prefix is drm.
  When the DRM_DEBUG_DRIVER/KMS/MODE is used, we can use the different prefix.
  For example: When DRM_DEBUG_KMS is used in the 
  drivers/gpu/drm/i915/intel_lvds.c,
  we can use the i915_lvds as the prefix.
 
 
 I'm just wondering if we can leverage the kernel debug printing stuff
 for all this, I like the idea of what
 you are trying to do alright, its crazy trying to debug using the
 current single path.
It will be helpful to get some the debug info in KMS mode as what we have done 
in UMS mode.
For example: the SDVO command, the initialization of output device.

In UMS mode the debug info is logged into the log file.
In KMS mode we have to print the debug info in kernel space and get it
in user space. To do so, we have two ways.
One is to use the printk and separate the different DRM debug levels.
Another is to allocate a buffer in kernel, which is used to record the
info related with KMS. But this will be more complex and we will have to
create an I/F to read the info in user space.

 I'm on holidays so can't review too much, but I'd like to see people
 discuss the kernel debug printing
 system and also the split between debug categories.
 
 Dave.
 
 
  Signed-off-by: Zhao Yakui yakui.z...@intel.com
  ---
   drivers/gpu/drm/drm_stub.c |   14 ++
   include/drm/drmP.h |   36 +++-
   2 files changed, 45 insertions(+), 5 deletions(-)
 
  Index: linux-2.6/drivers/gpu/drm/drm_stub.c
  ===
  --- linux-2.6.orig/drivers/gpu/drm/drm_stub.c   2009-05-15 
  13:53:06.0 +0800
  +++ linux-2.6/drivers/gpu/drm/drm_stub.c2009-05-15 
  13:56:07.0 +0800
  @@ -51,7 +51,21 @@
   struct class *drm_class;
   struct proc_dir_entry *drm_proc_root;
   struct dentry *drm_debugfs_root;
  +void drm_ut_debug_printk(unsigned int request_level,
  +const char *prefix,
  +const char *function_name,
  +const char *format, ...)
  +{
  +   va_list args;
 
  +   if (drm_debug  request_level) {
  +   printk(KERN_DEBUG [%s:%s] ,, prefix, function_name);
  +   va_start(args, format);
  +   printk(format, args);
  +   va_end(args);
  +   }
  +}
  +EXPORT_SYMBOL(drm_ut_debug_printk);
   static int drm_minor_get_id(struct drm_device *dev, int type)
   {
 int new_id;
  Index: linux-2.6/include/drm/drmP.h
  ===
  --- linux-2.6.orig/include/drm/drmP.h   2009-04-16 16:10:40.0 +0800
  +++ linux-2.6/include/drm/drmP.h2009-05-15 14:40:02.0 +0800
  @@ -87,6 +87,15 @@
   #include drm_os_linux.h
   #include drm_hashtab.h
 
  +#define DRM_UT_CORE0x01
  +#define DRM_UT_DRIVER  0x02
  +#define DRM_UT_KMS 0x04
  +#define DRM_UT_MODE0x08
  +
  +extern void drm_ut_debug_printk(unsigned int request_level,
  +   const char *prefix,
  +   const char *function_name,
  +   const char *format, ...);
   /***/
   /** \name DRM template customization defaults */
   /*...@{*/
  @@ -186,14 +195,31 @@
   * \param arg arguments
   */
   #if DRM_DEBUG_CODE
  -#define DRM_DEBUG(fmt, arg...) \
  +#define DRM_DEBUG(fmt, args...)
  \
 do {\
  -   if ( drm_debug )\
  -   printk(KERN_DEBUG   \
  -  [ DRM_NAME