[Intel-gfx] ✓ Fi.CI.BAT: success for GuC 32.0.3 (rev4)

2019-04-16 Thread Patchwork
== Series Details == Series: GuC 32.0.3 (rev4) URL : https://patchwork.freedesktop.org/series/58760/ State : success == Summary == CI Bug Log - changes from CI_DRM_5942 -> Patchwork_12818 Summary --- **SUCCESS** No regressions fou

Re: [Intel-gfx] [PULL] gvt-next

2019-04-16 Thread Joonas Lahtinen
Quoting Zhenyu Wang (2019-04-16 11:48:14) > On 2019.04.16 10:29:03 +0300, Joonas Lahtinen wrote: > > I'm getting an error while pulling this, could you check it: > > > > From https://github.com/intel/gvt-linux > >* tag gvt-next-2019-04-09 -> FETCH_HEAD > > dim: 66bd

[Intel-gfx] [PATCH i-g-t] i915: Update i915_drm.h

2019-04-16 Thread Chris Wilson
Copy uapi/i915_drm.h across from kernel commit d1172ab3d443e84ade75285f8c107bfac7e386d8 Author: Chris Wilson Date: Fri Apr 12 08:14:16 2019 +0100 drm/i915: Introduce struct class_instance for engines across the uAPI and adapt gem_ctx_sseu to match the new struct. Signed-off-by: Chris Wils

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for GuC 32.0.3 (rev4)

2019-04-16 Thread Patchwork
== Series Details == Series: GuC 32.0.3 (rev4) URL : https://patchwork.freedesktop.org/series/58760/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915/guc: Change platform default GuC mode Okay! Commit: drm/i915/guc: Don't allow GuC submission O

[Intel-gfx] [PATCH v3 06/19] drm/i915/guc: Update suspend/resume protocol

2019-04-16 Thread Michal Wajdeczko
New GuC firmwares use updated sleep status definitions. The polling on scratch register 14 is also now required only on suspend and there is no need to provide the shared page. v2: include changes for polling and shared page Signed-off-by: Michal Wajdeczko Signed-off-by: Daniele Ceraolo Spurio

[Intel-gfx] [PATCH v3 02/19] drm/i915/guc: Don't allow GuC submission

2019-04-16 Thread Michal Wajdeczko
Due to the upcoming changes to the GuC ABI interface, we must disable GuC submission mode until final ABI will be available on all GuC firmwares. To avoid regressions on systems configured to run with no longer supported configuration "enable_guc=3" or "enable_guc=1" clear GuC submission bit. v2:

[Intel-gfx] [PATCH v3 14/19] drm/i915/guc: Create vfuncs for the GuC interrupts control functions

2019-04-16 Thread Michal Wajdeczko
From: Oscar Mateo Controlling and handling of the GuC interrupts is Gen specific. Create virtual functions to avoid redundant runtime Gen checks. Gen-specific versions of these functions will follow. v2: move vfuncs to struct guc (Daniele) Signed-off-by: Oscar Mateo Signed-off-by: Michal Wajde

[Intel-gfx] [PATCH v3 19/19] drm/i915/huc: Define HuC firmware version for Icelake

2019-04-16 Thread Michal Wajdeczko
This patch adds the support to load HuC on ICL. Signed-off-by: Michal Wajdeczko Cc: Daniele Ceraolo Spurio Cc: Joonas Lahtinen Cc: Anusha Srivatsa Cc: Tony Ye --- drivers/gpu/drm/i915/intel_huc_fw.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_

[Intel-gfx] [PATCH v3 05/19] drm/i915/guc: Update GuC boot parameters

2019-04-16 Thread Michal Wajdeczko
New GuC firmwares require updated boot parameters. v2: rebased Signed-off-by: Michal Wajdeczko Cc: Joonas Lahtinen Cc: Tvrtko Ursulin Cc: Daniele Ceraolo Spurio Cc: John Spotswood Reviewed-by: Daniele Ceraolo Spurio --- drivers/gpu/drm/i915/intel_guc.c | 38 +-

[Intel-gfx] [PATCH v3 04/19] drm/i915/guc: Update GuC firmware CSS header

2019-04-16 Thread Michal Wajdeczko
There are few minor changes in the CSS header related to the version numbering in new GuC firmwares. Update our definition and start using common tools for extracting bitfields. v2: drop deprecated prod_preprod_fw field, replace unions with bit defs Signed-off-by: Michal Wajdeczko Cc: Daniele Ce

[Intel-gfx] [PATCH v3 16/19] drm/i915/guc: Update GuC CTB response definition

2019-04-16 Thread Michal Wajdeczko
Current GuC firmwares identify response message in a different way. v2: update comments for other H2G bits (Daniele) Signed-off-by: Michal Wajdeczko Cc: Daniele Ceraolo Spurio Cc: Kelvin Gardiner Cc: John Spotswood Reviewed-by: Daniele Ceraolo Spurio --- drivers/gpu/drm/i915/intel_guc_ct.c

[Intel-gfx] [PATCH v3 18/19] drm/i915/guc: Define GuC firmware version for Icelake

2019-04-16 Thread Michal Wajdeczko
Define GuC firmware version for Icelake. Signed-off-by: Michal Wajdeczko Cc: Daniele Ceraolo Spurio Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Anusha Srivatsa Reviewed-by: Anusha Srivatsa --- drivers/gpu/drm/i915/intel_guc_fw.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-

