[Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41740 Summary: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW

Power profiles low and mid are identical on Radeon HD6470M

2011-10-12 Thread Wolfgang Fritz
Am 11.10.2011 23:53, schrieb Alex Deucher: > On Sat, Oct 8, 2011 at 2:25 PM, Wolfgang Fritz > wrote: >> Hello, >> >> I have an HP Elitebook 8560p with Radeon HD7470M graphics, running Debian >> sid with kernel 3.0.4. >> >> I noticed that the power profiles low and mid are setting identical

[PATCH 3/3] drm/radeon/kms/DCE4.1: fix Select_CrtcSource EncodeMode setting for DP bridges (v2)

2011-10-12 Thread alexdeuc...@gmail.com
From: Alex Deucher Settings in this table reflect the physical panel/connector rather than the internal dig encoding. v2: fix typo for DRM_MODE_CONNECTOR_VGA case. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c | 12 +++- 1 files

[PATCH 3/3] drm/radeon/kms/DCE4.1: fix Select_CrtcSource EncodeMode setting for DP bridges

2011-10-12 Thread alexdeuc...@gmail.com
From: Alex Deucher Settings in this table reflect the physical panel/connector rather than the internal dig encoding. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-)

[PATCH 2/3] drm/radeon/kms/DCE4.1: ss is not supported on the internal pplls

2011-10-12 Thread alexdeuc...@gmail.com
From: Alex Deucher It's handled via external clock. It should already be protected by the external ss flag, but add an explicit check just in case. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 1/3] drm/radeon/kms/DCE4.1: fix dig encoder to transmitter mapping

2011-10-12 Thread alexdeuc...@gmail.com
From: Alex Deucher llano has fully routeable dig encoders similar to DCE3.2 while ontario has a hardcoded mapping similar to DCE4.0. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c | 13 + 1 files changed, 9 insertions(+), 4

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Daniel Vetter
On Wed, Oct 12, 2011 at 03:34:54PM +0100, Dave Airlie wrote: > On Wed, Oct 12, 2011 at 3:24 PM, Rob Clark wrote: > > On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie wrote: > >>> But then we'd need a different set of accessors for every different > >>> drm/v4l/etc driver, wouldn't we? > >> > >> Not

[PATCH 19/21] drm/i915: Asynchronous eDP panel power off

2011-10-12 Thread Dave Airlie
> Using the same basic plan as the VDD force delayed power off, make > turning the panel power off asynchronous. NAK, tested on my 2540p, up to this patch in macbook-air branch stuff worked, after this I just get black screen on resume. Dave.

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
On Wed, Oct 12, 2011 at 3:24 PM, Rob Clark wrote: > On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie wrote: >>> But then we'd need a different set of accessors for every different >>> drm/v4l/etc driver, wouldn't we? >> >> Not any more different than you need for this, you just have a new >>

[RFC 2/2] dma-buf: Documentation for buffer sharing framework

2011-10-12 Thread Randy Dunlap
On 10/11/2011 02:23 AM, Sumit Semwal wrote: > Add documentation for dma buffer sharing framework, explaining the > various operations, members and API of the dma buffer sharing > framework. > > Signed-off-by: Sumit Semwal > Signed-off-by: Sumit Semwal > --- > Documentation/dma-buf-sharing.txt

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
> But then we'd need a different set of accessors for every different > drm/v4l/etc driver, wouldn't we? Not any more different than you need for this, you just have a new interface that you request a sw object from, then mmap that object, and underneath it knows who owns it in the kernel. mmap

[PATCH 1/2] drm/radeon: allow pcie gen2 speed on NI

2011-10-12 Thread Dave Airlie
On Wed, Oct 12, 2011 at 2:25 PM, Ilija Hadzic wrote: > > Hi Dave, > > A few weeks ago I sent the two patches that allow PCI Express interface to > run at Gen 2 speed on NI parts. Links to the patches in the mailing list > archive + review from Alex quoted below: > >

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
> > well, the mmap is actually implemented by the buffer allocator > (v4l/drm).. although not sure if this was the point Then why not use the correct interface? doing some sort of not-quite generic interface isn't really helping anyone except adding an ABI that we have to support. If someone

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
On Tue, Oct 11, 2011 at 10:23 AM, Sumit Semwal wrote: > This is the first step in defining a dma buffer sharing mechanism. > > A new buffer object dma_buf is added, with operations and API to allow easy > sharing of this buffer object across devices. > > The framework allows: > - a new

