Re: [Intel-gfx] [PATCH v3 19/21] drm/i915: Move HAS_GMCH_DISPLAY definition to platform

2016-08-15 Thread Rodrigo Vivi
On Tue, Aug 09, 2016 at 11:45:25AM -0700, Carlos Santa wrote: > Moving all GPU features to the platform definition allows for > - standard place when adding new features from new platforms > - possible to see supported features when dumping struct > definitions > > Signed-off-b

Re: [Intel-gfx] [PATCH 11/25] drm/i915/fbc: fix the FBC state checking code

2016-08-15 Thread Chris Wilson
On Tue, Jan 19, 2016 at 11:35:44AM -0200, Paulo Zanoni wrote: > We'll now call intel_fbc_pre_update instead of intel_fbc_deactivate > during atomic commits. This will continue to guarantee that we > deactivate FBC and it will also update the state checking structures > at the correct time. Then, la

Re: [Intel-gfx] [PATCH v3 20/21] drm/i915: Make HWS_NEEDS_PHYSICAL the exception

2016-08-15 Thread Rodrigo Vivi
On Tue, Aug 09, 2016 at 11:45:26AM -0700, Carlos Santa wrote: > Make the .hws_needs_physical the exception by switching the flag > on earlier platforms since they are fewer to support. Remove the flag on > later GPUs hardware since they all use GTT hws by default. > > Switch the logic as well in t

Re: [Intel-gfx] [PATCH v3 21/21] drm/i915: Move HAS_GUC definition to platform definition

2016-08-15 Thread Rodrigo Vivi
On Tue, Aug 09, 2016 at 11:45:27AM -0700, Carlos Santa wrote: > Moving all GPU features to the platform definition allows for > - standard place when adding new features from new platform > - possible to see supported features when dumping struct > definitions > Reviewed-by

[Intel-gfx] [PATCH] drm/i915/fbc: disable FBC on FIFO underruns

2016-08-15 Thread Paulo Zanoni
Ever since I started working on FBC I was already aware that FBC can really amplify the FIFO underrun symptoms. On systems where FIFO underruns were harmless error messages, enabling FBC would cause the underruns to give black screens. We recently tried to enable FBC on Haswell and got reports of

Re: [Intel-gfx] [PATCH 11/25] drm/i915/fbc: fix the FBC state checking code

2016-08-15 Thread Zanoni, Paulo R
Em Seg, 2016-08-15 às 21:55 +0100, Chris Wilson escreveu: > On Tue, Jan 19, 2016 at 11:35:44AM -0200, Paulo Zanoni wrote: > > > > We'll now call intel_fbc_pre_update instead of intel_fbc_deactivate > > during atomic commits. This will continue to guarantee that we > > deactivate FBC and it will al

[Intel-gfx] [PATCH v2 3/3] drm/i915: start adding dp mst audio

2016-08-15 Thread Dhinakaran Pandiyan
From: Libin Yang (This patch is developed by Dave Airlie originally) This patch adds support for DP MST audio in i915. Enable audio codec when DP MST is enabled if has_audio flag is set. Disable audio codec when DP MST is disabled if has_audio flag is set. Another separated patches to support

[Intel-gfx] [PATCH v2 0/3] Prep. for DP audio MST support

2016-08-15 Thread Dhinakaran Pandiyan
This series lays the groundwork for more DP MST audio work that will follow. (c) got possibly reverted because enc_to_dig_port() was incorrectly used on MST encoders. Let's bring it back with the fix introduced in (a). v2: (a) -different solution replacing the enc_to_dig_port() fix (Ville, Lyude

[Intel-gfx] [PATCH v2 1/3] drm/i915: Add function to return port from an encoder

2016-08-15 Thread Dhinakaran Pandiyan
There are places in the driver where we just need the 'port' associated with an encoder and not 'struct intel_digital_port' that contains it. This basically is a generic implementation of intel_ddi_get_encoder_port() handling both DDI and Non-DDI encoders. The handling of the analog encoder is dele

[Intel-gfx] [PATCH v2 2/3] drm/i915: Move audio_connector to intel_encoder

2016-08-15 Thread Dhinakaran Pandiyan
With DP MST, a digital_port can carry more than one audio stream. Hence, more than one audio_connector needs to be attached to intel_digital_port in such cases. However, each stream is associated with an unique encoder. So, instead of creating an array of audio_connectors per port, move audio_conne

