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

2017-01-17 Thread Ilia Mirkin
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 hardware that does not support some of the >

Re: [Nouveau] [PATCH 2/6] drm/nouveau: Pass mode-dependent AVI and Vendor HDMI InfoFrames to NVKM

2017-01-17 Thread Ilia Mirkin
On Tue, Jan 17, 2017 at 5:42 PM, Alastair Bridgewater wrote: > Now that we have mechanism by which to pass mode-dependent HDMI > InfoFrames to the low-level hardware driver, it is incumbent upon > us to do so. > > Experimentation on a gt215 device suggests that the

Re: [Nouveau] [PATCH 1/6] drm/nouveau: Extend NVKM HDMI power control method to set InfoFrames

2017-01-17 Thread Ilia Mirkin
On Tue, Jan 17, 2017 at 5:41 PM, Alastair Bridgewater wrote: > The nouveau driver, in the Linux 3.7 days, used to try and set the > AVI InfoFrame based on the selected display mode. These days, it > uses a fixed set of InfoFrames. Start to correct that, by >

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

2017-01-17 Thread Michel Dänzer
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 >> --- >> .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 92

[Nouveau] [PATCH 4/6] drm/nouveau: Use supplied HDMI InfoFrames on GK104 hardware

2017-01-17 Thread Alastair Bridgewater
Now that we have the InfoFrame data being provided, for the most part, program the hardware to use it. While we're here, and since the functionality will come in handy for supporting 3D stereoscopy, implement setting the Vendor ("generic"?) InfoFrame. Also don't enable any InfoFrame that is not

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

2017-01-17 Thread Alastair Bridgewater
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 hardware that does not support some of the so-called "mandatory" modes. More seriously, this code generates invalid display modes for both of

[Nouveau] [PATCH 1/6] drm/nouveau: Extend NVKM HDMI power control method to set InfoFrames

2017-01-17 Thread Alastair Bridgewater
The nouveau driver, in the Linux 3.7 days, used to try and set the AVI InfoFrame based on the selected display mode. These days, it uses a fixed set of InfoFrames. Start to correct that, by providing a mechanism whereby InfoFrame data may be passed to the NVKM functions that do the actual

[Nouveau] [PATCH 2/6] drm/nouveau: Pass mode-dependent AVI and Vendor HDMI InfoFrames to NVKM

2017-01-17 Thread Alastair Bridgewater
Now that we have mechanism by which to pass mode-dependent HDMI InfoFrames to the low-level hardware driver, it is incumbent upon us to do so. Experimentation on a gt215 device suggests that the Audio InfoFrame is not required here, possibly being provided by the HDA device when necessary

[Nouveau] [PATCH 6/6] drm/nouveau: Enable stereoscopic 3D output over HDMI

2017-01-17 Thread Alastair Bridgewater
This is a bit sketchy in terms of implementation, with some rough edges, but for the most part IT WORKS. That is to say, I get an obvious 3D output when using the "testdisplay" program from intel-gpu-tools with the "-3" parameter and outputting to a 3D-capable HDMI display. Rough edges include:

[Nouveau] [PATCH 0/6] drm/nouveau: Enable HDMI Stereoscopy

2017-01-17 Thread Alastair Bridgewater
This is an initial implementation of HDMI 3D mode support for the nouveau kernel driver. It works on all of the hardware that I have available to test at the moment, but I am unsure as to the overall approach taken for setting HDMI InfoFrames, there's no support for g84 or gf119 disps, and the

Re: [Nouveau] GSOC project

2017-01-17 Thread Karol Herbst
Hi, I think a nice project would be to write an application to figure out those latencies automatically maybe even based on envydis. It could generate latency information based on thread count, register usage, instruction/instruction class, hw unit used. Or even tries to figure out what kind

Re: [Nouveau] GSOC project

2017-01-17 Thread Ilia Mirkin
There's not a lot of information about it. Basically we need 2 instruction scheduling passes -- one pre-RA and one post-RA. The prerequisites are "know how compilers work" and "have a GPU that you can test performance on". I won't beat around the bush - this is a very tough project. Every attempt

[Nouveau] GSOC project

2017-01-17 Thread Shailesh Tripathi
Hello, I am quite interested in the project "Instruction Scheduler" under X.org. Please tell me where can I find a detailed idea of the project and how to start it. I think I have the given prerequisites. Regards Shailesh Tripathi Shailesh Tripathi B.Tech. Part-IV Electronics Engineering