[PATCH 19/21] drm/i915: Asynchronous eDP panel power off

2011-10-12 Thread Keith Packard
m -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111012/ac22efd7/attachment-0001.pgp>

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 9:34 AM, Dave Airlie wrote: > On Wed, Oct 12, 2011 at 3:24 PM, Rob Clark wrote: >> On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie wrote: But then we'd need a different set of accessors for every different drm/v4l/etc driver, wouldn't we? >>> >>> Not any more

[Bug 36003] [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36003 Jeremy Huddleston changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie wrote: >> But then we'd need a different set of accessors for every different >> drm/v4l/etc driver, wouldn't we? > > Not any more different than you need for this, you just have a new > interface that you request a sw object from, > then mmap that

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 8:35 AM, Dave Airlie wrote: >> >> well, the mmap is actually implemented by the buffer allocator >> (v4l/drm).. although not sure if this was the point > > Then why not use the correct interface? doing some sort of not-quite > generic interface isn't really helping anyone

[Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 7:41 AM, Dave Airlie wrote: > On Tue, Oct 11, 2011 at 10:23 AM, Sumit Semwal wrote: >> This is the first step in defining a dma buffer sharing mechanism. >> >> A new buffer object dma_buf is added, with operations and API to allow easy >> sharing of this buffer object

[patch] drm/nva3: checking the wrong variable

2011-10-12 Thread Ben Skeggs
On Tue, 2011-10-11 at 17:34 +0300, Dan Carpenter wrote: > "id" is unsigned here and it's never less than zero. I believe the > intent was to check the return value from nva3_pm_pll_offset(). > Also I've changed it to pass on the -ENOENT error code from the lower > levels instead of returning

[PATCH 1/2] drm/radeon: allow pcie gen2 speed on NI

2011-10-12 Thread Ilija Hadzic
Hi Dave, A few weeks ago I sent the two patches that allow PCI Express interface to run at Gen 2 speed on NI parts. Links to the patches in the mailing list archive + review from Alex quoted below: http://lists.freedesktop.org/archives/dri-devel/2011-September/014474.html

[Bug 41698] [r300g] Flickering user interface in WoW

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41698 --- Comment #1 from Chris Rankin 2011-10-12 03:35:09 PDT --- Reverting this single patch in git (with the exception of the header file that no longer exists, of course) has fixed the flickering problem. So far, anyway. -- Configure bugmail:

[Bug 41668] Screen locks up at random points when using a 3D compositing wm (gnome-shell) on an rv515 (radeon mobility x1300)

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41668 --- Comment #11 from dmotd 2011-10-12 03:24:07 PDT --- (In reply to comment #10) > (In reply to comment #6) > > > > running glxgears just shows an empty black box.. all other glx demos > > > > are the > > > > same empty boxes.. > > > > > >

[Bug 23103] screen not lighting up on resume when using kms

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=23103 Michel D?nzer changed: What|Removed |Added Product|xorg|DRI Version|7.4

[Bug 24097] screen backlight off after resume-from-suspend when using ATI KMS

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=24097 Michel D?nzer changed: What|Removed |Added Product|xorg|DRI Version|7.4

[Bug 36003] [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36003 Michel D?nzer changed: What|Removed |Added Product|xorg|DRI Version|7.6

[Bug 38694] Server freezes with latest commit on 22/06/2011

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38694 Michel D?nzer changed: What|Removed |Added Product|xorg|DRI Version|git

[Bug 41668] Screen locks up at random points when using a 3D compositing wm (gnome-shell) on an rv515 (radeon mobility x1300)

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41668 --- Comment #10 from Michel D?nzer 2011-10-12 03:07:04 PDT --- (In reply to comment #6) > > > running glxgears just shows an empty black box.. all other glx demos are > > > the > > > same empty boxes.. > > > > Do they work with the

[Bug 41579] R300 Segfaults when using mupen64plus

2011-10-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41579 --- Comment #3 from Michel D?nzer 2011-10-12 02:59:21 PDT --- (In reply to comment #2) > Just tested current Git, and it seems to be working. Great. If it's still broken with the current 7.11 branch, and you can isolate the change that fixed

[Bug 41579] R300 Segfaults when using mupen64plus

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41579 --- Comment #3 from Michel Dänzer mic...@daenzer.net 2011-10-12 02:59:21 PDT --- (In reply to comment #2) Just tested current Git, and it seems to be working. Great. If it's still broken with the current 7.11 branch, and you can isolate the

[Bug 41668] Screen locks up at random points when using a 3D compositing wm (gnome-shell) on an rv515 (radeon mobility x1300)

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41668 --- Comment #10 from Michel Dänzer mic...@daenzer.net 2011-10-12 03:07:04 PDT --- (In reply to comment #6) running glxgears just shows an empty black box.. all other glx demos are the same empty boxes.. Do they work with the

[Bug 38694] Server freezes with latest commit on 22/06/2011

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38694 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Product|xorg|DRI

[Bug 36003] [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36003 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Product|xorg|DRI

[Bug 24097] screen backlight off after resume-from-suspend when using ATI KMS

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=24097 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Product|xorg|DRI

[Bug 23103] screen not lighting up on resume when using kms

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23103 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Product|xorg|DRI

[Bug 41668] Screen locks up at random points when using a 3D compositing wm (gnome-shell) on an rv515 (radeon mobility x1300)

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41668 --- Comment #11 from dmotd inaudi...@simplesuperlativ.es 2011-10-12 03:24:07 PDT --- (In reply to comment #10) (In reply to comment #6) running glxgears just shows an empty black box.. all other glx demos are the same empty boxes..

[Bug 41698] [r300g] Flickering user interface in WoW

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41698 --- Comment #1 from Chris Rankin ranki...@googlemail.com 2011-10-12 03:35:09 PDT --- Reverting this single patch in git (with the exception of the header file that no longer exists, of course) has fixed the flickering problem. So far, anyway.

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
On Tue, Oct 11, 2011 at 10:23 AM, Sumit Semwal sumit.sem...@ti.com wrote: This is the first step in defining a dma buffer sharing mechanism. A new buffer object dma_buf is added, with operations and API to allow easy sharing of this buffer object across devices. The framework allows: - a

Re: [PATCH 1/2] drm/radeon: allow pcie gen2 speed on NI

2011-10-12 Thread Ilija Hadzic
Hi Dave, A few weeks ago I sent the two patches that allow PCI Express interface to run at Gen 2 speed on NI parts. Links to the patches in the mailing list archive + review from Alex quoted below: http://lists.freedesktop.org/archives/dri-devel/2011-September/014474.html

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 7:41 AM, Dave Airlie airl...@gmail.com wrote: On Tue, Oct 11, 2011 at 10:23 AM, Sumit Semwal sumit.sem...@ti.com wrote: This is the first step in defining a dma buffer sharing mechanism. A new buffer object dma_buf is added, with operations and API to allow easy

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
well, the mmap is actually implemented by the buffer allocator (v4l/drm).. although not sure if this was the point Then why not use the correct interface? doing some sort of not-quite generic interface isn't really helping anyone except adding an ABI that we have to support. If someone wants

Re: [PATCH 1/2] drm/radeon: allow pcie gen2 speed on NI

2011-10-12 Thread Dave Airlie
On Wed, Oct 12, 2011 at 2:25 PM, Ilija Hadzic ihad...@research.bell-labs.com wrote: Hi Dave, A few weeks ago I sent the two patches that allow PCI Express interface to run at Gen 2 speed on NI parts. Links to the patches in the mailing list archive + review from Alex quoted below:

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 8:35 AM, Dave Airlie airl...@gmail.com wrote: well, the mmap is actually implemented by the buffer allocator (v4l/drm).. although not sure if this was the point Then why not use the correct interface? doing some sort of not-quite generic interface isn't really helping

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
But then we'd need a different set of accessors for every different drm/v4l/etc driver, wouldn't we? Not any more different than you need for this, you just have a new interface that you request a sw object from, then mmap that object, and underneath it knows who owns it in the kernel. mmap

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie airl...@gmail.com wrote: But then we'd need a different set of accessors for every different drm/v4l/etc driver, wouldn't we? Not any more different than you need for this, you just have a new interface that you request a sw object from, then mmap

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Dave Airlie
On Wed, Oct 12, 2011 at 3:24 PM, Rob Clark robdcl...@gmail.com wrote: On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie airl...@gmail.com wrote: But then we'd need a different set of accessors for every different drm/v4l/etc driver, wouldn't we? Not any more different than you need for this, you

Re: [PATCH 19/21] drm/i915: Asynchronous eDP panel power off

2011-10-12 Thread Dave Airlie
Using the same basic plan as the VDD force delayed power off, make turning the panel power off asynchronous. NAK, tested on my 2540p, up to this patch in macbook-air branch stuff worked, after this I just get black screen on resume. Dave. ___

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Daniel Vetter
On Wed, Oct 12, 2011 at 03:34:54PM +0100, Dave Airlie wrote: On Wed, Oct 12, 2011 at 3:24 PM, Rob Clark robdcl...@gmail.com wrote: On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie airl...@gmail.com wrote: But then we'd need a different set of accessors for every different drm/v4l/etc driver,

Re: [Linaro-mm-sig] [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-12 Thread Rob Clark
On Wed, Oct 12, 2011 at 9:34 AM, Dave Airlie airl...@gmail.com wrote: On Wed, Oct 12, 2011 at 3:24 PM, Rob Clark robdcl...@gmail.com wrote: On Wed, Oct 12, 2011 at 9:01 AM, Dave Airlie airl...@gmail.com wrote: But then we'd need a different set of accessors for every different drm/v4l/etc

Re: [PATCH 19/21] drm/i915: Asynchronous eDP panel power off

2011-10-12 Thread Keith Packard
On Wed, 12 Oct 2011 15:41:11 +0100, Dave Airlie airl...@gmail.com wrote: Using the same basic plan as the VDD force delayed power off, make turning the panel power off asynchronous. NAK, tested on my 2540p, up to this patch in macbook-air branch stuff worked, after this I just get black

[Bug 36003] [Radeon HD 5650 and 5470] Driver crash during recovery boot and in normal boot (Regression from 2.6.38-3 to -4)

2011-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36003 Jeremy Huddleston jerem...@freedesktop.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: Power profiles low and mid are identical on Radeon HD6470M

2011-10-12 Thread Wolfgang Fritz
Am 11.10.2011 23:53, schrieb Alex Deucher: On Sat, Oct 8, 2011 at 2:25 PM, Wolfgang Fritzwolfgang.fr...@gmx.net wrote: Hello, I have an HP Elitebook 8560p with Radeon HD7470M graphics, running Debian sid with kernel 3.0.4. I noticed that the power profiles low and mid are setting identical

Re: [RFC 2/2] dma-buf: Documentation for buffer sharing framework

2011-10-12 Thread Randy Dunlap
On 10/11/2011 02:23 AM, Sumit Semwal wrote: Add documentation for dma buffer sharing framework, explaining the various operations, members and API of the dma buffer sharing framework. Signed-off-by: Sumit Semwal sumit.sem...@linaro.org Signed-off-by: Sumit Semwal sumit.sem...@ti.com ---

[PATCH 1/3] drm/radeon/kms/DCE4.1: fix dig encoder to transmitter mapping

2011-10-12 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com llano has fully routeable dig encoders similar to DCE3.2 while ontario has a hardcoded mapping similar to DCE4.0. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/radeon_encoders.c | 13 + 1 files

[PATCH 2/3] drm/radeon/kms/DCE4.1: ss is not supported on the internal pplls

2011-10-12 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com It's handled via external clock. It should already be protected by the external ss flag, but add an explicit check just in case. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/atombios_crtc.c |2 +- 1 files

[PATCH 3/3] drm/radeon/kms/DCE4.1: fix Select_CrtcSource EncodeMode setting for DP bridges

2011-10-12 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Settings in this table reflect the physical panel/connector rather than the internal dig encoding. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/radeon_encoders.c | 12 +++- 1 files changed, 11

[PATCH 3/3] drm/radeon/kms/DCE4.1: fix Select_CrtcSource EncodeMode setting for DP bridges (v2)

2011-10-12 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Settings in this table reflect the physical panel/connector rather than the internal dig encoding. v2: fix typo for DRM_MODE_CONNECTOR_VGA case. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/radeon_encoders.c |

drm/radeon/kms: improve performance of blit-copy

2011-10-12 Thread Ilija Hadzic
The following set of patches will improve the performance of blit-copy functions for Radeon GPUs based on R600, R700, Evergreen and NI ASICs. The foundation for improvement is the use of tiled mode access (which for copying bo's can be used regardless of whether the content is tiled or not),

[PATCH 1/9] drm/radeon/kms: improve evergreen blit code

2011-10-12 Thread Ilija Hadzic
start with first-cut conceptual patch from Alex Deucher (commit info below); turn on 1D tiling make rectangular buffer always 2:1 or 1:2 ratio make buffer dimenstions an integer multiple of unit dimensions make sures that integral number of pages map to the buffer fix a few bugs that resulted in

[PATCH 2/9] drm/radeon/kms: improve r6xx blit code

2011-10-12 Thread Ilija Hadzic
start with first-cut conceptual patch from Alex Deucher (commit info below); turn on 1D tiling make rectangular buffer always 2:1 or 1:2 ratio make buffer dimenstions an integer multiple of unit dimensionsmake sures that integral number of pages map to the buffer fix a few bugs that resulted in

[PATCH 3/9] drm/radeon/kms: demystify evergreen blit code

2011-10-12 Thread Ilija Hadzic
some bits in 3D registers used by blit functions look like magic and this is hard to follow; change them to a little bit more meaningful pre-defined constants Signed-off-by: Ilija Hadzic ihad...@research.bell-labs.com --- drivers/gpu/drm/radeon/evergreen_blit_kms.c | 29 +--

[PATCH 4/9] drm/radeon/kms: demystify r600 blit code

2011-10-12 Thread Ilija Hadzic
some 3d register bits look like magic in r600 blit functions use predefined constants to make it more intuitive what they are Signed-off-by: Ilija Hadzic ihad...@research.bell-labs.com --- drivers/gpu/drm/radeon/r600_blit_kms.c | 30 +-

[PATCH 5/9] drm/radeon/kms: cleanup benchmark code

2011-10-12 Thread Ilija Hadzic
factor out repeated code into functions fix units in which the throughput is reported (megabytes per second and megabits per second make sense, others are kind of confusing) make report more amenable to awk and friends (e.g. whitespace is always the separator, unit is separated from the number,

[PATCH 6/9] drm/radeon/kms: add more elaborate benchmarks

2011-10-12 Thread Ilija Hadzic
Lots of new (and hopefully useful) benchmark. Load the driver with radeon_benchmark=test_number and enjoy. Among tests added are VRAM to VRAM blits and blits with buffer size sweeps. The latter can be from GTT to VRAM, VRAM to GTT, and VRAM to VRAM and there are two types of sweeps: powers of two

[PATCH 7/9] drm/radeon/kms: cleanup r600 blit code

2011-10-12 Thread Ilija Hadzic
reorganize the code such that only the primitives (i.e., the functions that load the CP ring) are hardware specific; dynamically link the primitives in a (new) pointer structure inside r600_blit at blit initialization time so that the functions that control the blit operations can be made common

[PATCH 8/9] drm/radeon/kms: blit code commoning

2011-10-12 Thread Ilija Hadzic
factor out most of evergreen blit code and use the refactored code from r600 that is now common for both r600 and evergreen Signed-off-by: Ilija Hadzic ihad...@research.bell-labs.com --- drivers/gpu/drm/radeon/evergreen.c | 25 +--- drivers/gpu/drm/radeon/evergreen_blit_kms.c | 260

Re: [RFC 2/2] dma-buf: Documentation for buffer sharing framework

2011-10-12 Thread Semwal, Sumit
Hi Randy, On Thu, Oct 13, 2011 at 4:00 AM, Randy Dunlap rdun...@xenotime.net wrote: On 10/11/2011 02:23 AM, Sumit Semwal wrote: Add documentation for dma buffer sharing framework, explaining the various operations, members and API of the dma buffer sharing framework. Signed-off-by: Sumit