[Intel-gfx] [PATCH v3 15/19] drm/i915/guc: Correctly handle GuC interrupts on Gen11

2019-04-16 Thread Michal Wajdeczko
From: Oscar Mateo The GuC interrupts now get their own interrupt vector (instead of sharing a register with the PM interrupts) so handle appropriately. v2: (Chris) v3: rebased (Michal) Bspec: 19820 Signed-off-by: Oscar Mateo Signed-off-by: Michal Wajdeczko Cc: Tvrtko Ursulin Cc: Daniele Cera

[Intel-gfx] [PATCH v3 12/19] drm/i915/guc: New GuC scratch registers for Gen11

2019-04-16 Thread Michal Wajdeczko
Gen11 adds new set of scratch registers that can be used for MMIO based Host-to-Guc communication. Due to limited number of these registers it is expected that host will use them only for command transport buffers (CTB) communication setup if one is available. Bspec: 21044 Signed-off-by: Michal W

[Intel-gfx] [PATCH v3 10/19] drm/i915/guc: Always ask GuC to update power domain states

2019-04-16 Thread Michal Wajdeczko
With newer GuC firmware it is always ok to ask GuC to update power domain states. Make it an unconditional initialization step. Signed-off-by: Michal Wajdeczko Cc: Daniele Ceraolo Spurio Cc: John Spotswood Reviewed-by: Daniele Ceraolo Spurio Reviewed-by: John Spotswood --- drivers/gpu/drm/i9

[Intel-gfx] [PATCH v3 07/19] drm/i915/guc: Update GuC sample-forcewake command

2019-04-16 Thread Michal Wajdeczko
New GuC firmwares use different action code value for this command. Signed-off-by: Michal Wajdeczko Cc: John Spotswood Cc: Daniele Ceraolo Spurio Reviewed-by: Daniele Ceraolo Spurio Reviewed-by: John Spotswood --- drivers/gpu/drm/i915/intel_guc_fwif.h | 2 +- 1 file changed, 1 insertion(+),

[Intel-gfx] [PATCH v3 01/19] drm/i915/guc: Change platform default GuC mode

2019-04-16 Thread Michal Wajdeczko
Today our most desired GuC configuration is to only enable HuC if it is available and we really don't care about GuC submission. Change platform default GuC mode to match our desire. Signed-off-by: Michal Wajdeczko Cc: Joonas Lahtinen Cc: Chris Wilson Cc: Rodrigo Vivi Cc: Daniele Ceraolo Spuri

[Intel-gfx] [PATCH v3 11/19] drm/i915/guc: New GuC interrupt register for Gen11

2019-04-16 Thread Michal Wajdeczko
Gen11 defines new more flexible Host-to-GuC interrupt register. Now the host can write any 32-bit payload to trigger an interrupt and GuC can additionally read this payload from the register. Current GuC firmware ignores the payload so we just write 0. Bspec: 21043 Signed-off-by: Michal Wajdeczko

[Intel-gfx] [PATCH v3 13/19] drm/i915/huc: New HuC status register for Gen11

2019-04-16 Thread Michal Wajdeczko
Gen11 defines new register for checking HuC authentication status. Look into the right register and bit. v2: use reg/mask/value instead of dedicated functions (Daniele) BSpec: 19686 Signed-off-by: Michal Wajdeczko Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tony Ye Cc: Vinay Belgaumkar Cc: Joh

[Intel-gfx] [PATCH v3 17/19] drm/i915/guc: Enable GuC CTB communication on Gen11

2019-04-16 Thread Michal Wajdeczko
Gen11 GuC firmware expects H2G command messages to be sent over CTB (command transport buffers). Signed-off-by: Michal Wajdeczko Cc: Daniele Ceraolo Spurio Cc: Joonas Lahtinen Cc: John Spotswood Reviewed-by: Daniele Ceraolo Spurio --- drivers/gpu/drm/i915/i915_pci.c | 1 + 1 file changed, 1

[Intel-gfx] [PATCH v3 09/19] drm/i915/guc: Reset GuC ADS during sanitize

2019-04-16 Thread Michal Wajdeczko
GuC stores some data in there, which might be stale after a reset. Reinitialize whole ADS in case any part of it was corrupted during previous GuC run. v2: s/reinit/init, update functions descriptions (Tomek/Michal) Signed-off-by: Michal Wajdeczko Cc: Daniele Ceraolo Spurio Cc: MichaĹ Winiarski

[Intel-gfx] [PATCH v3 08/19] drm/i915/guc: Update GuC ADS object definition

2019-04-16 Thread Michal Wajdeczko
New GuC firmwares use updated definitions for the Additional Data Structures (ADS). v2: add note about Gen9 definition mismatch (Daniele) rename __intel_engine_context_size (Daniele) Signed-off-by: Michal Wajdeczko Signed-off-by: Daniele Ceraolo Spurio Signed-off-by: Fernando Pacheco Cc: J

[Intel-gfx] [PATCH v3 03/19] drm/i915/guc: Update GuC firmware versions and names

2019-04-16 Thread Michal Wajdeczko
GuC firmware changed its release version numbering schema and now it also includes patch version. Update our GuC firmware path definitions to match new pattern: _guc_...bin While here, reorder platform checks and start from the latest. v2: keep single platform defs in one block (Daniele) Si

