[PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-30 Thread Ilija Hadzic
copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense v2: use RADEON_GPU_PAGE_SIZE instead of "magic" 1024 number and sweep sizes between 1x to 16x doubling the size in each iteration; we get the same coverage, as in

[PATCH] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-30 Thread Ilija Hadzic
copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense Signed-off-by: Ilija Hadzic --- drivers/gpu/drm/radeon/radeon_benchmark.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[Bug 36782] textures on Earth in Celestia contain pixels from other windows

2012-01-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36782 --- Comment #4 from Alex Deucher 2012-01-30 14:08:23 PST --- Can you bisect r600g? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the

[Bug 36782] textures on Earth in Celestia contain pixels from other windows

2012-01-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36782 --- Comment #3 from aceman 2012-01-30 14:03:21 PST --- It was quite good in 7.11 with R600g. But it is back with even worse effects on a nightly version before 8. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[PATCH] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-30 Thread Ilija Hadzic
scratch this one, I've just thought of a better one (coming in a few minutes) On Mon, 30 Jan 2012, Ilija Hadzic wrote: > copy_blit operation works only on integral number of pages > so benchmarks shorter than one page size (4K) do not make sense > > Signed-off-by: Ilija Hadzic > --- >

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 10:34:03 +0100 Michel D?nzer wrote: > On Son, 2012-01-29 at 23:27 +0100, acrux wrote: > > hi all, > > i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL > > V5600 on my YDL Powerstation and i'm obliged to use the old > > OpenFirmware fb. > > > > That's

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 16:10:03 +0100 Andreas Schwab wrote: > Michel D?nzer writes: > > > On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: > >> hi Michel, > >> thanks for your help but i'm unable to disable VGA_ARB 'cause it's > >> automatically enabled. > >> Can you suggest me a way to disable

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Andreas Schwab
Michel D?nzer writes: > On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: >> hi Michel, >> thanks for your help but i'm unable to disable VGA_ARB 'cause it's >> automatically enabled. >> Can you suggest me a way to disable it? >> Here my kernel config: http://cruxppc.org/~acrux/config-kms > >

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Michel Dänzer
On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: > On Mon, 30 Jan 2012 10:34:03 +0100 > Michel D?nzer wrote: > > On Son, 2012-01-29 at 23:27 +0100, acrux wrote: > > > hi all, > > > i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL > > > V5600 on my YDL Powerstation and i'm

[Bug 28426] hardware cursor corruption with radeon+kms

2012-01-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28426 --- Comment #16 from Michel D?nzer 2012-01-30 07:41:01 PST --- (In reply to comment #14) > It happens randomly and usualy goes away after a while. Given that this bug really seems fixed for others, and comment #7 says only a reboot helped,

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 08:58:28 -0500 Alex Deucher wrote: _omissis__ > > > > hi Michel, > > thanks for your help but i'm unable to disable VGA_ARB 'cause it's > > automatically enabled. > > Can you suggest me a way to disable it? > > Here my kernel config: http://cruxppc.org/~acrux/config-kms > >

[PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-30 Thread Jeremy Huddleston
This fixes a failure in 'make check' found by the tinderbox when trying to build this code on Linux/ppc. This code is only designed to run on Intel platforms, so don't even bother building it if we're not in that set. Found-by: Tinderbox Signed-off-by: Jeremy Huddleston --- It now causes the

DRI Support for Savage4

2012-01-30 Thread Elvis L.
Hello first of all, please excuse my possibly bad english. Im German. I wanted to install DRI-supported drivers for my Savage4 graphic-chip (Acer Aspire 1310XC Laptop). I found some in http://dri.freedesktop.org/snapshots/ and read, that I have to "./install" the common package first, after

[PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-30 Thread Laurent Pinchart
Hi Sumit, On Friday 27 January 2012 10:43:28 Sumit Semwal wrote: > Some exporters may use DMA map/unmap APIs in dma-buf ops, which require > enum dma_data_direction for both map and unmap operations. > > Thus, the unmap dma_buf_op also needs to have enum dma_data_direction as > a parameter. > >

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 10:34:03 +0100 Michel D?nzer wrote: > On Son, 2012-01-29 at 23:27 +0100, acrux wrote: > > hi all, > > i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL > > V5600 on my YDL Powerstation and i'm obliged to use the old > > OpenFirmware fb. > > > > That's

[Bug 38010] DVI output not working with radeon on RV610

2012-01-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38010 --- Comment #6 from darkbasic 2012-01-30 05:45:43 PST --- Sorry, I completely forgot about this bug! I will check this evening or tomorrow. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving

DRI Support for Savage4

2012-01-30 Thread Adam Jackson
On 1/30/12 9:24 AM, Elvis L. wrote: > Hello > > first of all, please excuse my possibly bad english. Im German. > > I wanted to install DRI-supported drivers for my Savage4 graphic-chip > (Acer Aspire 1310XC Laptop). I found some in > http://dri.freedesktop.org/snapshots/ and read, that I have to

[PATCH] drivers/gpu/drm/drm_ioc32.c: initialize all fields

2012-01-30 Thread Julia Lawall
From: Julia Lawall The c32 structure is allocated on the stack and its idx field is not initialized before copying it to user level. This patch takes the value from the result of the ioctl, as done for the other fields. Signed-off-by: Julia Lawall --- An alternative

[PATCH] initialize all fields

2012-01-30 Thread Julia Lawall
This patch fixes a case where a structure field is not initialized before the structureis copied to user level. The semantic match that finds this problem is as follows (http://coccinelle.lip6.fr/). It uses other references to the same structure in the current file to find the set of fields that

[PATCH -next] vgaarb.h: fix build warnings

2012-01-30 Thread Randy Dunlap
inside parameter list include/linux/vgaarb.h:140:37: warning: 'struct pci_dev' declared inside parameter list Signed-off-by: Randy Dunlap Cc: David Airlie Cc: dri-devel at lists.freedesktop.org --- include/linux/vgaarb.h |2 ++ 1 file changed, 2 insertions(+) --- linux-next-20120130.orig/i

question about drivers/gpu/drm/drm_ioc32.c

2012-01-30 Thread Julia Lawall
On Mon, 30 Jan 2012, Dave Airlie wrote: > On Sat, Jan 28, 2012 at 7:28 PM, Julia Lawall wrote: >> In the function compat_drm_getclient, I have the impression that the >> structure c32 is copied to user level with the field idx uninitialized? > > Looks like it alright, > > care to send a patch?

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Michel Dänzer
On Son, 2012-01-29 at 23:27 +0100, acrux wrote: > hi all, > i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL > V5600 on my YDL Powerstation and i'm obliged to use the old > OpenFirmware fb. > > That's from my dmesg [1]: > > [...] > vgaarb: device added:

question about drivers/gpu/drm/drm_ioc32.c

2012-01-30 Thread Dave Airlie
On Sat, Jan 28, 2012 at 7:28 PM, Julia Lawall wrote: > In the function compat_drm_getclient, I have the impression that the > structure c32 is copied to user level with the field idx uninitialized? Looks like it alright, care to send a patch? Dave.

[git pull] drm fixes

2012-01-30 Thread Dave Airlie
Hi Linus, just some misc fixes that built up over the weekend, nothing too major or serious, one revert from Daniel after testing -rc1 on old hw. Dave. The following changes since commit 0a9626575400879d1d5e6bc8768188b938d7c501: Merge tag 'driver-core-3.3-rc1-bugfixes' of

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Alex Deucher
2012/1/30 acrux : > On Mon, 30 Jan 2012 10:34:03 +0100 > Michel D?nzer wrote: > >> On Son, 2012-01-29 at 23:27 +0100, acrux wrote: >> > hi all, >> > i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL >> > V5600 on my YDL Powerstation and i'm obliged to use the old >> >

libdrm fails 'make check' in tinderbox (was Re: [ANNOUNCE] libdrm 2.4.30)

2012-01-30 Thread Eric Anholt
GPUs only exist on Intel CPUs (or bridge chipsets). -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120130/9dca2722/attachment.pgp>

[Bug 38010] DVI output not working with radeon on RV610

2012-01-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38010 --- Comment #5 from Rafa? Mi?ecki 2012-01-30 00:22:39 PST --- darkbasic: I've request to you, could you try switching to some updated kernel and trying radeon.audio=1 option in GRUB? In case of 3.0, please use 3.0.18 or newer. In case of 3.1,

question about drivers/gpu/drm/drm_ioc32.c

2012-01-30 Thread devendra.aaru
On Mon, Jan 30, 2012 at 5:28 AM, Julia Lawall wrote: > On Mon, 30 Jan 2012, Dave Airlie wrote: > >> On Sat, Jan 28, 2012 at 7:28 PM, Julia Lawall >> wrote: >>> >>> In the function compat_drm_getclient, I have the impression that the >>> structure c32 is copied to user level with the field idx

[Bug 38010] DVI output not working with radeon on RV610

2012-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38010 --- Comment #5 from Rafał Miłecki zaj...@gmail.com 2012-01-30 00:22:39 PST --- darkbasic: I've request to you, could you try switching to some updated kernel and trying radeon.audio=1 option in GRUB? In case of 3.0, please use 3.0.18 or newer.

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Michel Dänzer
On Son, 2012-01-29 at 23:27 +0100, acrux wrote: hi all, i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb. That's from my dmesg [1]: [...] vgaarb: device added:

[git pull] drm fixes

2012-01-30 Thread Dave Airlie
Hi Linus, just some misc fixes that built up over the weekend, nothing too major or serious, one revert from Daniel after testing -rc1 on old hw. Dave. The following changes since commit 0a9626575400879d1d5e6bc8768188b938d7c501: Merge tag 'driver-core-3.3-rc1-bugfixes' of

Re: question about drivers/gpu/drm/drm_ioc32.c

2012-01-30 Thread Dave Airlie
On Sat, Jan 28, 2012 at 7:28 PM, Julia Lawall julia.law...@lip6.fr wrote: In the function compat_drm_getclient, I have the impression that the structure c32 is copied to user level with the field idx uninitialized? Looks like it alright, care to send a patch? Dave.

Re: question about drivers/gpu/drm/drm_ioc32.c

2012-01-30 Thread Julia Lawall
On Mon, 30 Jan 2012, Dave Airlie wrote: On Sat, Jan 28, 2012 at 7:28 PM, Julia Lawall julia.law...@lip6.fr wrote: In the function compat_drm_getclient, I have the impression that the structure c32 is copied to user level with the field idx uninitialized? Looks like it alright, care to send

[PATCH] initialize all fields

2012-01-30 Thread Julia Lawall
This patch fixes a case where a structure field is not initialized before the structureis copied to user level. The semantic match that finds this problem is as follows (http://coccinelle.lip6.fr/). It uses other references to the same structure in the current file to find the set of fields that

Re: question about drivers/gpu/drm/drm_ioc32.c

2012-01-30 Thread devendra.aaru
On Mon, Jan 30, 2012 at 5:28 AM, Julia Lawall julia.law...@lip6.fr wrote: On Mon, 30 Jan 2012, Dave Airlie wrote: On Sat, Jan 28, 2012 at 7:28 PM, Julia Lawall julia.law...@lip6.fr wrote: In the function compat_drm_getclient, I have the impression that the structure c32 is copied to user

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer mic...@daenzer.net wrote: On Son, 2012-01-29 at 23:27 +0100, acrux wrote: hi all, i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

[Bug 38010] DVI output not working with radeon on RV610

2012-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38010 --- Comment #6 from darkbasic darkba...@linuxsystems.it 2012-01-30 05:45:43 PST --- Sorry, I completely forgot about this bug! I will check this evening or tomorrow. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Alex Deucher
2012/1/30 acrux acrux...@libero.it: On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer mic...@daenzer.net wrote: On Son, 2012-01-29 at 23:27 +0100, acrux wrote: hi all, i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to

Re: [PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-30 Thread Laurent Pinchart
Hi Sumit, On Friday 27 January 2012 10:43:28 Sumit Semwal wrote: Some exporters may use DMA map/unmap APIs in dma-buf ops, which require enum dma_data_direction for both map and unmap operations. Thus, the unmap dma_buf_op also needs to have enum dma_data_direction as a parameter.

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 08:58:28 -0500 Alex Deucher alexdeuc...@gmail.com wrote: _omissis__ hi Michel, thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it? Here my kernel config:

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Michel Dänzer
On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer mic...@daenzer.net wrote: On Son, 2012-01-29 at 23:27 +0100, acrux wrote: hi all, i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread Andreas Schwab
Michel Dänzer mic...@daenzer.net writes: On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: hi Michel, thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it? Here my kernel config: http://cruxppc.org/~acrux/config-kms

[Bug 28426] hardware cursor corruption with radeon+kms

2012-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28426 --- Comment #16 from Michel Dänzer mic...@daenzer.net 2012-01-30 07:41:01 PST --- (In reply to comment #14) It happens randomly and usualy goes away after a while. Given that this bug really seems fixed for others, and comment #7 says only a

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer mic...@daenzer.net wrote: On Son, 2012-01-29 at 23:27 +0100, acrux wrote: hi all, i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

2012-01-30 Thread acrux
On Mon, 30 Jan 2012 16:10:03 +0100 Andreas Schwab sch...@linux-m68k.org wrote: Michel Dänzer mic...@daenzer.net writes: On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: hi Michel, thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you

Re: libdrm fails 'make check' in tinderbox (was Re: [ANNOUNCE] libdrm 2.4.30)

2012-01-30 Thread Eric Anholt
On Sat, 28 Jan 2012 19:30:39 -0800, Jeremy Huddleston jerem...@freedesktop.org wrote: Maybe I'm missing something here... Shouldn't I be able to build and test support for Intel even if I've got an nVidia card in my box now? Or is this support for Intel CPUs rather than Intel GPUs? Intel

DRI Support for Savage4

2012-01-30 Thread Elvis L.
Hello first of all, please excuse my possibly bad english. Im German. I wanted to install DRI-supported drivers for my Savage4 graphic-chip (Acer Aspire 1310XC Laptop). I found some in http://dri.freedesktop.org/snapshots/ and read, that I have to ./install the common package first, after

Re: DRI Support for Savage4

2012-01-30 Thread Adam Jackson
On 1/30/12 9:24 AM, Elvis L. wrote: Hello first of all, please excuse my possibly bad english. Im German. I wanted to install DRI-supported drivers for my Savage4 graphic-chip (Acer Aspire 1310XC Laptop). I found some in http://dri.freedesktop.org/snapshots/ and read, that I have to ./install

[PATCH -next] vgaarb.h: fix build warnings

2012-01-30 Thread Randy Dunlap
(+) --- linux-next-20120130.orig/include/linux/vgaarb.h +++ linux-next-20120130/include/linux/vgaarb.h @@ -47,6 +47,8 @@ */ #define VGA_DEFAULT_DEVICE (NULL) +struct pci_dev; + /* For use by clients */ /** ___ dri-devel mailing list dri-devel

[Bug 36782] textures on Earth in Celestia contain pixels from other windows

2012-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36782 --- Comment #3 from aceman aceli...@atlas.sk 2012-01-30 14:03:21 PST --- It was quite good in 7.11 with R600g. But it is back with even worse effects on a nightly version before 8. -- Configure bugmail:

[Bug 36782] textures on Earth in Celestia contain pixels from other windows

2012-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36782 --- Comment #4 from Alex Deucher ag...@yahoo.com 2012-01-30 14:08:23 PST --- Can you bisect r600g? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the

[PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-30 Thread Jeremy Huddleston
This fixes a failure in 'make check' found by the tinderbox when trying to build this code on Linux/ppc. This code is only designed to run on Intel platforms, so don't even bother building it if we're not in that set. Found-by: Tinderbox Signed-off-by: Jeremy Huddleston jerem...@apple.com ---

[PATCH] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-30 Thread Ilija Hadzic
copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense Signed-off-by: Ilija Hadzic ihad...@research.bell-labs.com --- drivers/gpu/drm/radeon/radeon_benchmark.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-30 Thread Ilija Hadzic
scratch this one, I've just thought of a better one (coming in a few minutes) On Mon, 30 Jan 2012, Ilija Hadzic wrote: copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense Signed-off-by: Ilija Hadzic

[PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-30 Thread Ilija Hadzic
copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense v2: use RADEON_GPU_PAGE_SIZE instead of magic 1024 number and sweep sizes between 1xpage_size to 16xpage_size doubling the size in each iteration; we get the same

Re: [PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-30 Thread Semwal, Sumit
Hi Laurent, On Jan 30, 2012 7:48 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Sumit, On Friday 27 January 2012 10:43:28 Sumit Semwal wrote: Some exporters may use DMA map/unmap APIs in dma-buf ops, which require enum dma_data_direction for both map and unmap