[Nouveau] Discrete card is always off even if it is used

2017-01-17 Thread michele
Hi, I have a computer with an integrated graphic card and a discrete graphic card, namely: # lspci | grep -E "VGA|3D" 00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09) 03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2) This

[Nouveau] [Bug 99400] [nouveau] garbled rendering with glamor on G71

2017-01-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99400 --- Comment #11 from Olivier Fourdan --- (In reply to Olivier Fourdan from comment #10) > (In reply to Olivier Fourdan from comment #9) > > glamor_composite_choose_shader: Unsupported source picture format. > >

Re: [Nouveau] [PATCH 1/4] drm/atomic: Save flip flags in drm_plane_state

2017-01-17 Thread Laurent Pinchart
Hi Andrey, On Tuesday 17 Jan 2017 04:03:11 Grodzovsky, Andrey wrote: > On Monday, January 16, 2017 5:18 PM Laurent Pinchart wrote: > > On Monday 16 Jan 2017 10:44:55 Andrey Grodzovsky wrote: > > > Allows using atomic flip helpers for drivers using ASYNC flip. > > > Remove ASYNC_FLIP restriction

[Nouveau] [Bug 91247] Tomb Raider: Underworld renders lots of artefacts on models and objects

2017-01-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91247 --- Comment #10 from Samuel Pitoiset --- Good to know. Maybe F1 2015 now works by luck too? :) -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the

Re: [Nouveau] [PATCH 1/4] drm/atomic: Save flip flags in drm_plane_state

2017-01-17 Thread Ville Syrjälä
On Mon, Jan 16, 2017 at 10:44:55AM -0500, Andrey Grodzovsky wrote: > Allows using atomic flip helpers for drivers > using ASYNC flip. > Remove ASYNC_FLIP restriction in helpers and > caches the page flip flags in drm_plane_state > to be used in the low level drivers. > > Signed-off-by: Andrey

Re: [Nouveau] [PATCH 1/4] drm/atomic: Save flip flags in drm_plane_state

2017-01-17 Thread Grodzovsky, Andrey
> -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Monday, January 16, 2017 5:18 PM > To: dri-de...@lists.freedesktop.org > Cc: Grodzovsky, Andrey; nouveau@lists.freedesktop.org; amd- > g...@lists.freedesktop.org; Deucher, Alexander;

Re: [Nouveau] [PATCH v2 0/3] Allow ASYNC flip with atomic helpers.

2017-01-17 Thread Edward O'Callaghan
This series is, Reviewed-by: Edward O'Callaghan On 01/17/2017 04:16 PM, Andrey Grodzovsky wrote: > This series is a folow-up on > https://patchwork.kernel.org/patch/9501787/ > > The first patch makes changes to atomic helpers to allow for > drives with ASYNC flip

Re: [Nouveau] [PATCH 1/4] drm/atomic: Save flip flags in drm_plane_state

2017-01-17 Thread Laurent Pinchart
Hi Andrey, Thank you for the patch. On Monday 16 Jan 2017 10:44:55 Andrey Grodzovsky wrote: > Allows using atomic flip helpers for drivers > using ASYNC flip. > Remove ASYNC_FLIP restriction in helpers and > caches the page flip flags in drm_plane_state > to be used in the low level drivers. >

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

2017-01-17 Thread Andrey Grodzovsky
Change-Id: Iad3e0b9b3546e4e4dc79be9233daf4fe4dba83e0 Signed-off-by: Andrey Grodzovsky --- .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 92 ++ 1 file changed, 6 insertions(+), 86 deletions(-) diff --git

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

2017-01-17 Thread Andrey Grodzovsky
Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 - .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 92 ++ 2 files changed, 6 insertions(+), 87 deletions(-) diff --git

[Nouveau] [PATCH v2 3/3] drm/nouveau/kms/nv50: Switch to using atomic helper for flip.

2017-01-17 Thread Andrey Grodzovsky
Change-Id: I5a3189c03e389af2ff6c13d870a7d28282b7b0ee Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/nouveau/nv50_display.c | 77 +++--- 1 file changed, 5 insertions(+), 72 deletions(-) diff --git

[Nouveau] [PATCH 4/4] drm/nouveau/kms/nv50: Switch to using atomic helper for flip.

2017-01-17 Thread Andrey Grodzovsky
Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/nouveau/nv50_display.c | 77 +++--- 1 file changed, 5 insertions(+), 72 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index