[Intel-gfx] [PATCH v3 00/19] GuC 32.0.3

2019-04-16 Thread Michal Wajdeczko
New GuC firmwares (for SKL, BXT, KBL, ICL) with updated ABI interface. Note: For correct bisecting, patches 3-8 can be squashed, as Gen9 GuC support will be broken during update of GuC firmware definitions. v2: only HuC authentication is supported v3: never allow to turn on GuC submission mode

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Seal races between async GPU cancellation, retirement and signaling

2019-04-16 Thread Patchwork
== Series Details == Series: drm/i915: Seal races between async GPU cancellation, retirement and signaling URL : https://patchwork.freedesktop.org/series/59584/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5939_full -> Patchwork_12817_full ===

Re: [Intel-gfx] [PATCH] drm/i915/ehl: inherit icl cdclk init/uninit

2019-04-16 Thread Souza, Jose
On Tue, 2019-04-16 at 11:28 +0300, Jani Nikula wrote: > The cdclk init/uninit code was changed by commit 93a643f29bcb > ("drm/i915/cdclk: have only one init/uninit function") between the > versions of commit 39564ae86d51 ("drm/i915/ehl: Inherit Ice Lake > conditional code"). What got merged fails t

[Intel-gfx] ✓ Fi.CI.IGT: success for i915/gem_spin_batch: Add test to resend spinner (rev2)

2019-04-16 Thread Patchwork
== Series Details == Series: i915/gem_spin_batch: Add test to resend spinner (rev2) URL : https://patchwork.freedesktop.org/series/59586/ State : success == Summary == CI Bug Log - changes from IGT_4952_full -> IGTPW_2870_full Summary -

Re: [Intel-gfx] [PATCH v2 08/22] drm/i915/guc: Update GuC sample-forcewake command

2019-04-16 Thread John Spotswood
On Fri, 2019-04-12 at 17:10 -0700, Ceraolo Spurio, Daniele wrote: > > On 4/11/19 1:44 AM, Michal Wajdeczko wrote: > > > > New GuC firmwares use different action code value for this command. > > > > Signed-off-by: Michal Wajdeczko > > Cc: John Spotswood > > Cc: Daniele Ceraolo Spurio > Reviewe

Re: [Intel-gfx] [PATCH v2 10/22] drm/i915/guc: Always ask GuC to update power domain states

2019-04-16 Thread John Spotswood
On Mon, 2019-04-15 at 13:46 -0700, Ceraolo Spurio, Daniele wrote: > > On 4/11/19 1:44 AM, Michal Wajdeczko wrote: > > > > With newer GuC firmware it is always ok to ask GuC to update power > > domain states. Make it an unconditional initialization step. > > > > Signed-off-by: Michal Wajdeczko >

Re: [Intel-gfx] [PATCH v2] drm/i915/guc: updated suspend/resume protocol

2019-04-16 Thread John Spotswood
On Fri, 2019-04-12 at 17:20 -0700, Ceraolo Spurio, Daniele wrote: > From: Michal Wajdeczko > > New GuC firmwares use updated sleep status definitions. > The polling on scratch register 14 is also now required only on > suspend > and there is no need to provide the shared page. > > v2: include ch

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/selftests: Verify whitelist of context registers

