Re: Bug in warning message from MTRR rework in uvesafb

2013-07-11 Thread Andy Lutomirski
On Wed, Jul 10, 2013 at 10:07 AM, Torsten Kaiser wrote: > Commit 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75, "uvesafb: Clean up > MTRR code" contains the following change: > > @@ -1930,6 +1891,9 @@ static int uvesafb_setup(char *options) > } > } > > +if (mtrr != 3 && mtrr != 1) > +

Re: [PATCH 2/2] DRM: use anon_inode instead of delayed inode init

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 01:45:30AM +0200, David Herrmann wrote: > Instead of delaying inode initialization until first ->open(), we can use > an anonymous inode. This avoids modifying FS internal inode fields and > provides us a private address_space right during initialization. > > Delayed TTM de

Re: Bug in warning message from MTRR rework in uvesafb

2013-07-11 Thread Dave Airlie
On Thu, Jul 11, 2013 at 3:36 AM, Andy Lutomirski wrote: > On Wed, Jul 10, 2013 at 10:07 AM, Torsten Kaiser > wrote: >> Commit 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75, "uvesafb: Clean up >> MTRR code" contains the following change: >> >> @@ -1930,6 +1891,9 @@ static int uvesafb_setup(char *option

Re: [PATCH] drm: don't call ->firstopen for KMS drivers

2013-07-11 Thread Laurent Pinchart
Hi Daniel, On Wednesday 10 July 2013 20:17:44 Daniel Vetter wrote: > It has way too much potential for driver writers to do stupid things > like delayed hw setup because the load sequence is somehow racy (e.g. > the imx driver in staging). So don't call it for modesetting drivers, > which reduces

Re: [PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-11 Thread Laurent Pinchart
Hi Daniel, Thanks for the patch. On Wednesday 10 July 2013 16:48:45 Daniel Vetter wrote: > I've checked both implementations (radeon/nouveau) and they both grab > the page array from ttm simply by dereferencing it and then wrapping > it up with drm_prime_pages_to_sg in the callback and map it wit

[Bug 66805] [radeonsi] half life 2 base games are segfaulting

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66805 --- Comment #1 from Michel Dänzer --- Can you provide the output from running with the environment variable RADEON_DUMP_SHADERS=1 ? Beware that it might be large if the game compiles many shaders before the failure. -- You are receiving this ma

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 Christian König changed: What|Removed |Added Attachment #81770|0 |1 is obsolete|

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 --- Comment #21 from Austin Lund --- (In reply to comment #20) > Created attachment 82325 [details] [review] > Possible fix. > > I was able to reproduce the problem, and this patch (only a slightly > modified version of the old one) seems to fix

[Bug 66805] [radeonsi] half life 2 base games are segfaulting

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66805 --- Comment #2 from Laurent carlier --- Created attachment 82327 --> https://bugs.freedesktop.org/attachment.cgi?id=82327&action=edit shader dump from portal with RADEON_DUMP_SHADERS=1 -- You are receiving this mail because: You are the assig

[PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread David Herrmann
drm_gem_object_init() and drm_gem_private_object_init() do exactly the same (except for shmem alloc) so make the first use the latter to reduce code duplication. Also drop the return code from drm_gem_private_object_init(). It seems unlikely that we will extend it any time soon so no reason to kee

[PATCH 2/2] drm/pci: remove useles #if 1

2013-07-11 Thread David Herrmann
These don't make any sense, really.. Signed-off-by: David Herrmann --- drivers/gpu/drm/drm_pci.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index 80c0b2b..a7b46ff 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pc

[Bug 66731] texture issues in xonotic with llvm+sb and offset mapping

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66731 --- Comment #2 from Stefano Teso --- Thanks for the quick response. I just wanted to note that the glitch is still there with llvm 3.4 trunk. -- You are receiving this mail because: You are the assignee for the bug. ___

Re: [PATCH] drm: don't call ->firstopen for KMS drivers

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 9:54 AM, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 10 July 2013 20:17:44 Daniel Vetter wrote: >> It has way too much potential for driver writers to do stupid things >> like delayed hw setup because the load sequence is somehow racy (e.g. >> the imx driver in st

Re: [PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Chris Wilson
On Thu, Jul 11, 2013 at 11:56:32AM +0200, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init().

Re: [PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 11:56:32AM +0200, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init().

Re: [PATCH v2 02/20] drm/gem: convert to new unified vma manager

2013-07-11 Thread David Herrmann
Hi On Sun, Jul 7, 2013 at 7:17 PM, David Herrmann wrote: > Use the new vma manager instead of the old hashtable. Also convert all > drivers to use the new convenience helpers. This drops all the > (map_list.hash.key << PAGE_SHIFT) non-sense. > > Locking and access-management is exactly the same a

Re: [PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Patrik Jakobsson
On Thu, Jul 11, 2013 at 11:56 AM, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init(). It seems

Re: [PATCH v2 00/20] Unified VMA Offset Manager v2 (+Render Node RFC)

2013-07-11 Thread David Herrmann
Hi On Thu, Jul 11, 2013 at 1:12 PM, Martin Peres wrote: > On 07/07/2013 19:17, David Herrmann wrote: >> >> Hi >> >> This is v2 of the unified VMA offset manager series. The first draft is >> available at LWN [1]. This series replaces the VMA offset managers in GEM >> and >> TTM with a unified imp

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66450 --- Comment #7 from Christian König --- Created attachment 82331 --> https://bugs.freedesktop.org/attachment.cgi?id=82331&action=edit Possible fix v2 Update patch, should work better this time. But please note that shader based decoding is fa

Re: [PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Rob Clark
On Thu, Jul 11, 2013 at 5:56 AM, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init(). It seems

Re: [PULL] drm-intel-fixes

2013-07-11 Thread Daniel Vetter
Cc lists this time around ... -Daniel On Thu, Jul 11, 2013 at 2:06 PM, Daniel Vetter wrote: > Hi Dave, > > One feature latecomer, I've forgotten to merge the patch to reeanble the > Haswell power well feature now that the audio interaction is fixed up. > Since that was the only unfixed issue with

Re: Radeon HD 6310 (AMD Wrestler): [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!

2013-07-11 Thread Alex Deucher
On Thu, Jul 11, 2013 at 3:41 AM, Paul Menzel wrote: > Dear Linux folks, > > > using a Linux 3.10 with the drm-next-3.11 tree from Alex Deuscher merged > and built with `make deb-pkg`, it failed the last boot. > > [drm:evergreen_startup] *ERROR* radeon: error initializing UVD (-1). > > The stra

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 --- Comment #22 from Christian König --- (In reply to comment #21) > I got this compile warning: > > /home/lund/src/linux/drivers/gpu/drm/radeon/radeon_uvd.c: In function > ‘radeon_uvd_fini’: > /home/lund/src/linux/drivers/gpu/drm/radeon/radeon

Re: Questions about TTM buffer object maping

2013-07-11 Thread Jerome Glisse
On Thu, Jul 11, 2013 at 2:24 AM, Daniel Vetter wrote: > On Wed, Jul 10, 2013 at 09:00:33PM -0400, Jerome Glisse wrote: >> On Wed, Jul 10, 2013 at 8:27 PM, Jean-Sébastien Pédron >> wrote: >> > Hello, >> > >> > I'm trying to understand how TTM buffer object mapping works on Linux, to >> > make this

Re: [PATCH 00/39] clean out drm cruft and hide it better for kms drivers

2013-07-11 Thread Alex Deucher
On Wed, Jul 10, 2013 at 8:11 AM, Daniel Vetter wrote: > Hi all, > > I've figured that it's again time for a bit of (late) drm spring cleanup. This > series here consists of a pile of "rip old stuff out" patches interleaved with > "disable old cruft for kms drivers and hide it better". > > Comments

[Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44772 Harald Judt changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 --- Comment #23 from Harald Judt --- Thanks, I confirm that the patch fixes the problem! I've tested this at least 5 times with both the vanilla and the tuxonice hibernation, and both now work pretty stable with 3.10. (As a side note: The BFQ IO

[Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44772 Harald Judt changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[PATCH 1/3] drm/radeon: Disable dma rings for bo moves on r6xx

2013-07-11 Thread alexdeucher
From: Alex Deucher They still seem to cause instability on some r6xx parts. As a follow up, we can switch to using CP DMA for bo moves on r6xx as a lighter weight alternative to using the 3D engine. A version of this patch should also go to stable kernels. Tested-by: J.N. Signed-off-by: Alex D

[PATCH 2/3] drm/radeon: implement bo copy callback using CP DMA (v2)

2013-07-11 Thread alexdeucher
From: Alex Deucher Lighter weight than using the 3D engine. v2: fix ring count Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600.c| 81 ++ drivers/gpu/drm/radeon/r600d.h |1 + drivers/gpu/drm/radeon/radeon_asic.h |3 + 3 files

[PATCH 3/3] drm/radeon: use CP DMA on r6xx for bo moves

2013-07-11 Thread alexdeucher
From: Alex Deucher Lighter weight than using the 3D engine. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index ea5c

Re: [PATCH] drm/radeon: add missing ttm_eu_backoff_reservation to radeon_bo_list_validate

2013-07-11 Thread Alex Deucher
I've picked up the patch for my fixes queue. Thanks! Alex On Wed, Jul 10, 2013 at 6:26 AM, Maarten Lankhorst wrote: > Op 10-07-13 12:03, Markus Trippelsdorf schreef: >> On 2013.07.10 at 11:56 +0200, Maarten Lankhorst wrote: >>> Op 10-07-13 11:46, Markus Trippelsdorf schreef: On 2013.07.10

[PATCH] drm/radeon: use radeon device for request firmware

2013-07-11 Thread j . glisse
From: Jerome Glisse Avoid creating temporary platform device that will lead to issue when several radeon gpu are in same computer. Instead directly use the radeon device for requesting firmware. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/cik.c| 25 +++--

Re: [PATCH 1/3] drm/radeon: Disable dma rings for bo moves on r6xx

2013-07-11 Thread Alex Deucher
On Thu, Jul 11, 2013 at 3:59 PM, Ilija Hadzic wrote: > > Alex, > > Can you please share some details about the nature or symptom of the > "instability". One problem that I have been seeing on my end is that when I > use the DMA ring intensively (by intensively I mean, calling the copy > function e

Re: [PATCH 1/3] drm/radeon: Disable dma rings for bo moves on r6xx

2013-07-11 Thread Ilija Hadzic
Alex, Can you please share some details about the nature or symptom of the "instability". One problem that I have been seeing on my end is that when I use the DMA ring intensively (by intensively I mean, calling the copy function every frame), combined with some 3D rendering that causes a lot

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66450 --- Comment #8 from Eugene Shalygin --- With this patch playback works. Thank you! -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.

[Bug 61470] Driver does not turn on LCD backlight on resume

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61470 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 43829] Resuming my AMD A4-3300 based laptop leaves the screen black

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43829 Alex Deucher changed: What|Removed |Added CC||webmas...@jamescobban.net --- Comment #25

[Bug 43829] Resuming my AMD A4-3300 based laptop leaves the screen black

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43829 --- Comment #26 from Alex Deucher --- Created attachment 82347 --> https://bugs.freedesktop.org/attachment.cgi?id=82347&action=edit possible fix Does the attached patch help? -- You are receiving this mail because: You are the assignee for t

[PATCH 1/3] drm/radeon: add fault decode function for cayman/TN (v2)

2013-07-11 Thread alexdeucher
From: Alex Deucher Helpful for debugging GPUVM errors as we can see what hw block and page generated the fault in the log. v2: simplify fault decoding Signed-off-by: Alex Deucher Reviewed-by: Christian König --- drivers/gpu/drm/radeon/evergreen.c | 10 ++- drivers/gpu/drm/radeon/ni.c

[PATCH 2/3] drm/radeon: add fault decode function for SI (v2)

2013-07-11 Thread alexdeucher
From: Alex Deucher Helpful for debugging GPUVM errors as we can see what hw block and page generated the fault in the log. v2: simplify fault decoding Signed-off-by: Alex Deucher Reviewed-by: Christian König --- drivers/gpu/drm/radeon/si.c | 272 +-

[PATCH 3/3] drm/radeon: add fault decode function for CIK

2013-07-11 Thread alexdeucher
From: Alex Deucher Helpful for debugging GPUVM errors as we can see what hw block and page generated the fault in the log. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 32 ++-- drivers/gpu/drm/radeon/cikd.h | 16 2 files chang

Re: Questions about TTM buffer object maping

2013-07-11 Thread Jean-Sébastien Pédron
Hi, Thank you Jérôme and Daniel for your input, that's really helpful! I have another question: in ttm_bo_mmap(), a reference to the buffer object is acquired at the beginning of the function. Another reference is acquired in ttm_bo_vm_open() (released in ttm_bo_vm_close()). But where is the

Re: Questions about TTM buffer object maping

2013-07-11 Thread Jerome Glisse
On Thu, Jul 11, 2013 at 5:43 PM, Jean-Sébastien Pédron wrote: > Hi, > > Thank you Jérôme and Daniel for your input, that's really helpful! > > I have another question: in ttm_bo_mmap(), a reference to the buffer object > is acquired at the beginning of the function. Another reference is acquired >

Re: Questions about TTM buffer object maping

2013-07-11 Thread David Herrmann
Hi On Thu, Jul 11, 2013 at 11:43 PM, Jean-Sébastien Pédron wrote: > Hi, > > Thank you Jérôme and Daniel for your input, that's really helpful! > > I have another question: in ttm_bo_mmap(), a reference to the buffer object > is acquired at the beginning of the function. Another reference is acqui

Re: Questions about TTM buffer object maping

2013-07-11 Thread Jean-Sébastien Pédron
Le 11/07/2013 23:51, David Herrmann a écrit : ->vm_open() isn't called for the first mmap(), afaik (only called during fork()s or similar). So the reference in ttm_bo_mmap() is a replacement for the reference you take in the ->vm_open() callback. So the reference is acquired either in ttm_bo_mm

[Bug 66836] New: [r600g] WoW is crashing with HD6450

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66836 Priority: medium Bug ID: 66836 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] WoW is crashing with HD6450 Severity: normal Classification: Unclassified OS: Linux

[Bug 66836] [r600g] WoW is crashing with HD6450

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66836 --- Comment #1 from Chris Rankin --- Created attachment 82348 --> https://bugs.freedesktop.org/attachment.cgi?id=82348&action=edit Crash dump analysis -- You are receiving this mail because: You are the assignee for the bug. _

[Bug 66836] [r600g] WoW is crashing with HD6450

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66836 --- Comment #2 from Chris Rankin --- Created attachment 82349 --> https://bugs.freedesktop.org/attachment.cgi?id=82349&action=edit dmesg output -- You are receiving this mail because: You are the assignee for the bug.

[Bug 66837] New: [regression] X hangs since commit 098316211ce65db79d00c5975fa30873426450a6

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66837 Priority: medium Bug ID: 66837 Assignee: dri-devel@lists.freedesktop.org Summary: [regression] X hangs since commit 098316211ce65db79d00c5975fa30873426450a6 Severity: critica

[Bug 64695] Enabling both MLAA and MLAA color 2D crashes Gnome Shell on Cayman (6950)

2013-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64695 --- Comment #6 from Alexandre Demers --- Quickly tested with today's git and it still does the same "Oops". However, KDE doesn't have any problem to load. I'll give more info soon, I just don't have much time right now. -- You are receiving thi

Re: [PATCH v2 00/20] Unified VMA Offset Manager v2 (+Render Node RFC)

2013-07-11 Thread Martin Peres
On 07/07/2013 19:17, David Herrmann wrote: Hi This is v2 of the unified VMA offset manager series. The first draft is available at LWN [1]. This series replaces the VMA offset managers in GEM and TTM with a unified implementation. The first 4 patches contain the new VMA offset manager and are t

Re: [PATCH v2 00/20] Unified VMA Offset Manager v2 (+Render Node RFC)

2013-07-11 Thread Martin Peres
On 11/07/2013 13:21, David Herrmann wrote: Hi On Thu, Jul 11, 2013 at 1:12 PM, Martin Peres wrote: On 07/07/2013 19:17, David Herrmann wrote: Hi This is v2 of the unified VMA offset manager series. The first draft is available at LWN [1]. This series replaces the VMA offset managers in GEM a

[PATCH] drm/gpio/nv50: post nv92 cards have 32 interrupt lines

2013-07-11 Thread Emil Velikov
Since the original merge of nouveau to upstream kernel, we were assuming that nv90 (and later) cards have 32 lines. Based on mmio traces of the binary driver, as well as PBUS error messages during read/write of the e070/e074 registers, we can conclude that nv92 has only 16 lines whereas nv94 (and

[RFC PATCH v5 1/2] dmabuf-sync: Introduce buffer synchronization framework

2013-07-11 Thread Inki Dae
This patch adds a buffer synchronization framework based on DMA BUF[1] and and based on ww-mutexes[2] for lock mechanism. The purpose of this framework is to provide not only buffer access control to CPU and DMA but also easy-to-use interfaces for device drivers and user application. This framewor

[RFC PATCH 0/2 v5] Introduce buffer synchronization framework

2013-07-11 Thread Inki Dae
Hi all, This patch set introduces a buffer synchronization framework based on DMA BUF[1] and based on ww-mutexes[2] for lock mechanism. The purpose of this framework is to provide not only buffer access control to CPU and CPU, and CPU and DMA, and DMA and DMA but also easy-to-use interfaces for d

[RFC PATCH v1 2/2] dma-buf: add lock callback for fcntl system call

2013-07-11 Thread Inki Dae
This patch adds lock callback to dma buf file operations, and this callback will be called by fcntl system call. With this patch, fcntl system call can be used for buffer synchronization between CPU and CPU, and CPU and DMA in user mode. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park ---

[patch] drm/nvc0-/gr: shift wrapping bug in nvc0_grctx_generate_r406800()

2013-07-11 Thread Dan Carpenter
We care about the upper 32 bits here so we have to use 1ULL instead of 1 to avoid a shift wrapping bug. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.c b/drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.c index 64dca26..fe67415 100644 --- a/drivers

Re: [PATCH 1/3] drm/radeon: Disable dma rings for bo moves on r6xx

2013-07-11 Thread Christian König
Am 11.07.2013 21:35, schrieb alexdeuc...@gmail.com: From: Alex Deucher They still seem to cause instability on some r6xx parts. As a follow up, we can switch to using CP DMA for bo moves on r6xx as a lighter weight alternative to using the 3D engine. A version of this patch should also go to s

Re: [PATCH 1/3] drm/radeon: Disable dma rings for bo moves on r6xx

2013-07-11 Thread Christian König
Am 11.07.2013 21:59, schrieb Ilija Hadzic: Alex, Can you please share some details about the nature or symptom of the "instability". One problem that I have been seeing on my end is that when I use the DMA ring intensively (by intensively I mean, calling the copy function every frame), combi

Re: [PATCH] drm/radeon: use radeon device for request firmware

2013-07-11 Thread Christian König
Am 11.07.2013 21:53, schrieb j.gli...@gmail.com: From: Jerome Glisse Avoid creating temporary platform device that will lead to issue when several radeon gpu are in same computer. Instead directly use the radeon device for requesting firmware. Signed-off-by: Jerome Glisse Thanks, also had t

[PATCH 0/2] Anonymous Inode Allocations

2013-07-11 Thread David Herrmann
Hi This implements anon_inodes_new() to create anonymous inodes. Patch #1 describes the changes to anon_inodes.c and why DRM could make great use of this. Patch #2 converts DRM core to use anon_inodes_new() instead of delayed dev_mapping initialization (but kept simple, TTM can be converted later)

[PATCH 1/2] anon_inodes: allow external inode allocations

2013-07-11 Thread David Herrmann
DRM core shares a single address_space across all inodes that belong to the same DRM device. This allows efficient unmapping of user-space mappings during buffer destruction. However, there is no easy way to get a shared address_space for DRM devices during initialization. Therefore, we currently d

[PATCH 2/2] DRM: use anon_inode instead of delayed inode init

2013-07-11 Thread David Herrmann
Instead of delaying inode initialization until first ->open(), we can use an anonymous inode. This avoids modifying FS internal inode fields and provides us a private address_space right during initialization. Delayed TTM dev_mapping initialization is currently left untouched to keep this simple.

[PATCH] drm: remove FASYNC support

2013-07-11 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Wednesday 10 July 2013 17:25:04 Daniel Vetter wrote: > So I've stumbled over drm_fasync and wondered what it does. Digging > that up is quite a story. > > First I've had to read up on what this does and ended up being rather > bewildered why peopled loved s

Questions about TTM buffer object maping

2013-07-11 Thread Jean-Sébastien Pédron
Hello, I'm trying to understand how TTM buffer object mapping works on Linux, to make this behave properly on FreeBSD. Here's what I think I understand: When a buffer object is mmap()'d, ttm_bo_vm_open() is called. When there's a page fault, the page is looked up and inserted in the VMA using

[Bug 66558] RS690: 3D artifacts when playing SuperTuxKart

2013-07-11 Thread bugzilla-dae...@freedesktop.org
. |.org|org -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/9beefb45/attachment.html>

[Bug 65723] Xonotic glsl 1.30 broken due to lack of derivatives support in radeonsi

2013-07-11 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/d1bdd6f9/attachment.html>

Questions about TTM buffer object maping

2013-07-11 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 09:00:33PM -0400, Jerome Glisse wrote: > On Wed, Jul 10, 2013 at 8:27 PM, Jean-S?bastien P?dron > wrote: > > Hello, > > > > I'm trying to understand how TTM buffer object mapping works on Linux, to > > make this behave properly on FreeBSD. > > > > Here's what I think I unde

[PATCH 1/2] anon_inodes: allow external inode allocations

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 01:45:29AM +0200, David Herrmann wrote: > DRM core shares a single address_space across all inodes that belong to > the same DRM device. This allows efficient unmapping of user-space > mappings during buffer destruction. However, there is no easy way to get a > shared addres

[PATCH 2/2] DRM: use anon_inode instead of delayed inode init

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 01:45:30AM +0200, David Herrmann wrote: > Instead of delaying inode initialization until first ->open(), we can use > an anonymous inode. This avoids modifying FS internal inode fields and > provides us a private address_space right during initialization. > > Delayed TTM de

Bug in warning message from MTRR rework in uvesafb

2013-07-11 Thread Dave Airlie
On Thu, Jul 11, 2013 at 3:36 AM, Andy Lutomirski wrote: > On Wed, Jul 10, 2013 at 10:07 AM, Torsten Kaiser > wrote: >> Commit 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75, "uvesafb: Clean up >> MTRR code" contains the following change: >> >> @@ -1930,6 +1891,9 @@ static int uvesafb_setup(char *option

Radeon HD 6310 (AMD Wrestler): [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!

2013-07-11 Thread Paul Menzel
Dear Linux folks, using a Linux 3.10 with the drm-next-3.11 tree from Alex Deuscher merged and built with `make deb-pkg`, it failed the last boot. [drm:evergreen_startup] *ERROR* radeon: error initializing UVD (-1). The strange thing is that it worked the last time I tried with the same Lin

[PATCH] drm: don't call ->firstopen for KMS drivers

2013-07-11 Thread Laurent Pinchart
Hi Daniel, On Wednesday 10 July 2013 20:17:44 Daniel Vetter wrote: > It has way too much potential for driver writers to do stupid things > like delayed hw setup because the load sequence is somehow racy (e.g. > the imx driver in staging). So don't call it for modesetting drivers, > which reduces

[PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-11 Thread Laurent Pinchart
Hi Daniel, Thanks for the patch. On Wednesday 10 July 2013 16:48:45 Daniel Vetter wrote: > I've checked both implementations (radeon/nouveau) and they both grab > the page array from ttm simply by dereferencing it and then wrapping > it up with drm_prime_pages_to_sg in the callback and map it wit

[Bug 66805] [radeonsi] half life 2 base games are segfaulting

2013-07-11 Thread bugzilla-dae...@freedesktop.org
mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/4881a8a5/attachment.html>

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-dae...@freedesktop.org
for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/f4ee69c8/attachment.html>

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-dae...@freedesktop.org
st just yet. Will report back as soon as possible. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/ed0c8033/attachment.html>

[Bug 66805] [radeonsi] half life 2 base games are segfaulting

2013-07-11 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/5a7a6ce4/attachment-0001.html>

[PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread David Herrmann
drm_gem_object_init() and drm_gem_private_object_init() do exactly the same (except for shmem alloc) so make the first use the latter to reduce code duplication. Also drop the return code from drm_gem_private_object_init(). It seems unlikely that we will extend it any time soon so no reason to kee

[PATCH 2/2] drm/pci: remove useles #if 1

2013-07-11 Thread David Herrmann
These don't make any sense, really.. Signed-off-by: David Herrmann --- drivers/gpu/drm/drm_pci.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index 80c0b2b..a7b46ff 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pc

[Bug 66731] texture issues in xonotic with llvm+sb and offset mapping

2013-07-11 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/38e55943/attachment.html>

[PATCH] drm: don't call ->firstopen for KMS drivers

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 9:54 AM, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 10 July 2013 20:17:44 Daniel Vetter wrote: >> It has way too much potential for driver writers to do stupid things >> like delayed hw setup because the load sequence is somehow racy (e.g. >> the imx driver in st

[PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Chris Wilson
On Thu, Jul 11, 2013 at 11:56:32AM +0200, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init().

[PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Daniel Vetter
On Thu, Jul 11, 2013 at 11:56:32AM +0200, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init().

[PATCH v2 02/20] drm/gem: convert to new unified vma manager

2013-07-11 Thread David Herrmann
Hi On Sun, Jul 7, 2013 at 7:17 PM, David Herrmann wrote: > Use the new vma manager instead of the old hashtable. Also convert all > drivers to use the new convenience helpers. This drops all the > (map_list.hash.key << PAGE_SHIFT) non-sense. > > Locking and access-management is exactly the same a

[PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Patrik Jakobsson
On Thu, Jul 11, 2013 at 11:56 AM, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init(). It seem

[PATCH v2 00/20] Unified VMA Offset Manager v2 (+Render Node RFC)

2013-07-11 Thread David Herrmann
Hi On Thu, Jul 11, 2013 at 1:12 PM, Martin Peres wrote: > On 07/07/2013 19:17, David Herrmann wrote: >> >> Hi >> >> This is v2 of the unified VMA offset manager series. The first draft is >> available at LWN [1]. This series replaces the VMA offset managers in GEM >> and >> TTM with a unified imp

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-11 Thread bugzilla-dae...@freedesktop.org
ding is far away from beeing perfect either. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/f8e790a2/attachment.html>

[PATCH 1/2] drm/gem: simplify object initialization

2013-07-11 Thread Rob Clark
On Thu, Jul 11, 2013 at 5:56 AM, David Herrmann wrote: > drm_gem_object_init() and drm_gem_private_object_init() do exactly the > same (except for shmem alloc) so make the first use the latter to reduce > code duplication. > > Also drop the return code from drm_gem_private_object_init(). It seems

[PULL] drm-intel-fixes

2013-07-11 Thread Daniel Vetter
Cc lists this time around ... -Daniel On Thu, Jul 11, 2013 at 2:06 PM, Daniel Vetter wrote: > Hi Dave, > > One feature latecomer, I've forgotten to merge the patch to reeanble the > Haswell power well feature now that the audio interaction is fixed up. > Since that was the only unfixed issue with

Radeon HD 6310 (AMD Wrestler): [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!

2013-07-11 Thread Alex Deucher
On Thu, Jul 11, 2013 at 3:41 AM, Paul Menzel wrote: > Dear Linux folks, > > > using a Linux 3.10 with the drm-next-3.11 tree from Alex Deuscher merged > and built with `make deb-pkg`, it failed the last boot. > > [drm:evergreen_startup] *ERROR* radeon: error initializing UVD (-1). > > The stra

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-dae...@freedesktop.org
next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/d24b3874/attachment.html>

Questions about TTM buffer object maping

2013-07-11 Thread Jerome Glisse
On Thu, Jul 11, 2013 at 2:24 AM, Daniel Vetter wrote: > On Wed, Jul 10, 2013 at 09:00:33PM -0400, Jerome Glisse wrote: >> On Wed, Jul 10, 2013 at 8:27 PM, Jean-S?bastien P?dron >> wrote: >> > Hello, >> > >> > I'm trying to understand how TTM buffer object mapping works on Linux, to >> > make this

[PATCH 00/39] clean out drm cruft and hide it better for kms drivers

2013-07-11 Thread Alex Deucher
On Wed, Jul 10, 2013 at 8:11 AM, Daniel Vetter wrote: > Hi all, > > I've figured that it's again time for a bit of (late) drm spring cleanup. This > series here consists of a pile of "rip old stuff out" patches interleaved with > "disable old cruft for kms drivers and hide it better". > > Comment

[Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes

2013-07-11 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/b0f4db0b/attachment.html>

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-11 Thread bugzilla-dae...@freedesktop.org
bed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/80d094f2/attachment.html>

[Bug 44772] Radeon HD6950 (Cayman): Resuming from hibernation fails sometimes

2013-07-11 Thread bugzilla-dae...@freedesktop.org
erything's documented there, I'll finally close this bug. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130711/07345f01/attachment.html>

[PATCH 1/3] drm/radeon: Disable dma rings for bo moves on r6xx

2013-07-11 Thread alexdeuc...@gmail.com
From: Alex Deucher They still seem to cause instability on some r6xx parts. As a follow up, we can switch to using CP DMA for bo moves on r6xx as a lighter weight alternative to using the 3D engine. A version of this patch should also go to stable kernels. Tested-by: J.N. Signed-off-by: Alex D

[PATCH 2/3] drm/radeon: implement bo copy callback using CP DMA (v2)

2013-07-11 Thread alexdeuc...@gmail.com
From: Alex Deucher Lighter weight than using the 3D engine. v2: fix ring count Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600.c| 81 ++ drivers/gpu/drm/radeon/r600d.h |1 + drivers/gpu/drm/radeon/radeon_asic.h |3 + 3 files

  1   2   >