[Intel-gfx] [PATCH 0/2] Adapt patches from Jani to solve brightness hot key problem

2016-08-15 Thread Marcos Paulo de Souza
Hi guys, these are the same patches that Jani sent some time ago[1], but adapted to current 4.8-rc1. These fixed the problem I had with my Asus laptop[2], and now the brightness hotkeys are working in my machine. The only adaptation needed was change dev_priv->dev to dev_priv->drm on for_each_

[Intel-gfx] [PATCH 2/2] drm/i915/opregion: update cadl based on actually active outputs

2016-08-15 Thread Marcos Paulo de Souza
From: Jani Nikula Previously we've just shoved the first eight devices in DIDL to CADL (list of active outputs). Some of the active outputs may have been left outside of CADL. The problem is, some BIOS implementations prevent laptop brightness hotkey propagation if the flat panel is not active.

[Intel-gfx] [PATCH 1/2] drm/i915: make i915 the source of acpi device ids for _DOD

2016-08-15 Thread Marcos Paulo de Souza
From: Jani Nikula The graphics driver is supposed to define the DIDL, which are used for _DOD, not the BIOS. Restore that behaviour. This is basically a revert of commit 3143751ff51a163b77f7efd389043e038f3e008e Author: Zhang Rui Date: Mon Mar 29 15:12:16 2010 +0800 drm/i915: set DIDL us

Re: [Intel-gfx] [PATCH 14/18] drm/i915: Forcefully flush GuC log buffer on reset

2016-08-15 Thread Goel, Akash
On 8/15/2016 9:18 PM, Tvrtko Ursulin wrote: On 15/08/16 15:49, akash.g...@intel.com wrote: From: Sagar Arun Kamble Before capturing the GuC logs as a part of error state, there should be a force log buffer flush action sent to GuC before proceeding with GPU reset and re-initializing GUC. Th

[Intel-gfx] ✗ Ro.CI.BAT: warning for drm/i915: Silence GCC warning for cmn_a_well

2016-08-15 Thread Patchwork
== Series Details == Series: drm/i915: Silence GCC warning for cmn_a_well URL : https://patchwork.freedesktop.org/series/11121/ State : warning == Summary == Series 11121v1 drm/i915: Silence GCC warning for cmn_a_well http://patchwork.freedesktop.org/api/1.0/series/11121/revisions/1/mbox Test

Re: [Intel-gfx] [PATCH 06/18] drm/i915: Handle log buffer flush interrupt event from GuC

2016-08-15 Thread Goel, Akash
On 8/15/2016 10:26 PM, Chris Wilson wrote: On Mon, Aug 15, 2016 at 10:16:56PM +0530, Goel, Akash wrote: On 8/15/2016 9:36 PM, Chris Wilson wrote: On Mon, Aug 15, 2016 at 08:19:47PM +0530, akash.g...@intel.com wrote: +static void guc_read_update_log_buffer(struct intel_guc *guc) +{ +

[Intel-gfx] ✗ Ro.CI.BAT: failure for drm/i915/fbc: disable FBC on FIFO underruns (rev2)

2016-08-15 Thread Patchwork
== Series Details == Series: drm/i915/fbc: disable FBC on FIFO underruns (rev2) URL : https://patchwork.freedesktop.org/series/8575/ State : failure == Summary == Series 8575v2 drm/i915/fbc: disable FBC on FIFO underruns http://patchwork.freedesktop.org/api/1.0/series/8575/revisions/2/mbox Te

[Intel-gfx] ✗ Ro.CI.BAT: failure for Prep. for DP audio MST support

2016-08-15 Thread Patchwork
== Series Details == Series: Prep. for DP audio MST support URL : https://patchwork.freedesktop.org/series/11129/ State : failure == Summary == Series 11129v1 Prep. for DP audio MST support http://patchwork.freedesktop.org/api/1.0/series/11129/revisions/1/mbox Test kms_cursor_legacy:

[Intel-gfx] ✗ Ro.CI.BAT: failure for Adapt patches from Jani to solve brightness hot key problem

2016-08-15 Thread Patchwork
== Series Details == Series: Adapt patches from Jani to solve brightness hot key problem URL : https://patchwork.freedesktop.org/series/11134/ State : failure == Summary == Series 11134v1 Adapt patches from Jani to solve brightness hot key problem http://patchwork.freedesktop.org/api/1.0/serie

<    1   2   3