2019-04-16 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on next-20190416] [cannot apply to v5.1-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [Intel-gfx] [PATCH] drm/i915/ehl: Add support for DPLL4 (v4)

2019-04-16 Thread Bob Paauwe
On Thu, 11 Apr 2019 16:36:00 -0700 Vivek Kasireddy wrote: > This patch adds support for DPLL4 on EHL that include the > following restrictions: > > - DPLL4 cannot be used with DDIA (combo port A internal eDP usage). > DPLL4 can be used with other DDIs, including DDID > (combo port A external

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Chris Wilson
Quoting Chris Wilson (2019-04-16 15:59:38) > Quoting Tvrtko Ursulin (2019-04-16 15:53:40) > > > > On 16/04/2019 15:17, Chris Wilson wrote: > > > Quoting Tvrtko Ursulin (2019-04-16 15:10:25) > > >> > > >> On 16/04/2019 14:14, Chris Wilson wrote: > > >>> Read the engine workarounds back using the GP

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915: Verify workarounds immediately after application

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Verify workarounds immediately after application URL : https://patchwork.freedesktop.org/series/59579/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5938_full -> Patchwork_12816_full ===

Re: [Intel-gfx] [PATCH v3] drm/i915: add immutable zpos plane properties

2019-04-16 Thread Ville Syrjälä
On Tue, Apr 16, 2019 at 08:13:12PM +0200, Maarten Lankhorst wrote: > Op 16-04-2019 om 15:42 schreef Ville Syrjälä: > > On Tue, Apr 16, 2019 at 03:28:15PM +0200, Maarten Lankhorst wrote: > >> Op 16-04-2019 om 15:20 schreef Ville Syrjälä: > >>> On Sat, Apr 13, 2019 at 11:13:27AM +, Simon Ser wrot

Re: [Intel-gfx] [PATCH v2 02/12] drm/fb-helper: Avoid race with DRM userspace

2019-04-16 Thread Noralf Trønnes
Den 16.04.2019 09.59, skrev Daniel Vetter: > On Sun, Apr 07, 2019 at 06:52:33PM +0200, Noralf Trønnes wrote: >> drm_fb_helper_is_bound() is used to check if DRM userspace is in control. >> This is done by looking at the fb on the primary plane. By the time >> fb-helper gets around to committing,

Re: [Intel-gfx] [PATCH v3] drm/i915: add immutable zpos plane properties

2019-04-16 Thread Maarten Lankhorst
Op 16-04-2019 om 15:42 schreef Ville Syrjälä: > On Tue, Apr 16, 2019 at 03:28:15PM +0200, Maarten Lankhorst wrote: >> Op 16-04-2019 om 15:20 schreef Ville Syrjälä: >>> On Sat, Apr 13, 2019 at 11:13:27AM +, Simon Ser wrote: From: Ville Syrjälä This adds basic immutable support fo

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Seal races between async GPU cancellation, retirement and signaling

2019-04-16 Thread Patchwork
== Series Details == Series: drm/i915: Seal races between async GPU cancellation, retirement and signaling URL : https://patchwork.freedesktop.org/series/59584/ State : success == Summary == CI Bug Log - changes from CI_DRM_5939 -> Patchwork_12817 =

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c URL : https://patchwork.freedesktop.org/series/59569/ State : success == Summary == CI Bug Log - changes from CI_DRM_5937_full -> Patchwork_12815_full ===

[Intel-gfx] ✓ Fi.CI.BAT: success for i915/gem_spin_batch: Add test to resend spinner (rev2)

2019-04-16 Thread Patchwork
== Series Details == Series: i915/gem_spin_batch: Add test to resend spinner (rev2) URL : https://patchwork.freedesktop.org/series/59586/ State : success == Summary == CI Bug Log - changes from IGT_4952 -> IGTPW_2870 Summary --- **SU

Re: [Intel-gfx] [PATCH] drm/i915: Configurable GT idle frequency

2019-04-16 Thread Chris Wilson
Quoting Bob Paauwe (2019-04-16 00:05:26) > There are real-time use cases where having deterministic CPU processes > can be more important than GPU power/performance. Parking the GPU at a > specific freqency by setting idle, min and max prohibits the normal > dynamic GPU frequency switching which ca

Re: [Intel-gfx] [PATCH v7] drm/i915/icl: Fix clockgating issue when using scalers

2019-04-16 Thread Sripada, Radhakrishna
On Tue, 2019-04-16 at 17:14 +0300, Ville Syrjälä wrote: > On Mon, Apr 15, 2019 at 03:55:19PM -0700, Radhakrishna Sripada wrote: > > Fixes the clock-gating issue when pipe scaling is enabled. > > (Lineage #2006604312) > > > > V2: Fix typo in headline(Chris) > > Handle the non double buffered na

Re: [Intel-gfx] [PATCH] drm/i915: Configurable GT idle frequency

2019-04-16 Thread Vanshidhar Konda
On Tue, Apr 16, 2019 at 08:30:22AM -0700, Bob Paauwe wrote: On Mon, 15 Apr 2019 17:33:30 -0700 Vanshidhar Konda wrote: On Mon, Apr 15, 2019 at 04:05:26PM -0700, Bob Paauwe wrote: >There are real-time use cases where having deterministic CPU processes >can be more important than GPU power/perfo

Re: [Intel-gfx] [PATCH] drm/i915: Configurable GT idle frequency

2019-04-16 Thread Bob Paauwe
On Mon, 15 Apr 2019 17:33:30 -0700 Vanshidhar Konda wrote: > On Mon, Apr 15, 2019 at 04:05:26PM -0700, Bob Paauwe wrote: > >There are real-time use cases where having deterministic CPU processes > >can be more important than GPU power/performance. Parking the GPU at a > >specific freqency by sett

Re: [Intel-gfx] [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT

2019-04-16 Thread Fernando Pacheco
On 4/16/19 8:04 AM, Chris Wilson wrote: > Quoting Fernando Pacheco (2019-04-16 15:51:15) >> On 4/9/19 3:22 PM, Chris Wilson wrote: >>> Quoting Fernando Pacheco (2019-04-09 22:31:01) diff --git a/drivers/gpu/drm/i915/intel_huc.c b/drivers/gpu/drm/i915/intel_huc.c index 94c04f16a2ad.

Re: [Intel-gfx] [PATCH] drm/i915/ehl: inherit icl cdclk init/uninit

2019-04-16 Thread Bob Paauwe
On Tue, 16 Apr 2019 11:28:52 +0300 Jani Nikula wrote: > The cdclk init/uninit code was changed by commit 93a643f29bcb > ("drm/i915/cdclk: have only one init/uninit function") between the > versions of commit 39564ae86d51 ("drm/i915/ehl: Inherit Ice Lake > conditional code"). What got merged fails

Re: [Intel-gfx] [PATCH 4/4] Revert "drm/i915/guc: Disable global reset"

2019-04-16 Thread Fernando Pacheco
On 4/16/19 8:05 AM, Chris Wilson wrote: > Quoting Fernando Pacheco (2019-04-16 15:45:03) >> >> On 4/9/19 2:54 PM, Chris Wilson wrote: >>> Quoting Fernando Pacheco (2019-04-09 22:31:02) This reverts commit fe62365f9f80a1c1d438c54fba21f5108a182de8. >>> And don't forget the test code that skips g

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_spin_batch: Add test to resend spinner

2019-04-16 Thread Chris Wilson
Quoting Mika Kuoppala (2019-04-16 16:01:58) > Add subtests to resend the same spinner to same context > and to other context. > > v2: other engines (Chris) > > Cc: Chris Wilson > Signed-off-by: Mika Kuoppala Reviewed-by: Chris Wilson > + igt_subtest_f("resubmit-%s", e->name) > +

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v2,1/4] drm/i915: Verify workarounds immediately after application (rev2)

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [v2,1/4] drm/i915: Verify workarounds immediately after application (rev2) URL : https://patchwork.freedesktop.org/series/59560/ State : success == Summary == CI Bug Log - changes from CI_DRM_5936_full -> Patchwork_12814_full =

Re: [Intel-gfx] [v3 6/7] drm: Add Client Cap for advance gamma mode

2019-04-16 Thread Ville Syrjälä
On Mon, Apr 15, 2019 at 09:20:55PM +0200, Daniel Vetter wrote: > On Mon, Apr 15, 2019 at 4:14 PM Lankhorst, Maarten > wrote: > > > > mån 2019-04-15 klockan 19:26 +0530 skrev Sharma, Shashank: > > > > -Original Message- > > > > From: Lankhorst, Maarten > > > > Sent: Monday, April 15, 2019 4

Re: [Intel-gfx] [PATCH 4/4] Revert "drm/i915/guc: Disable global reset"

2019-04-16 Thread Chris Wilson
Quoting Fernando Pacheco (2019-04-16 15:45:03) > > > On 4/9/19 2:54 PM, Chris Wilson wrote: > > Quoting Fernando Pacheco (2019-04-09 22:31:02) > >> This reverts commit fe62365f9f80a1c1d438c54fba21f5108a182de8. > > And don't forget the test code that skips guc. > > -Chris > > Selftests? I couldn'

Re: [Intel-gfx] [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT

2019-04-16 Thread Chris Wilson
Quoting Fernando Pacheco (2019-04-16 15:51:15) > > On 4/9/19 3:22 PM, Chris Wilson wrote: > > Quoting Fernando Pacheco (2019-04-09 22:31:01) > >> diff --git a/drivers/gpu/drm/i915/intel_huc.c > >> b/drivers/gpu/drm/i915/intel_huc.c > >> index 94c04f16a2ad..89e0b942ae86 100644 > >> --- a/drivers/g

[Intel-gfx] [PATCH i-g-t] i915/gem_spin_batch: Add test to resend spinner

2019-04-16 Thread Mika Kuoppala
Add subtests to resend the same spinner to same context and to other context. v2: other engines (Chris) Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- tests/i915/gem_spin_batch.c | 67 - 1 file changed, 58 insertions(+), 9 deletions(-) diff --git a/tests

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-16 15:53:40) > > On 16/04/2019 15:17, Chris Wilson wrote: > > Quoting Tvrtko Ursulin (2019-04-16 15:10:25) > >> > >> On 16/04/2019 14:14, Chris Wilson wrote: > >>> Read the engine workarounds back using the GPU after loading the initial > >>> context state to verify

Re: [Intel-gfx] [PATCH v2 09/12] drm/fb-helper: Remove drm_fb_helper_connector

2019-04-16 Thread Noralf Trønnes
Den 16.04.2019 11.42, skrev Maxime Ripard: > Hi, > > On Sun, Apr 07, 2019 at 06:52:40PM +0200, Noralf Trønnes wrote: >> All drivers add all their connectors so there's no need to keep around an >> array of available connectors. >> >> Rename functions which signature is changed since they will be

Re: [Intel-gfx] [PATCH 3/4] drm/i915/uc: Place uC firmware in upper range of GGTT

2019-04-16 Thread Fernando Pacheco
On 4/9/19 3:22 PM, Chris Wilson wrote: > Quoting Fernando Pacheco (2019-04-09 22:31:01) >> diff --git a/drivers/gpu/drm/i915/intel_huc.c >> b/drivers/gpu/drm/i915/intel_huc.c >> index 94c04f16a2ad..89e0b942ae86 100644 >> --- a/drivers/gpu/drm/i915/intel_huc.c >> +++ b/drivers/gpu/drm/i915/intel_h

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Tvrtko Ursulin
On 16/04/2019 15:17, Chris Wilson wrote: Quoting Tvrtko Ursulin (2019-04-16 15:10:25) On 16/04/2019 14:14, Chris Wilson wrote: Read the engine workarounds back using the GPU after loading the initial context state to verify that we are setting them correctly, and bail if it fails. v2: Break

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Verify whitelist of context registers

2019-04-16 Thread Dan Carpenter
Hi Chris, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-selftests-Verify-whitelist-of-context-registers/20190416-105231 base: git://anongit.freedesktop.org/drm-intel for-linux-next New smatch warnings: drivers

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Verify whitelist of context registers

2019-04-16 Thread Tvrtko Ursulin
On 16/04/2019 10:12, Chris Wilson wrote: The RING_NONPRIV allows us to add registers to a whitelist that allows userspace to modify them. Ideally such registers should be safe and saved within the context such that they do not impact system behaviour for other users. This selftest verifies that

Re: [Intel-gfx] [PATCH 4/4] Revert "drm/i915/guc: Disable global reset"

2019-04-16 Thread Fernando Pacheco
On 4/9/19 2:54 PM, Chris Wilson wrote: > Quoting Fernando Pacheco (2019-04-09 22:31:02) >> This reverts commit fe62365f9f80a1c1d438c54fba21f5108a182de8. > And don't forget the test code that skips guc. > -Chris Selftests? I couldn't find anything that skips guc. I found some skips for guc submis

Re: [Intel-gfx] [PATCH] drm/i915: Enable eLLC caching of display buffers for SKL+

2019-04-16 Thread Ville Syrjälä
On Tue, Apr 16, 2019 at 05:28:57PM +0300, Eero Tamminen wrote: > Hi, > > Based on quick tests with the patch: > > * Results in GfxBench and Unigine (Valley/Heaven) tests were within > daily variation on the tested SKL machines > > * SKL GT4e (128MB eLLC) / Wayland / Weston: >+15-20% SynMark

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_spin_batch: Add test to resend spinner

2019-04-16 Thread Chris Wilson
Quoting Mika Kuoppala (2019-04-16 15:23:15) > Add subtests to resend the same spinner to same context > and to other context. > > Cc: Chris Wilson > Signed-off-by: Mika Kuoppala Reviewed-by: Chris Wilson For completeness in creating concise examples of use elsewhere, feed the gem_execbuf to th

[Intel-gfx] [PATCH i-g-t] i915/gem_spin_batch: Add test to resend spinner

2019-04-16 Thread Mika Kuoppala
Add subtests to resend the same spinner to same context and to other context. Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- tests/i915/gem_spin_batch.c | 47 ++--- 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a/tests/i915/gem_spin_batch.c b/te

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-16 15:10:25) > > On 16/04/2019 14:14, Chris Wilson wrote: > > Read the engine workarounds back using the GPU after loading the initial > > context state to verify that we are setting them correctly, and bail if > > it fails. > > > > v2: Break out the verification i

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Drop bool return from breadcrumbs signaler

2019-04-16 Thread Patchwork
== Series Details == Series: drm/i915: Drop bool return from breadcrumbs signaler URL : https://patchwork.freedesktop.org/series/59565/ State : success == Summary == CI Bug Log - changes from CI_DRM_5936_full -> Patchwork_12813_full Summary

[Intel-gfx] [PATCH] drm/i915: Seal races between async GPU cancellation, retirement and signaling

2019-04-16 Thread Chris Wilson
Currently there is an underlying assumption that i915_request_unsubmit() is synchronous wrt the GPU -- that is the request is no longer in flight as we remove it. In the near future that may change, and this may upset our signaling as we can process an interrupt for that request while it is no long

Re: [Intel-gfx] [PATCH] drm/i915: Enable eLLC caching of display buffers for SKL+

2019-04-16 Thread Eero Tamminen
Hi, Based on quick tests with the patch: * Results in GfxBench and Unigine (Valley/Heaven) tests were within daily variation on the tested SKL machines * SKL GT4e (128MB eLLC) / Wayland / Weston: +15-20% SynMark TexMem512 (512MB of textures) +4-6% SynMark TerrainFly*, CSCloth, ShMapVsm

Re: [Intel-gfx] [PATCH v7] drm/i915/icl: Fix clockgating issue when using scalers

2019-04-16 Thread Ville Syrjälä
On Mon, Apr 15, 2019 at 03:55:19PM -0700, Radhakrishna Sripada wrote: > Fixes the clock-gating issue when pipe scaling is enabled. > (Lineage #2006604312) > > V2: Fix typo in headline(Chris) > Handle the non double buffered nature of the register(Ville) > V3: Fix checkpatch warning. BAT failur

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Tvrtko Ursulin
On 16/04/2019 14:14, Chris Wilson wrote: Read the engine workarounds back using the GPU after loading the initial context state to verify that we are setting them correctly, and bail if it fails. v2: Break out the verification into its own loop Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Verify workarounds immediately after application

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Verify workarounds immediately after application URL : https://patchwork.freedesktop.org/series/59579/ State : success == Summary == CI Bug Log - changes from CI_DRM_5938 -> Patchwork_12816 =

Re: [Intel-gfx] [PATCH v5 1/2] drm: Add detection of changing of edid on between suspend and resume

2019-04-16 Thread Mun, Gwan-gyeong
On Thu, 2019-04-11 at 17:00 +0100, Lisovskiy, Stanislav wrote: > On Thu, 2019-04-11 at 17:36 +0300, Gwan-gyeong Mun wrote: > > The hotplug detection routine of drm_helper_hpd_irq_event() can > > detect > > changing of status of connector, but it can not detect changing of > > edid. > > > > Followi

Re: [Intel-gfx] [PATCH v3] drm/i915: add immutable zpos plane properties

2019-04-16 Thread Ville Syrjälä
On Tue, Apr 16, 2019 at 03:28:15PM +0200, Maarten Lankhorst wrote: > Op 16-04-2019 om 15:20 schreef Ville Syrjälä: > > On Sat, Apr 13, 2019 at 11:13:27AM +, Simon Ser wrote: > >> From: Ville Syrjälä > >> > >> This adds basic immutable support for the zpos property. The zpos increases > >> from

Re: [Intel-gfx] [PATCH] drm/i915: Enable workaround for pixel shader dispatch hang

2019-04-16 Thread Chris Wilson
Quoting Mika Kuoppala (2019-04-16 14:26:19) > Chris Wilson writes: > > > Quoting Mika Kuoppala (2019-04-15 15:45:29) > >> Set chicken bits to workaround a possible pixel shader > >> dispatch hang. > >> > >> v2: no need to filter out preprod skl (Ville, Chris) > >> v3: formatting > >> > >> Bspec

Re: [Intel-gfx] [PATCH v3] drm/i915: add immutable zpos plane properties

2019-04-16 Thread Maarten Lankhorst
Op 16-04-2019 om 15:20 schreef Ville Syrjälä: > On Sat, Apr 13, 2019 at 11:13:27AM +, Simon Ser wrote: >> From: Ville Syrjälä >> >> This adds basic immutable support for the zpos property. The zpos increases >> from bottom to top: primary, sprites, cursor. > I was thinking a bit about how we m

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_exec_schedule: Fill in obj.offset for spinner resubmission

2019-04-16 Thread Mika Kuoppala
Chris Wilson writes: > When resubmitting the spinner, fill in the expected offset so that we > are not tempted to relocate it across contexts (as the spinner must > point back to itself for the MI_BB_START to work). In this case, these > should work correctly as they are reusing the same active v

Re: [Intel-gfx] [PATCH] drm/i915: Enable workaround for pixel shader dispatch hang

2019-04-16 Thread Mika Kuoppala
Chris Wilson writes: > Quoting Mika Kuoppala (2019-04-15 15:45:29) >> Set chicken bits to workaround a possible pixel shader >> dispatch hang. >> >> v2: no need to filter out preprod skl (Ville, Chris) >> v3: formatting >> >> Bspec: 14091, ID#0651 >> Cc: Chris Wilson >> Cc: Ville Syrjälä >> S

Re: [Intel-gfx] [PATCH v3] drm/i915: add immutable zpos plane properties

2019-04-16 Thread Ville Syrjälä
On Sat, Apr 13, 2019 at 11:13:27AM +, Simon Ser wrote: > From: Ville Syrjälä > > This adds basic immutable support for the zpos property. The zpos increases > from bottom to top: primary, sprites, cursor. I was thinking a bit about how we might go about testing this. We probably want a basi

[Intel-gfx] [PATCH 1/2] drm/i915: Verify workarounds immediately after application

2019-04-16 Thread Chris Wilson
Immediately after writing the workaround, verify that it stuck in the register. References: https://bugs.freedesktop.org/show_bug.cgi?id=108954 Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/intel_workarounds.c | 32 +---

[Intel-gfx] [PATCH 2/2] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Chris Wilson
Read the engine workarounds back using the GPU after loading the initial context state to verify that we are setting them correctly, and bail if it fails. v2: Break out the verification into its own loop Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_gem.c

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c URL : https://patchwork.freedesktop.org/series/59569/ State : success == Summary == CI Bug Log - changes from CI_DRM_5937 -> Patchwork_12815 =

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/ehl: inherit icl cdclk init/uninit

2019-04-16 Thread Patchwork
== Series Details == Series: drm/i915/ehl: inherit icl cdclk init/uninit URL : https://patchwork.freedesktop.org/series/59562/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5936_full -> Patchwork_12812_full Summary ---

Re: [Intel-gfx] [PATCH 02/50] drm/i915: Mark up ips for RCU protection

2019-04-16 Thread Mika Kuoppala
Chris Wilson writes: > drivers/gpu/drm/i915/intel_pm.c:8352:9: error: incompatible types in > comparison expression (different address spaces) > drivers/gpu/drm/i915/intel_pm.c:8359:9: error: incompatible types in > comparison expression (different address spaces) > Yes, they are gone, Review

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c URL : https://patchwork.freedesktop.org/series/59569/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: start moving state checke

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [RFC,1/2] drm/i915: start moving state checker to intel_verify.c URL : https://patchwork.freedesktop.org/series/59569/ State : warning == Summary == $ dim checkpatch origin/drm-tip a4e2e34c9de6 drm/i915: start moving state checker to intel_ver

Re: [Intel-gfx] [PATCH v2 11/22] drm/i915/guc: Reset GuC ADS during sanitize

2019-04-16 Thread Lis, Tomasz
Only comment issues. Besides these: Reviewed-by: Tomasz Lis On 2019-04-11 10:44, Michal Wajdeczko wrote: GuC stores some data in there, which might be stale after a reset. Reinitialize whole ADS in case any part of it was corrupted during previous GuC run. Signed-off-by: Michal Wajdeczko Cc

Re: [Intel-gfx] [PATCH 11/11] [v3] drm/i915: Add intel_compare_color_lut() to compare hw and sw gamma lut values

2019-04-16 Thread Dan Carpenter
Hi Swati, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Swati-Sharma/drm-i915-adding-state-checker-for-gamma-lut-values/20190416-021708 base: git://anongit.freedesktop.org/drm-intel for-linux-next New smatch warnings: drivers/gpu/drm

[Intel-gfx] ✓ Fi.CI.IGT: success for i915/gem_exec_schedule: Fill in obj.offset for spinner resubmission

2019-04-16 Thread Patchwork
== Series Details == Series: i915/gem_exec_schedule: Fill in obj.offset for spinner resubmission URL : https://patchwork.freedesktop.org/series/59564/ State : success == Summary == CI Bug Log - changes from IGT_4949_full -> IGTPW_2862_full

Re: [Intel-gfx] [PATCH v2 3/4] drm/i915: Make workaround verification *optional*

2019-04-16 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-16 10:48:05) > > On 16/04/2019 09:10, Chris Wilson wrote: > > Sometimes the HW doesn't even play fair, and completely forgets about > > register writes. Skip verifying known troublemakers. > > > > References: https://bugs.freedesktop.org/show_bug.cgi?id=108954 > >

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v2,1/4] drm/i915: Verify workarounds immediately after application (rev2)

2019-04-16 Thread Patchwork
== Series Details == Series: series starting with [v2,1/4] drm/i915: Verify workarounds immediately after application (rev2) URL : https://patchwork.freedesktop.org/series/59560/ State : success == Summary == CI Bug Log - changes from CI_DRM_5936 -> Patchwork_12814 ===

Re: [Intel-gfx] [PATCH v2 2/4] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-16 11:36:12) > > On 16/04/2019 10:57, Chris Wilson wrote: > > Quoting Tvrtko Ursulin (2019-04-16 10:43:43) > >> > >> On 16/04/2019 09:10, Chris Wilson wrote: > >>> Read the engine workarounds back using the GPU after loading the initial > >>> context state to verify

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Drop bool return from breadcrumbs signaler

