Please add Intel GM45 Chipset in list of hardware which used invert brightness.

2012-06-29 Thread Vladimir Kravets
nding both. Thanks, Vladimir -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120629/d3694050/attachment.html>

[PATCH] drm/radeon: make a few SI functions static

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Not used outside of si.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index 4071858..148471c 100644 --- a/drivers/gpu/drm/ra

[PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 17:18 +0200, Christian K?nig wrote: > On 29.06.2012 17:09, Michel D?nzer wrote: > > On Fre, 2012-06-29 at 16:45 +0200, Christian K?nig wrote: > >> Hold the ring lock the whole time the reset is in progress, > >> otherwise another process can submit new jobs. > > Sounds good,

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 11:28 -0400, Jerome Glisse wrote: > On Fri, Jun 29, 2012 at 11:23 AM, Alex Deucher > wrote: > > On Fri, Jun 29, 2012 at 10:49 AM, Michel D?nzer > > wrote: > >> On Don, 2012-06-28 at 17:53 -0400, alexdeucher at gmail.com wrote: > >>> From: Alex Deucher > >>> > >>> Cayman

[PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Rafał Miłecki
2012/6/29 : > From: Alex Deucher > > This is something I've been wanting to do for a while and > I finally spent a little time getting a start on it. ?There > is still a lot to do and not all of my descriptions are great, > but I think we can document the rest in bits and pieces. I > also added a

[PATCH 2/3] drm/radeon: add error handling to fence_wait_empty_locked

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 16:45 +0200, Christian K?nig wrote: > Instead of returning the error handle it directly > and while at it fix the comments about the ring lock. Sounds like this should really be two separate changes? > Signed-off-by: Christian K?nig Either way, Reviewed-by: Michel D?nzer

[PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Christian König
On 29.06.2012 17:09, Michel D?nzer wrote: > On Fre, 2012-06-29 at 16:45 +0200, Christian K?nig wrote: >> Hold the ring lock the whole time the reset is in progress, >> otherwise another process can submit new jobs. > Sounds good, but doesn't this create other paths (e.g. initialization, > resume) w

[PATCH 3/3] drm/radeon: add error handling to radeon_vm_unbind_locked

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 16:45 +0200, Christian K?nig wrote: > Waiting for a fence can fail for different reasons, > the most common is a deadlock. > > Signed-off-by: Christian K?nig Reviewed-by: Michel D?nzer -- Earthling Michel D?nzer | http://www.amd.com Libre so

[PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 16:45 +0200, Christian K?nig wrote: > Hold the ring lock the whole time the reset is in progress, > otherwise another process can submit new jobs. Sounds good, but doesn't this create other paths (e.g. initialization, resume) where the ring is being accessed without holding

[PATCH 05/10] drm/radeon: document radeon_fence.c

2012-06-29 Thread Christian König
Some minor comments spread over the whole file, see below: On 29.06.2012 16:28, alexdeucher at gmail.com wrote: > From: Alex Deucher > > Adds documentation to most of the functions in > radeon_fence.c > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/radeon/radeon_fence.c | 373 > +

[PATCH 4/4] drm/exynos: check if framebuffer and gem size are valid or not.

2012-06-29 Thread Inki Dae
with addfb request by user, wrong framebuffer or gem size could be sent to kernel side so this could induce invalid memory access by dma of a device. this patch checks if framebuffer and gem size are valid or not to avoid this issue. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- driv

[PATCH 3/4] drm/exynos: check if gem type is valid or not for fb.

2012-06-29 Thread Inki Dae
physically non-contiguous memory can't be used for framebuffer yet. so this patch checks if the gem memory type is valid or not for the framebuffer. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fb.c | 38 1 files c

[PATCH 2/4] drm/exynos: add packed_size not aligned in page unit.

2012-06-29 Thread Inki Dae
this patch adds packed_size variable in exynos_drm_gem_obj struct and this variable is used to check for valid framebuffer and gem size. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.c |2 ++ drivers/gpu/drm/exynos/exynos_drm_gem.h |3 +++

[PATCH 1/4] drm/exynos: fixed a comment to gem size.

2012-06-29 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.h b/drivers/gpu/drm/exynos/exynos_drm_gem.h index 14d038b..085b2a5 100644 --- a/drive

[PATCH 0/4] drm/exynos: add exceptions to framebuffer module

2012-06-29 Thread Inki Dae
this patch sets fixes some minor issues to exynos drm framebuffer module. when user sent wrong gem memory type, framebuffer size and so on to driver side, the driver has to check if those data are valid or not properly. Thanks. Inki Dae (4): drm/exynos: fixed a comment to gem size. drm/exynos

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Michel Dänzer
On Don, 2012-06-28 at 17:53 -0400, alexdeucher at gmail.com wrote: > From: Alex Deucher > > Cayman and trinity allow for variable sized VM page > tables, but SI requires that all page tables be the > same size. The current code assumes variablely sized > VM page tables so SI may end up with par

[PATCH] i915: initialize CADL in opregion

2012-06-29 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 01:05:58PM +0200, Daniel Vetter wrote: > On Thu, Jun 28, 2012 at 1:24 AM, Lekensteyn wrote: > > Thank you, I've now written a partial analysis which is available at > > https://github.com/Lekensteyn/acpi- > > stuff/blob/HEAD/dsl/Asus_Zenbook_DanielVetter/analysis.txt (note:

[PATCH 3/3] drm/radeon: add error handling to radeon_vm_unbind_locked

2012-06-29 Thread Christian König
Waiting for a fence can fail for different reasons, the most common is a deadlock. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon_gart.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/

[PATCH 2/3] drm/radeon: add error handling to fence_wait_empty_locked

2012-06-29 Thread Christian König
Instead of returning the error handle it directly and while at it fix the comments about the ring lock. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon.h |2 +- drivers/gpu/drm/radeon/radeon_fence.c | 33 + 2 files changed, 22 insertio

[PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Christian König
Hold the ring lock the whole time the reset is in progress, otherwise another process can submit new jobs. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/evergreen.c |8 drivers/gpu/drm/radeon/ni.c|8 drivers/gpu/drm/radeon/r100.c |

[PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Christian König
On 29.06.2012 16:28, alexdeucher at gmail.com wrote: > From: Alex Deucher > > This is something I've been wanting to do for a while and > I finally spent a little time getting a start on it. There > is still a lot to do and not all of my descriptions are great, > but I think we can document the r

[PATCH] drm/radeon: make a few SI functions static

2012-06-29 Thread alexdeucher
From: Alex Deucher Not used outside of si.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index 4071858..148471c 100644 --- a/drivers/gpu/drm/ra

Tegra DRM device tree bindings

2012-06-29 Thread Terje Bergström
On 28.06.2012 20:19, Lucas Stach wrote: > TTM though solves more advanced matters, like buffer synchronisation > between 3D and 2D block of hardware or syncing buffer access between GPU > and CPU. > One of the most interesting things of TTM is the ability to purge the > GPU DMA buffers to scattered

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Jerome Glisse
On Fri, Jun 29, 2012 at 12:14 PM, Michel D?nzer wrote: > On Fre, 2012-06-29 at 11:28 -0400, Jerome Glisse wrote: >> On Fri, Jun 29, 2012 at 11:23 AM, Alex Deucher >> wrote: >> > On Fri, Jun 29, 2012 at 10:49 AM, Michel D?nzer >> > wrote: >> >> On Don, 2012-06-28 at 17:53 -0400, alexdeucher at

Tegra DRM device tree bindings

2012-06-29 Thread Mark Zhang
> > Am Donnerstag, den 28.06.2012, 10:51 -0600 schrieb Stephen Warren: > > > On 06/28/2012 05:12 AM, Thierry Reding wrote: > > > > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > > > >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > > > ... > > > >>> In the ideal

[PATCH] staging: drm/omap: add rotation properties

2012-06-29 Thread Tomi Valkeinen
bbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120629/8c147b25/attachment.pgp>

[Lf_driver_backport] [ANN] compat-drm tree

2012-06-29 Thread Ozan Çağlayan
> Given that the compat module is shared, and a quite a bit of other > code / style is shared, and I'd love to see us start to formalize > documenting collateral evolutions on the kernel in one place I'd like > to propose to you merging this into compat-wirless and we then rename > the project to c

[Bug 51558] Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51558 Michel D?nzer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 51558] Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51558 Michel D?nzer changed: What|Removed |Added Attachment #63607|application/octet-stream|text/plain mime type|

[Bug 51557] Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51557 Michel D?nzer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 51558] Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51558 --- Comment #3 from Michel D?nzer 2012-06-29 06:18:33 PDT --- *** Bug 51557 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because:

[PATCH 10/10] drm/radeon: start to document evergreen.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 120 1 files changed, 120 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index

[PATCH 09/10] drm/radeon: start to document the functions r100.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot more to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 127 - 1 files changed, 124 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index d06c8d

[PATCH 08/10] drm/radeon: document VM functions in radeon_gart.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the VM functions in radeon_gart.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 159 ++ 1 files changed, 159 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 07/10] drm/radeon: document non-VM functions in radeon_gart.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the non-VM functions in radeon_gart.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 125 +- 1 files changed, 122 insertions(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH 06/10] drm/radeon: document radeon_ring.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_ring.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_ring.c | 216 +- 1 files changed, 213 insertions(+), 3 deletions(-) diff --git

[PATCH 05/10] drm/radeon: document radeon_fence.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_fence.c v2: address Christian's comments: - split common concept description into it's own comment - fix description of intr parameter - Improve description of -EDEADLK error Signed-off-by: Alex Deucher --- drivers/gpu/d

[PATCH 04/10] drm/radeon: document radeon_asic.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_asic.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_asic.c

[PATCH 03/10] drm/radeon: document radeon_irq_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_irq_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_irq_kms.c | 150 +++ 1 files changed, 150 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_irq_

[PATCH 02/10] drm/radeon: document radeon_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_kms.c | 126 +++ 1 files changed, 126 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b

[PATCH 01/10] drm/radeon: document radeon_device.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_device.c v2: split out general descriptions as per Christian's comments. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_device.c | 313 +++- 1 files changed, 310 insertions(+),

[Bug 51558] Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51558 --- Comment #2 from samit vats 2012-06-29 05:28:30 PDT --- Created attachment 63609 --> https://bugs.freedesktop.org/attachment.cgi?id=63609 xorg.conf -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 51558] Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51558 --- Comment #1 from samit vats 2012-06-29 05:27:59 PDT --- Created attachment 63608 --> https://bugs.freedesktop.org/attachment.cgi?id=63608 dmesg -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are rec

[Bug 51558] New: Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51558 Bug #: 51558 Summary: Ubuntu[12.04]: X server crashes on running any command in xterm window Classification: Unclassified Product: Mesa Version: unspecified Platform:

[Bug 51557] New: Ubuntu[12.04]: X server crashes on running any command in xterm window

2012-06-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=51557 Bug #: 51557 Summary: Ubuntu[12.04]: X server crashes on running any command in xterm window Classification: Unclassified Product: Mesa Version: unspecified Platform:

Re: [Intel-gfx] Fw: [ANNOUNCE] libdrm 2.4.37

2012-06-29 Thread Ben Widawsky
On Fri, 29 Jun 2012 11:48:29 -0700 Ben Widawsky wrote: > git send-email doesn't appear to be doing the right thing. > > Begin forwarded message: > > Date: Fri, 29 Jun 2012 11:17:47 -0700 > From: Ben Widawsky > To: xorg-annou...@lists.freedesktop.org > Cc: mesa-...@lists.freedesktop.org, intel

[Intel-gfx] Fw: [ANNOUNCE] libdrm 2.4.37

2012-06-29 Thread Ben Widawsky
On Fri, 29 Jun 2012 11:48:29 -0700 Ben Widawsky wrote: > git send-email doesn't appear to be doing the right thing. > > Begin forwarded message: > > Date: Fri, 29 Jun 2012 11:17:47 -0700 > From: Ben Widawsky > To: xorg-announce at lists.freedesktop.org > Cc: mesa-dev at lists.freedesktop.org,

Fw: [ANNOUNCE] libdrm 2.4.37

2012-06-29 Thread Ben Widawsky
git send-email doesn't appear to be doing the right thing. Begin forwarded message: Date: Fri, 29 Jun 2012 11:17:47 -0700 From: Ben Widawsky To: xorg-annou...@lists.freedesktop.org Cc: mesa-...@lists.freedesktop.org, intel-...@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [ANNO

Fw: [ANNOUNCE] libdrm 2.4.37

2012-06-29 Thread Ben Widawsky
git send-email doesn't appear to be doing the right thing. Begin forwarded message: Date: Fri, 29 Jun 2012 11:17:47 -0700 From: Ben Widawsky To: xorg-announce at lists.freedesktop.org Cc: mesa-dev at lists.freedesktop.org, intel-gfx at lists.freedesktop.org, dri-devel at lists.freedesktop.org Su

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Jerome Glisse
On Fri, Jun 29, 2012 at 11:23 AM, Alex Deucher wrote: > On Fri, Jun 29, 2012 at 10:49 AM, Michel D?nzer wrote: >> On Don, 2012-06-28 at 17:53 -0400, alexdeucher at gmail.com wrote: >>> From: Alex Deucher >>> >>> Cayman and trinity allow for variable sized VM page >>> tables, but SI requires that

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Alex Deucher
On Fri, Jun 29, 2012 at 10:49 AM, Michel D?nzer wrote: > On Don, 2012-06-28 at 17:53 -0400, alexdeucher at gmail.com wrote: >> From: Alex Deucher >> >> Cayman and trinity allow for variable sized VM page >> tables, but SI requires that all page tables be the >> same size. ?The current code assume

Re: [PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Jerome Glisse
On Fri, Jun 29, 2012 at 12:14 PM, Michel Dänzer wrote: > On Fre, 2012-06-29 at 11:28 -0400, Jerome Glisse wrote: >> On Fri, Jun 29, 2012 at 11:23 AM, Alex Deucher wrote: >> > On Fri, Jun 29, 2012 at 10:49 AM, Michel Dänzer wrote: >> >> On Don, 2012-06-28 at 17:53 -0400, alexdeuc...@gmail.com wro

[PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Alex Deucher
On Fri, Jun 29, 2012 at 10:39 AM, Christian K?nig wrote: > On 29.06.2012 16:28, alexdeucher at gmail.com wrote: >> >> From: Alex Deucher >> >> This is something I've been wanting to do for a while and >> I finally spent a little time getting a start on it. ?There >> is still a lot to do and not a

[PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Alex Deucher
On Fri, Jun 29, 2012 at 10:42 AM, Tom Stellard wrote: > On Fri, Jun 29, 2012 at 10:28:20AM -0400, alexdeucher at gmail.com wrote: >> From: Alex Deucher >> >> This is something I've been wanting to do for a while and >> I finally spent a little time getting a start on it. ?There >> is still a lot

[PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Tom Stellard
On Fri, Jun 29, 2012 at 10:28:20AM -0400, alexdeucher at gmail.com wrote: > From: Alex Deucher > > This is something I've been wanting to do for a while and > I finally spent a little time getting a start on it. There > is still a lot to do and not all of my descriptions are great, > but I think

[PATCH 10/10] drm/radeon: start to document evergreen.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 120 1 files changed, 120 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index

[PATCH 09/10] drm/radeon: start to document the functions r100.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot more to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 127 - 1 files changed, 124 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index d06c8d

[PATCH 08/10] drm/radeon: document VM functions in radeon_gart.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the VM functions in radeon_gart.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 237 ++ 1 files changed, 237 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm

[PATCH 07/10] drm/radeon: document non-VM functions in radeon_gart.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the non-VM functions in radeon_gart.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 154 +- 1 files changed, 151 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu

[PATCH 06/10] drm/radeon: document radeon_ring.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_ring.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_ring.c | 374 +- 1 files changed, 373 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_ring.c

[PATCH 05/10] drm/radeon: document radeon_fence.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_fence.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_fence.c | 373 + 1 files changed, 373 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fence.

[PATCH 04/10] drm/radeon: document radeon_asic.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_asic.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_asic.c

[PATCH 03/10] drm/radeon: document radeon_irq_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_irq_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_irq_kms.c | 150 +++ 1 files changed, 150 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_irq_

[PATCH 02/10] drm/radeon: document radeon_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_kms.c | 126 +++ 1 files changed, 126 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b

[PATCH 01/10] drm/radeon: document radeon_device.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_device.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_device.c | 344 +++- 1 files changed, 341 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_devic

[PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher This is something I've been wanting to do for a while and I finally spent a little time getting a start on it. There is still a lot to do and not all of my descriptions are great, but I think we can document the rest in bits and pieces. I also added a note about what asics the

[PATCH 10/10] drm/radeon: start to document evergreen.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Still a lot to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 120 1 files changed, 120 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index

[PATCH 09/10] drm/radeon: start to document the functions r100.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Still a lot more to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 127 - 1 files changed, 124 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index d06c8d

[PATCH 08/10] drm/radeon: document VM functions in radeon_gart.c (v2)

2012-06-29 Thread alexdeucher
From: Alex Deucher Document the VM functions in radeon_gart.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 159 ++ 1 files changed, 159 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 07/10] drm/radeon: document non-VM functions in radeon_gart.c (v2)

2012-06-29 Thread alexdeucher
From: Alex Deucher Document the non-VM functions in radeon_gart.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 125 +- 1 files changed, 122 insertions(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH 06/10] drm/radeon: document radeon_ring.c (v2)

2012-06-29 Thread alexdeucher
From: Alex Deucher Adds documentation to most of the functions in radeon_ring.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_ring.c | 216 +- 1 files changed, 213 insertions(+), 3 deletions(-) diff --git

[PATCH 05/10] drm/radeon: document radeon_fence.c (v2)

2012-06-29 Thread alexdeucher
From: Alex Deucher Adds documentation to most of the functions in radeon_fence.c v2: address Christian's comments: - split common concept description into it's own comment - fix description of intr parameter - Improve description of -EDEADLK error Signed-off-by: Alex Deucher --- drivers/gpu/d

[PATCH 04/10] drm/radeon: document radeon_asic.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Adds documentation to most of the functions in radeon_asic.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_asic.c

[PATCH 03/10] drm/radeon: document radeon_irq_kms.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Adds documentation to most of the functions in radeon_irq_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_irq_kms.c | 150 +++ 1 files changed, 150 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_irq_

[PATCH 02/10] drm/radeon: document radeon_kms.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Adds documentation to most of the functions in radeon_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_kms.c | 126 +++ 1 files changed, 126 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b

[PATCH 01/10] drm/radeon: document radeon_device.c (v2)

2012-06-29 Thread alexdeucher
From: Alex Deucher Adds documentation to most of the functions in radeon_device.c v2: split out general descriptions as per Christian's comments. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_device.c | 313 +++- 1 files changed, 310 insertions(+),

Tegra DRM device tree bindings

2012-06-29 Thread Mark Zhang
> Am Donnerstag, den 28.06.2012, 10:51 -0600 schrieb Stephen Warren: > > On 06/28/2012 05:12 AM, Thierry Reding wrote: > > > On Wed, Jun 27, 2012 at 05:59:55PM +0200, Lucas Stach wrote: > > >> Am Mittwoch, den 27.06.2012, 16:44 +0200 schrieb Thierry Reding: > > ... > > >>> In the ideal case I would

Re: [PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 17:18 +0200, Christian König wrote: > On 29.06.2012 17:09, Michel Dänzer wrote: > > On Fre, 2012-06-29 at 16:45 +0200, Christian König wrote: > >> Hold the ring lock the whole time the reset is in progress, > >> otherwise another process can submit new jobs. > > Sounds good,

Re: [PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 11:28 -0400, Jerome Glisse wrote: > On Fri, Jun 29, 2012 at 11:23 AM, Alex Deucher wrote: > > On Fri, Jun 29, 2012 at 10:49 AM, Michel Dänzer wrote: > >> On Don, 2012-06-28 at 17:53 -0400, alexdeuc...@gmail.com wrote: > >>> From: Alex Deucher > >>> > >>> Cayman and trinity

[PATCH 1/3] pci_regs: define LNKSTA2 pcie cap + bits.

2012-06-29 Thread Boszormenyi Zoltan
Hi, 2012-06-27 09:35 keltez?ssel, Dave Airlie ?rta: > From: Dave Airlie > > We need these for detecting the max link speed for drm drivers. > > Signed-off-by: Dave Airlie I have reported this in March: http://lists.freedesktop.org/archives/dri-devel/2012-March/019731.html Since then, this moth

Re: [PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Rafał Miłecki
2012/6/29 : > From: Alex Deucher > > This is something I've been wanting to do for a while and > I finally spent a little time getting a start on it.  There > is still a lot to do and not all of my descriptions are great, > but I think we can document the rest in bits and pieces. I > also added a

Re: [PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Jerome Glisse
On Fri, Jun 29, 2012 at 11:23 AM, Alex Deucher wrote: > On Fri, Jun 29, 2012 at 10:49 AM, Michel Dänzer wrote: >> On Don, 2012-06-28 at 17:53 -0400, alexdeuc...@gmail.com wrote: >>> From: Alex Deucher >>> >>> Cayman and trinity allow for variable sized VM page >>> tables, but SI requires that al

Re: [PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Alex Deucher
On Fri, Jun 29, 2012 at 10:49 AM, Michel Dänzer wrote: > On Don, 2012-06-28 at 17:53 -0400, alexdeuc...@gmail.com wrote: >> From: Alex Deucher >> >> Cayman and trinity allow for variable sized VM page >> tables, but SI requires that all page tables be the >> same size.  The current code assumes v

Re: [PATCH 2/3] drm/radeon: add error handling to fence_wait_empty_locked

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 16:45 +0200, Christian König wrote: > Instead of returning the error handle it directly > and while at it fix the comments about the ring lock. Sounds like this should really be two separate changes? > Signed-off-by: Christian König Either way, Reviewed-by: Michel Dänzer

Re: [PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Christian König
On 29.06.2012 17:09, Michel Dänzer wrote: On Fre, 2012-06-29 at 16:45 +0200, Christian König wrote: Hold the ring lock the whole time the reset is in progress, otherwise another process can submit new jobs. Sounds good, but doesn't this create other paths (e.g. initialization, resume) where the

Re: [PATCH 3/3] drm/radeon: add error handling to radeon_vm_unbind_locked

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 16:45 +0200, Christian König wrote: > Waiting for a fence can fail for different reasons, > the most common is a deadlock. > > Signed-off-by: Christian König Reviewed-by: Michel Dänzer -- Earthling Michel Dänzer | http://www.amd.com Libre so

Re: [PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Michel Dänzer
On Fre, 2012-06-29 at 16:45 +0200, Christian König wrote: > Hold the ring lock the whole time the reset is in progress, > otherwise another process can submit new jobs. Sounds good, but doesn't this create other paths (e.g. initialization, resume) where the ring is being accessed without holding

Re: [PATCH 05/10] drm/radeon: document radeon_fence.c

2012-06-29 Thread Christian König
Some minor comments spread over the whole file, see below: On 29.06.2012 16:28, alexdeuc...@gmail.com wrote: From: Alex Deucher Adds documentation to most of the functions in radeon_fence.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_fence.c | 373 +++

Re: [PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Tom Stellard
On Fri, Jun 29, 2012 at 10:28:20AM -0400, alexdeuc...@gmail.com wrote: > From: Alex Deucher > > This is something I've been wanting to do for a while and > I finally spent a little time getting a start on it. There > is still a lot to do and not all of my descriptions are great, > but I think we

Re: [PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Alex Deucher
On Fri, Jun 29, 2012 at 10:39 AM, Christian König wrote: > On 29.06.2012 16:28, alexdeuc...@gmail.com wrote: >> >> From: Alex Deucher >> >> This is something I've been wanting to do for a while and >> I finally spent a little time getting a start on it.  There >> is still a lot to do and not all

Re: [PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Alex Deucher
On Fri, Jun 29, 2012 at 10:42 AM, Tom Stellard wrote: > On Fri, Jun 29, 2012 at 10:28:20AM -0400, alexdeuc...@gmail.com wrote: >> From: Alex Deucher >> >> This is something I've been wanting to do for a while and >> I finally spent a little time getting a start on it.  There >> is still a lot to

Re: [PATCH] drm/radeon: fix VM page table setup on SI

2012-06-29 Thread Michel Dänzer
On Don, 2012-06-28 at 17:53 -0400, alexdeuc...@gmail.com wrote: > From: Alex Deucher > > Cayman and trinity allow for variable sized VM page > tables, but SI requires that all page tables be the > same size. The current code assumes variablely sized > VM page tables so SI may end up with part o

Re: [PATCH] i915: initialize CADL in opregion

2012-06-29 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 01:05:58PM +0200, Daniel Vetter wrote: > On Thu, Jun 28, 2012 at 1:24 AM, Lekensteyn wrote: > > Thank you, I've now written a partial analysis which is available at > > https://github.com/Lekensteyn/acpi- > > stuff/blob/HEAD/dsl/Asus_Zenbook_DanielVetter/analysis.txt (note:

[PATCH 3/3] drm/radeon: add error handling to radeon_vm_unbind_locked

2012-06-29 Thread Christian König
Waiting for a fence can fail for different reasons, the most common is a deadlock. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/radeon_gart.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/

[PATCH 1/3] drm/radeon: move ring locking out of reset path

2012-06-29 Thread Christian König
Hold the ring lock the whole time the reset is in progress, otherwise another process can submit new jobs. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/evergreen.c |8 drivers/gpu/drm/radeon/ni.c|8 drivers/gpu/drm/radeon/r100.c |

[PATCH 2/3] drm/radeon: add error handling to fence_wait_empty_locked

2012-06-29 Thread Christian König
Instead of returning the error handle it directly and while at it fix the comments about the ring lock. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/radeon.h |2 +- drivers/gpu/drm/radeon/radeon_fence.c | 33 + 2 files changed, 22 insertio

Re: [PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread Christian König
On 29.06.2012 16:28, alexdeuc...@gmail.com wrote: From: Alex Deucher This is something I've been wanting to do for a while and I finally spent a little time getting a start on it. There is still a lot to do and not all of my descriptions are great, but I think we can document the rest in bits

[PATCH 10/10] drm/radeon: start to document evergreen.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Still a lot to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 120 1 files changed, 120 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index

[PATCH 08/10] drm/radeon: document VM functions in radeon_gart.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Document the VM functions in radeon_gart.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 237 ++ 1 files changed, 237 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm

[PATCH 09/10] drm/radeon: start to document the functions r100.c

2012-06-29 Thread alexdeucher
From: Alex Deucher Still a lot more to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 127 - 1 files changed, 124 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index d06c8d

  1   2   >