[Nouveau] [PATCH v2 0/3] Allow ASYNC flip with atomic helpers.

2017-01-17 Thread Andrey Grodzovsky
This series is a folow-up on https://patchwork.kernel.org/patch/9501787/ The first patch makes changes to atomic helpers to allow for drives with ASYNC flip support to use them. Patch 2 is to use this in AMDGPU/DC. Patch 3 is possible cleanup in nouveau/kms who seems to have to duplicate the

[Nouveau] [PATCH v2 1/3] drm/atomic: Save flip flags in drm_plane_state

2017-01-17 Thread Andrey Grodzovsky
Allows using atomic flip helpers for drivers using ASYNC flip. Remove ASYNC_FLIP restriction in helpers and caches the page flip flags in drm_plane_state to be used in the low level drivers. v2: Resending the patch since the original was broken. Remove comment about not supporting ASYNC flips.

[Nouveau] [PATCH 0/4] Allow ASYNC flip with atomic helpers.

2017-01-17 Thread Andrey Grodzovsky
This series is a folow-up on https://patchwork.kernel.org/patch/9501787/ The first patch makes changes to atomic helpers to allow for drives with ASYNC flip support to use them. Patches 2 and 3 are to use this in AMDGPU/DC and patch 4 is possible cleanup in nouveau/kms who seems to have the

[Nouveau] [PATCH 1/4] drm/atomic: Save flip flags in drm_plane_state

2017-01-17 Thread Andrey Grodzovsky
Allows using atomic flip helpers for drivers using ASYNC flip. Remove ASYNC_FLIP restriction in helpers and caches the page flip flags in drm_plane_state to be used in the low level drivers. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/drm_atomic_helper.c | 10

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

2017-01-17 Thread Laurent Pinchart
Hi Andrey, Thank you for the patch. On Monday 16 Jan 2017 10:44:57 Andrey Grodzovsky wrote: > Change-Id: Iad3e0b9b3546e4e4dc79be9233daf4fe4dba83e0 > Signed-off-by: Andrey Grodzovsky > --- > .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c| 92 ++ >

Re: [Nouveau] [PATCH 0/4] Allow ASYNC flip with atomic helpers.

2017-01-17 Thread Laurent Pinchart
Hi Harry, On Monday 16 Jan 2017 16:13:39 Harry Wentland wrote: > On 2017-01-16 03:39 PM, Laurent Pinchart wrote: > > On Monday 16 Jan 2017 10:44:54 Andrey Grodzovsky wrote: > >> This series is a folow-up on > >> https://patchwork.kernel.org/patch/9501787/ > >> > >> The first patch makes changes

[Nouveau] [PATCH 2/4] drm/amdgpu: Remove flip_flag from amdgpu_crtc

2017-01-17 Thread Andrey Grodzovsky
Follwing introduction of pflip_flags in drm_plane_state this is not needed anymore. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h

Re: [Nouveau] [PATCH 1/4] drm/atomic: Save flip flags in drm_plane_state

2017-01-17 Thread Grodzovsky, Andrey
> -Original Message- > From: Gustavo Padovan [mailto:gust...@padovan.org] > Sent: Monday, January 16, 2017 3:22 PM > To: Grodzovsky, Andrey > Cc: dri-de...@lists.freedesktop.org; nouveau@lists.freedesktop.org; amd- > g...@lists.freedesktop.org; Deucher, Alexander; daniel.vet...@intel.com

Re: [Nouveau] [PATCH 0/4] Allow ASYNC flip with atomic helpers.

2017-01-17 Thread Laurent Pinchart
Hi Andrey, Thank you for the patches. On Monday 16 Jan 2017 10:44:54 Andrey Grodzovsky wrote: > This series is a folow-up on > https://patchwork.kernel.org/patch/9501787/ > > The first patch makes changes to atomic helpers > to allow for drives with ASYNC flip support to use them. > Patches 2

Re: [Nouveau] [PATCH 2/4] drm/amdgpu: Remove flip_flag from amdgpu_crtc

2017-01-17 Thread Laurent Pinchart
Hi Andrey, Thank you for the patch. On Monday 16 Jan 2017 10:44:56 Andrey Grodzovsky wrote: > Follwing introduction of pflip_flags in drm_plane_state > this is not needed anymore. > > Signed-off-by: Andrey Grodzovsky > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h