2019-04-16 Thread Patchwork
== Series Details == Series: drm/i915: Drop bool return from breadcrumbs signaler URL : https://patchwork.freedesktop.org/series/59565/ State : success == Summary == CI Bug Log - changes from CI_DRM_5936 -> Patchwork_12813 Summary ---

Re: [Intel-gfx] [PATCH 02/11] [v2] drm/i915: Extract i9xx_get_color_config()

2019-04-16 Thread Jani Nikula
On Tue, 16 Apr 2019, Jani Nikula wrote: > On Mon, 15 Apr 2019, Swati Sharma wrote: >> Signed-off-by: Swati Sharma >> --- >> drivers/gpu/drm/i915/i915_reg.h| 3 +++ >> drivers/gpu/drm/i915/intel_color.c | 51 >> ++ >> 2 files changed, 54 insertions(+) >>

Re: [Intel-gfx] [PATCH 02/11] [v2] drm/i915: Extract i9xx_get_color_config()

2019-04-16 Thread Jani Nikula
On Mon, 15 Apr 2019, Swati Sharma wrote: > Signed-off-by: Swati Sharma > --- > drivers/gpu/drm/i915/i915_reg.h| 3 +++ > drivers/gpu/drm/i915/intel_color.c | 51 > ++ > 2 files changed, 54 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/

