[Nouveau] [PATCH v3 2/3] drm/amd/display: Switch to using atomic_helper for flip.

2017-01-18 Thread Andrey Grodzovsky
v3: Remove white space change. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 - .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 89 ++ 2 files changed, 5 insertions(+), 85 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgp

[Nouveau] [Bug 99396] Crash in nouveau_dri.so when switching apps with alt-tab in Gnome

2017-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99396 --- Comment #4 from a...@cornell.edu --- Thanks for the reply, Ilia. The video card is a GeForce 750M (GK107) in a mid-2014 MacBook Pro Retina. I rebuilt the library without stripping symbols and then reproduced the crash. Here's an updated stack

[Nouveau] [Bug 99396] Crash in nouveau_dri.so when switching apps with alt-tab in Gnome

2017-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99396 --- Comment #3 from Ilia Mirkin --- A backtrace would be a good start (with symbols, obviously). Also, make a mention of which GPU you're using. Lastly, I'm not sure if gnome-shell has jumped on the "let's use GL from multiple threads" bandwagon,

[Nouveau] [Bug 99396] Crash in nouveau_dri.so when switching apps with alt-tab in Gnome

2017-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99396 --- Comment #2 from a...@cornell.edu --- FYI, I've managed to reproduce this bug with both mesa 13.0.3 as well as the current HEAD of master (180653c357d19ca88f7895f59874a58fac99cc53). I've also reproduced it with various versions of the kernel (m

Re: [Nouveau] [PATCH 3/4] drm/amd/display: Switch to using atomic_helper for flip.

2017-01-18 Thread Michel Dänzer
On 19/01/17 07:18 AM, Grodzovsky, Andrey wrote: >> From: Michel Dänzer [mailto:mic...@daenzer.net] >> On 17/01/17 07:16 AM, Laurent Pinchart wrote: >>> On Monday 16 Jan 2017 10:44:57 Andrey Grodzovsky wrote: Change-Id: Iad3e0b9b3546e4e4dc79be9233daf4fe4dba83e0 Signed-off-by: Andrey Grodzo

Re: [Nouveau] [PATCH 3/4] drm/amd/display: Switch to using atomic_helper for flip.

2017-01-18 Thread Grodzovsky, Andrey
> -Original Message- > From: Michel Dänzer [mailto:mic...@daenzer.net] > Sent: Tuesday, January 17, 2017 8:50 PM > To: Laurent Pinchart > Cc: dri-de...@lists.freedesktop.org; Grodzovsky, Andrey; > daniel.vet...@intel.com; amd-...@lists.freedesktop.org; > nouveau@lists.freedesktop.org > Subj

[Nouveau] [PATCH] drm/nouveau/led: prevent a possible use-after-free

2017-01-18 Thread Martin Peres
If the led class registration fails, we free drm->led but do not reset it to NULL, which means that the suspend/resume/fini function will act as if everything went well in init() and will likely crash the kernel. This patch adds the missing drm->led = NULL. Reported-by: Emmanuel Pescosta Signed-

[Nouveau] [Bug 95282] G96: system hang on video playback via vdpau

2017-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95282 David Kredba changed: What|Removed |Added CC||nheghathivhis...@gmail.com --- Comment #1

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Alastair Bridgewater
On Wed, Jan 18, 2017 at 2:01 PM, Damien Lespiau wrote: > > On Wed, Jan 18, 2017 at 01:48:04PM -0500, Ilia Mirkin wrote: > > After some more conversations with Alastair, it sounds like what's > > actually going on is that it's just the frame-packing modes that > > aren't working, but all the side-b

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Damien Lespiau
On Wed, Jan 18, 2017 at 01:48:04PM -0500, Ilia Mirkin wrote: > After some more conversations with Alastair, it sounds like what's > actually going on is that it's just the frame-packing modes that > aren't working, but all the side-by-side and top-and-bottom modes from > the "mandatory" list work.

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Damien Lespiau
On Wed, Jan 18, 2017 at 04:33:43PM +, Damien Lespiau wrote: > On Wed, Jan 18, 2017 at 11:27:16AM -0500, Ilia Mirkin wrote: > > Damien - did you ever test these mandatory modes on an actual > > commercial 3D TV or similar device? > > My main testing device was a Samsung TV with this 3D_present

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Damien Lespiau
On Wed, Jan 18, 2017 at 11:27:16AM -0500, Ilia Mirkin wrote: > Damien - did you ever test these mandatory modes on an actual > commercial 3D TV or similar device? My main testing device was a Samsung TV with this 3D_present bit set and all the advertised modes were working. Can't quite remember if

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Damien Lespiau
On Wed, Jan 18, 2017 at 12:10:56AM -0500, Ilia Mirkin wrote: > On Tue, Jan 17, 2017 at 5:42 PM, Alastair Bridgewater > wrote: > > HDMI specification 1.4a, table 8-15 is very explicitly a "must > > support at least one of" table, not a "must support all of" table. > > It is not hard to find hardwar

[Nouveau] [Bug 92922] [NVE6] Xorg random freeze

2017-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92922 David Kredba changed: What|Removed |Added CC||nheghathivhis...@gmail.com --- Comment #7

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Ilia Mirkin
On Wed, Jan 18, 2017 at 11:57 AM, Ilia Mirkin wrote: > On Wed, Jan 18, 2017 at 11:41 AM, Damien Lespiau > wrote: >> On Wed, Jan 18, 2017 at 04:33:43PM +, Damien Lespiau wrote: >>> On Wed, Jan 18, 2017 at 11:27:16AM -0500, Ilia Mirkin wrote: >>> > Damien - did you ever test these mandatory mod

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Ilia Mirkin
On Wed, Jan 18, 2017 at 11:41 AM, Damien Lespiau wrote: > On Wed, Jan 18, 2017 at 04:33:43PM +, Damien Lespiau wrote: >> On Wed, Jan 18, 2017 at 11:27:16AM -0500, Ilia Mirkin wrote: >> > Damien - did you ever test these mandatory modes on an actual >> > commercial 3D TV or similar device? >> >

Re: [Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

2017-01-18 Thread Ilia Mirkin
On Wed, Jan 18, 2017 at 6:45 AM, Damien Lespiau wrote: > On Wed, Jan 18, 2017 at 12:10:56AM -0500, Ilia Mirkin wrote: >> On Tue, Jan 17, 2017 at 5:42 PM, Alastair Bridgewater >> wrote: >> > HDMI specification 1.4a, table 8-15 is very explicitly a "must >> > support at least one of" table, not a "

Re: [Nouveau] [PATCH 3/4] drm/amd/display: Switch to using atomic_helper for flip.

2017-01-18 Thread Laurent Pinchart
Hi Michel, On Wednesday 18 Jan 2017 10:50:01 Michel Dänzer wrote: > On 17/01/17 07:16 AM, Laurent Pinchart wrote: > > On Monday 16 Jan 2017 10:44:57 Andrey Grodzovsky wrote: > >> Change-Id: Iad3e0b9b3546e4e4dc79be9233daf4fe4dba83e0 > >> Signed-off-by: Andrey Grodzovsky > >> --- > >> > >> .../dr