Re: [Intel-gfx] [PATCH v2 2/4] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Tvrtko Ursulin
On 16/04/2019 10:57, Chris Wilson wrote: Quoting Tvrtko Ursulin (2019-04-16 10:43:43) On 16/04/2019 09:10, Chris Wilson wrote: Read the engine workarounds back using the GPU after loading the initial context state to verify that we are setting them correctly, and bail if it fails. Signed-off

[Intel-gfx] [RFC 2/2] drm/i915: move pipe config compare to intel_verify.c

2019-04-16 Thread Jani Nikula
Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_display.c | 471 +-- drivers/gpu/drm/i915/intel_drv.h | 9 +- drivers/gpu/drm/i915/intel_verify.c | 465 ++ drivers/gpu/drm/i915/intel_verify.h | 8 + 4 files changed, 478 insertion

[Intel-gfx] [RFC 1/2] drm/i915: start moving state checker to intel_verify.c

2019-04-16 Thread Jani Nikula
Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/Makefile| 1 + drivers/gpu/drm/i915/intel_display.c | 474 +-- drivers/gpu/drm/i915/intel_drv.h | 12 + drivers/gpu/drm/i915/intel_verify.c | 464 ++ drivers/gpu/drm/i915/intel_veri

Re: [Intel-gfx] [PATCH v2 09/12] drm/fb-helper: Remove drm_fb_helper_connector

2019-04-16 Thread Maxime Ripard
Hi, On Sun, Apr 07, 2019 at 06:52:40PM +0200, Noralf Trønnes wrote: > All drivers add all their connectors so there's no need to keep around an > array of available connectors. > > Rename functions which signature is changed since they will be moved to > drm_client in a later patch. > > Signed-off

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/ehl: inherit icl cdclk init/uninit

2019-04-16 Thread Patchwork
== Series Details == Series: drm/i915/ehl: inherit icl cdclk init/uninit URL : https://patchwork.freedesktop.org/series/59562/ State : success == Summary == CI Bug Log - changes from CI_DRM_5936 -> Patchwork_12812 Summary --- **SUCCE

Re: [Intel-gfx] [PATCH v2 01/12] drm/atomic: Move __drm_atomic_helper_disable_plane/set_config()

2019-04-16 Thread Maxime Ripard
On Sun, Apr 07, 2019 at 06:52:32PM +0200, Noralf Trønnes wrote: > Prepare for moving drm_fb_helper modesetting code to drm_client. > drm_client will be linked to drm.ko, so move > __drm_atomic_helper_disable_plane() and __drm_atomic_helper_set_config() > out of drm_kms_helper.ko. > > While at it, f

Re: [Intel-gfx] [PATCH v2 2/4] drm/i915: Verify the engine workarounds stick on application

2019-04-16 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-16 10:43:43) > > On 16/04/2019 09:10, Chris Wilson wrote: > > Read the engine workarounds back using the GPU after loading the initial > > context state to verify that we are setting them correctly, and bail if > > it fails. > > > > Signed-off-by: Chris Wilson > >

  1   2   >