[Intel-gfx] [drm-intel:topic/core-for-CI 7/8] backtracetest.c:undefined reference to `save_stack_trace'

2018-06-08 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel topic/core-for-CI head: e2ea2db1734a0e38b89e4d706b5f9ad9f73b1543 commit: 72041f9847abb05b9d4d7dea17631b579191ca99 [7/8] RFC: debugobjects: capture stack traces at _init() time config: m68k-allyesconfig (attached as .config) compiler:

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Wrap around the tail offset before setting ring->tail (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915: Wrap around the tail offset before setting ring->tail (rev2) URL : https://patchwork.freedesktop.org/series/44500/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4296_full -> Patchwork_9249_full = == Summary - WARNING == Minor

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range URL : https://patchwork.freedesktop.org/series/44501/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294_full -> Patchwork_9248_full = == Summary - WARNING == Minor unknown

[Intel-gfx] [PATCH i-g-t] igt/perf_pmu: Disable accuracy tests for guc

2018-06-08 Thread Chris Wilson
guc also uses timer-based sampling and cannot reliably hit our accuracy requirements for the test, so skip. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- tests/perf_pmu.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c

Re: [Intel-gfx] [PATCH 15/24] drm/i915/icl: compute the TBT PLL registers

2018-06-08 Thread Srivatsa, Anusha
>-Original Message- >From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of >Paulo Zanoni >Sent: Monday, May 21, 2018 5:26 PM >To: intel-gfx@lists.freedesktop.org >Cc: Zanoni, Paulo R >Subject: [Intel-gfx] [PATCH 15/24] drm/i915/icl: compute the TBT PLL registers

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [CI,1/2] drm/i915/gtt: Remove redundant hsw_mm_switch()

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915/gtt: Remove redundant hsw_mm_switch() URL : https://patchwork.freedesktop.org/series/44491/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294_full -> Patchwork_9245_full = == Summary - WARNING ==

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Wrap around the tail offset before setting ring->tail (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915: Wrap around the tail offset before setting ring->tail (rev2) URL : https://patchwork.freedesktop.org/series/44500/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4296 -> Patchwork_9249 = == Summary - WARNING == Minor unknown changes

[Intel-gfx] [PATCH xf86-video-intel] sna/video/sprite: Remove the XV_ALWAYS_ON_TOP restriction for SKL+ scaling

2018-06-08 Thread Ville Syrjala
From: Ville Syrjälä On SKL+ the dst colorkey is enabled on the primary plane instead of the sprite plane. That means the restriction of scaling vs. keying doesn't actually apply here as we never scale the primary. So let's remove the requirement of having XV_ALWAYS_ON_TOP enabled to get hw

[Intel-gfx] [PATCH i-g-t] igt/gem_mmap_gtt: Checking tiling pattern requires known swizzling

2018-06-08 Thread Chris Wilson
As the swizzling is baked into the tiling pattern, the swizzling has to be consistent across the entire GTT mmap for our tests to work. However, under L-shaped memory configurations on older architectures, the swizzling varied depending on which region the page found itself in -- invalidating our

[Intel-gfx] [PATCH v2] drm/i915: Wrap around the tail offset before setting ring->tail

2018-06-08 Thread Chris Wilson
The HW only accepts offsets within ring->size, and fails peculiarly if the RING_HEAD or RING_TAIL is set to ring->size. Therefore whenever we set ring->head/ring->tail we want to make sure it is within value (using intel_ring_wrap()). v2: Double check execlists as well Signed-off-by: Chris

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/icl: Add warn about unsupported CDCLK rates (rev3)

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915/icl: Add warn about unsupported CDCLK rates (rev3) URL : https://patchwork.freedesktop.org/series/44421/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294_full -> Patchwork_9244_full = == Summary - WARNING == Minor unknown changes

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range

2018-06-08 Thread Chris Wilson
Quoting Matthew Auld (2018-06-08 18:54:15) > On 8 June 2018 at 18:32, Chris Wilson wrote: > > When we want to unwind an error when allocating the PD for gen6, we call > > gen6_ppgtt_clear_range() telling to clear upto the PD we've previously > > cleared. However, we passed it the incorrect

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Fix sprite destination colorkeying on SKL+

2018-06-08 Thread Ville Syrjälä
On Tue, Jun 05, 2018 at 08:10:36AM +, Lisovskiy, Stanislav wrote: > On Tue, 2018-05-29 at 21:28 +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > On SKL+ the dst colorkey must be configured on the lower > > plane that contains the colorkey. This is in contrast to > > most earlier

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range URL : https://patchwork.freedesktop.org/series/44501/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9248 = == Summary - WARNING == Minor unknown changes

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev3)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev3) URL : https://patchwork.freedesktop.org/series/44486/ State : failure == Summary == Applying: drm/i915: Apply batch location restrictions before pinning Applying:

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Wrap around the tail offset before setting ring->tail

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915: Wrap around the tail offset before setting ring->tail URL : https://patchwork.freedesktop.org/series/44500/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9246 = == Summary - WARNING == Minor unknown changes coming

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h URL : https://patchwork.freedesktop.org/series/44488/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294_full -> Patchwork_9242_full = == Summary - WARNING ==

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range

2018-06-08 Thread Matthew Auld
On 8 June 2018 at 18:32, Chris Wilson wrote: > When we want to unwind an error when allocating the PD for gen6, we call > gen6_ppgtt_clear_range() telling to clear upto the PD we've previously > cleared. However, we passed it the incorrect length, passing it the > endpoint instead. Fortunately,

[Intel-gfx] [PATCH] drm/i915/gtt: Fix unwind length passed to gen6_ppgtt_clear_range

2018-06-08 Thread Chris Wilson
When we want to unwind an error when allocating the PD for gen6, we call gen6_ppgtt_clear_range() telling to clear upto the PD we've previously cleared. However, we passed it the incorrect length, passing it the endpoint instead. Fortunately, as the start was always 0, this has no impact today,

[Intel-gfx] [PATCH v2] drm/i915/ringbuffer: Fix context restore upon reset

2018-06-08 Thread Chris Wilson
The discovery with trying to enable full-ppgtt was that we were completely failing to the load both the mm and context following the reset. Although we were performing mmio to set the PP_DIR (per-process GTT) and CCID (context), these were taking no effect (the assumption was that this would

[Intel-gfx] [PATCH] drm/i915: Wrap around the tail offset before setting ring->tail

2018-06-08 Thread Chris Wilson
The HW only accepts offsets within ring->size, and fails peculiarly if the RING_HEAD or RING_TAIL is set to ring->size. Therefore whenever we set ring->head/ring->tail we want to make sure it is within value (using intel_ring_wrap()). Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2)

2018-06-08 Thread Chris Wilson
Quoting Chris Wilson (2018-06-08 17:36:28) > Quoting Patchwork (2018-06-08 17:23:38) > > == Series Details == > > > > Series: series starting with [01/18] drm/i915: Apply batch location > > restrictions before pinning (rev2) > > URL : https://patchwork.freedesktop.org/series/44486/ > > State :

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2)

2018-06-08 Thread Chris Wilson
Quoting Patchwork (2018-06-08 17:23:38) > == Series Details == > > Series: series starting with [01/18] drm/i915: Apply batch location > restrictions before pinning (rev2) > URL : https://patchwork.freedesktop.org/series/44486/ > State : failure > > == Summary == > > = CI Bug Log - changes

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2) URL : https://patchwork.freedesktop.org/series/44486/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4294_full -> Patchwork_9241_full = == Summary -

Re: [Intel-gfx] [PATCH] drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.

2018-06-08 Thread Clint Taylor
On 06/08/2018 06:31 AM, Imre Deak wrote: Hi Clint, nice debugging! On Thu, Jun 07, 2018 at 04:12:39PM -0700, clinton.a.tay...@intel.com wrote: From: Clint Taylor On GLK NUC platforms the HDMI retiming buffer needs additional disabled time to correctly sync to a faster incoming signal.

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/5] drm/i915: fix guest virtual PCH detection on non-PCH systems

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/5] drm/i915: fix guest virtual PCH detection on non-PCH systems URL : https://patchwork.freedesktop.org/series/44484/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294_full -> Patchwork_9239_full = == Summary - WARNING

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [CI,1/2] drm/i915/gtt: Remove redundant hsw_mm_switch()

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915/gtt: Remove redundant hsw_mm_switch() URL : https://patchwork.freedesktop.org/series/44491/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9245 = == Summary - SUCCESS == No regressions

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/icl: Add warn about unsupported CDCLK rates (rev3)

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915/icl: Add warn about unsupported CDCLK rates (rev3) URL : https://patchwork.freedesktop.org/series/44421/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9244 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] [CI 2/2] drm/i915/gtt: Remove vgpu check for gen6

2018-06-08 Thread Chris Wilson
Since vgpu is not supported on Haswell or any other gen6/7, we do not need to check and act upon it's enablement. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld Reviewed-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +- 1 file changed, 1

[Intel-gfx] [CI 1/2] drm/i915/gtt: Remove redundant hsw_mm_switch()

2018-06-08 Thread Chris Wilson
hsw_mm_switch() and gen7_mm_switch() are identical, so let's remove the redundant specialism. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld Reviewed-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_gem_gtt.c | 24 1 file changed,

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Move chipset definitions to intel_chipset.h

2018-06-08 Thread Michal Wajdeczko
On Fri, 08 Jun 2018 15:42:01 +0200, Mika Kuoppala wrote: Carve out chipset definitions into new intel_chipset.h Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_drv.h | 194 + drivers/gpu/drm/i915/intel_chipset.h | 202

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/icl: Add warn about unsupported CDCLK rates (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: drm/i915/icl: Add warn about unsupported CDCLK rates (rev2) URL : https://patchwork.freedesktop.org/series/44421/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9243 = == Summary - WARNING == Minor unknown changes coming

Re: [Intel-gfx] [PATCH 10/18] drm/i915/gtt: Lazily allocate page directories for gen7

2018-06-08 Thread Chris Wilson
Quoting Matthew Auld (2018-06-08 15:37:43) > Ah, in gen6_alloc_va_range() I think we now need: > > unwind_out: > - gen6_ppgtt_clear_range(vm, from, start); > + gen6_ppgtt_clear_range(vm, from, start - from); You are very right. -Chris ___

[Intel-gfx] [PATCH v3] drm/i915/skl: Add warn about unsupported CDCLK rates

2018-06-08 Thread Imre Deak
While checking workarounds related to the CDCLK PLL, I noticed that the DMC firmware bits for WA#1183 are missing for SKL. After that I clarified with HW people that it's not needed on SKL, since it doesn't support eDP1.4 which would be the only thing requiring the problematic CDCLK clock rates.

Re: [Intel-gfx] [PATCH 10/18] drm/i915/gtt: Lazily allocate page directories for gen7

2018-06-08 Thread Matthew Auld
On 8 June 2018 at 13:55, Chris Wilson wrote: > As we were only supporting aliasing_ppgtt on gen7 for some time, we > saved a few checks by preallocating the page directories on creation. > However, since we need 2MiB of page directories for each ppgtt, to > support arbitrary numbers of user

Re: [Intel-gfx] [PATCH v2] drm/i915/skl: Add warn about unsupported CDCLK rates

2018-06-08 Thread Ville Syrjälä
On Fri, Jun 08, 2018 at 05:00:02PM +0300, Imre Deak wrote: > While checking workarounds related to the CDCLK PLL, I noticed that the > DMC firmware bits for WA#1183 are missing for SKL. After that I > clarified with HW people that it's not needed on SKL, since it doesn't > support eDP1.4 which

Re: [Intel-gfx] [PATCH 2/5] drm/i915: Store first production revid into device info

2018-06-08 Thread Chris Wilson
Quoting Mika Kuoppala (2018-06-08 14:42:02) > Store first known production revid into the device info. > > This enables us to easily see if we are running on > a preproduction hardware. > > Uninitialized (zero) product revision id means that > there are no known preliminary hardware for this

Re: [Intel-gfx] [PATCH 03/18] drm/i915/ringbuffer: Fix context restore upon reset

2018-06-08 Thread Chris Wilson
Quoting Chris Wilson (2018-06-08 13:55:47) > @@ -570,42 +585,10 @@ static void reset_ring(struct intel_engine_cs *engine, > * the restored context. > */ > if (request) { > - struct drm_i915_private *dev_priv = request->i915; > - struct

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h URL : https://patchwork.freedesktop.org/series/44488/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9242 = == Summary - WARNING == Minor

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h URL : https://patchwork.freedesktop.org/series/44488/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915: Move chipset definitions to intel_chipset.h

Re: [Intel-gfx] [PATCH 17/18] drm/i915/gtt: Remove vgpu check for gen6

2018-06-08 Thread Mika Kuoppala
Chris Wilson writes: > Since vgpu is not supported on Haswell or any other gen6/7, we do not > need to check and act upon it's enablement. > > Signed-off-by: Chris Wilson > Cc: Joonas Lahtinen > Cc: Mika Kuoppala > Cc: Matthew Auld Reviewed-by: Mika Kuoppala > --- >

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/5] drm/i915: Move chipset definitions to intel_chipset.h URL : https://patchwork.freedesktop.org/series/44488/ State : warning == Summary == $ dim checkpatch origin/drm-tip b04c01486105 drm/i915: Move chipset definitions to intel_chipset.h

Re: [Intel-gfx] [PATCH 16/18] drm/i915/gtt: Remove redundant hsw_mm_switch()

2018-06-08 Thread Mika Kuoppala
Chris Wilson writes: > hsw_mm_switch() and gen7_mm_switch() are identical, so let's remove the > redundant specialism. > > Signed-off-by: Chris Wilson > Cc: Joonas Lahtinen > Cc: Mika Kuoppala > Cc: Matthew Auld Reviewed-by: Mika Kuoppala > --- > drivers/gpu/drm/i915/i915_gem_gtt.c | 24

[Intel-gfx] [PATCH v2] drm/i915/skl: Add warn about unsupported CDCLK rates

2018-06-08 Thread Imre Deak
While checking workarounds related to the CDCLK PLL, I noticed that the DMC firmware bits for WA#1183 are missing for SKL. After that I clarified with HW people that it's not needed on SKL, since it doesn't support eDP1.4 which would be the only thing requiring the problematic CDCLK clock rates.

Re: [Intel-gfx] [PATCH 02/18] drm/i915/ringbuffer: Brute force context restore

2018-06-08 Thread Chris Wilson
Quoting Mika Kuoppala (2018-06-08 14:52:13) > Chris Wilson writes: > > > An issue encountered with switching mm on gen7 is that the GPU likes to > > hang (with the VS unit busy) when told to force restore the current > > context. We can simply workaround this by substituting the > >

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Move chipset definitions to intel_chipset.h

2018-06-08 Thread Chris Wilson
Quoting Mika Kuoppala (2018-06-08 14:42:01) > Carve out chipset definitions into new intel_chipset.h > > Cc: Chris Wilson > Signed-off-by: Mika Kuoppala Reviewed-by: Chris Wilson Please check with Jani and Rodrigo that this fits in with our new/old platform strategy. > diff --git

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Use unknown production revid as alpha quality flag

2018-06-08 Thread Chris Wilson
Quoting Mika Kuoppala (2018-06-08 14:42:03) > We don't need to have distinct flag for alpha quality if > we agree that setting the first production revid to be the > epoch for stepping out from alpha quality on that platform. > > v2: rebase, comment beautification > > Cc: Joonas Lahtinen > Cc:

Re: [Intel-gfx] [PATCH 4/5] drm/i915: Remove kbl preproduction workarounds

2018-06-08 Thread Chris Wilson
Quoting Mika Kuoppala (2018-06-08 14:42:04) > We don't need kbl preprod workarounds anymore. > > Signed-off-by: Mika Kuoppala As we now consider cnl stable, and icl the new development branch, we can rid ourselves of preproduction w/a for anything older than cnl. (By my understanding of our

Re: [Intel-gfx] [PATCH 02/18] drm/i915/ringbuffer: Brute force context restore

2018-06-08 Thread Mika Kuoppala
Chris Wilson writes: > An issue encountered with switching mm on gen7 is that the GPU likes to > hang (with the VS unit busy) when told to force restore the current > context. We can simply workaround this by substituting the > MI_FORCE_RESTORE flag with a round-trip through the kernel_context,

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Warn on obsolete revision checks

2018-06-08 Thread Chris Wilson
Quoting Mika Kuoppala (2018-06-08 14:42:05) > If we are doing revision checks against a preproduction > range, when there is already a product, it is a sign > that there is code to be removed. > > Signed-off-by: Mika Kuoppala > --- > drivers/gpu/drm/i915/intel_chipset.h | 30

[Intel-gfx] [PATCH 1/5] drm/i915: Move chipset definitions to intel_chipset.h

2018-06-08 Thread Mika Kuoppala
Carve out chipset definitions into new intel_chipset.h Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_drv.h | 194 + drivers/gpu/drm/i915/intel_chipset.h | 202 +++ 2 files changed, 203 insertions(+), 193

[Intel-gfx] [PATCH 2/5] drm/i915: Store first production revid into device info

2018-06-08 Thread Mika Kuoppala
Store first known production revid into the device info. This enables us to easily see if we are running on a preproduction hardware. Uninitialized (zero) product revision id means that there are no known preliminary hardware for this platform, or that the platform is of gen that we don't care.

[Intel-gfx] [PATCH 5/5] drm/i915: Warn on obsolete revision checks

2018-06-08 Thread Mika Kuoppala
If we are doing revision checks against a preproduction range, when there is already a product, it is a sign that there is code to be removed. Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/intel_chipset.h | 30 +--- 1 file changed, 23 insertions(+), 7

[Intel-gfx] [PATCH 4/5] drm/i915: Remove kbl preproduction workarounds

2018-06-08 Thread Mika Kuoppala
We don't need kbl preprod workarounds anymore. Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/intel_lrc.c | 12 drivers/gpu/drm/i915/intel_workarounds.c | 5 - 2 files changed, 17 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_lrc.c

[Intel-gfx] [PATCH 3/5] drm/i915: Use unknown production revid as alpha quality flag

2018-06-08 Thread Mika Kuoppala
We don't need to have distinct flag for alpha quality if we agree that setting the first production revid to be the epoch for stepping out from alpha quality on that platform. v2: rebase, comment beautification Cc: Joonas Lahtinen Cc: Chris Wilson Cc: Tomi Sarvela Cc: Jani Nikula

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2) URL : https://patchwork.freedesktop.org/series/44486/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9241 = == Summary - WARNING ==

Re: [Intel-gfx] [PATCH] drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.

2018-06-08 Thread Imre Deak
Hi Clint, nice debugging! On Thu, Jun 07, 2018 at 04:12:39PM -0700, clinton.a.tay...@intel.com wrote: > From: Clint Taylor > > On GLK NUC platforms the HDMI retiming buffer needs additional disabled > time to correctly sync to a faster incoming signal. > When measured on a scope the highspeed

Re: [Intel-gfx] [bug report] drm/i915/bios: add support for MIPI sequence block v3

2018-06-08 Thread Dan Carpenter
On Fri, Jun 08, 2018 at 03:50:47PM +0300, Jani Nikula wrote: > On Fri, 08 Jun 2018, Dan Carpenter wrote: > > Hello Jani Nikula, > > > > The patch 2a33d93486f2: "drm/i915/bios: add support for MIPI sequence > > block v3" from Jan 11, 2016, leads to the following static checker > > warning: > > > >

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2) URL : https://patchwork.freedesktop.org/series/44486/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915: Apply batch location restrictions

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [01/18] drm/i915: Apply batch location restrictions before pinning (rev2) URL : https://patchwork.freedesktop.org/series/44486/ State : warning == Summary == $ dim checkpatch origin/drm-tip c1efb9574092 drm/i915: Apply batch location

Re: [Intel-gfx] [PATCH i-g-t] igt/drv_suspend: Suspend under memory pressure

2018-06-08 Thread Chris Wilson
Quoting Chris Wilson (2018-06-07 21:50:54) > Recently we discovered that we have a race between swapping and > suspend in our resume path (we might be trying to page in an object > after disabling the block devices). Let's try to exercise that by > exhausting all of system memory before suspend. >

[Intel-gfx] ✗ Fi.CI.BAT: failure for HACK: drm/i915: see what breaks with display disabled

2018-06-08 Thread Patchwork
== Series Details == Series: HACK: drm/i915: see what breaks with display disabled URL : https://patchwork.freedesktop.org/series/44485/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9240 = == Summary - FAILURE == Serious unknown changes coming with

[Intel-gfx] [PATCH] drm/i915/gtt: Make gen6 page directories evictable

2018-06-08 Thread Chris Wilson
Currently all page directories are bound at creation using an unevictable node in the GGTT. This severely limits us as we cannot remove any inactive ppgtt for new contexts, or under aperture pressure. To fix this we need to make the page directory into a first class and unbindable vma. Hence, the

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/5] drm/i915: fix guest virtual PCH detection on non-PCH systems

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/5] drm/i915: fix guest virtual PCH detection on non-PCH systems URL : https://patchwork.freedesktop.org/series/44484/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9239 = == Summary - SUCCESS == No

[Intel-gfx] [PATCH 05/18] drm/i915/gtt: Subclass gen6_hw_ppgtt

2018-06-08 Thread Chris Wilson
The legacy gen6 ppgtt needs a little more hand holding than gen8+, and so requires a larger structure. As I intend to make this slightly more complicated in the future, separate the gen6 from the core gen8 hw struct by subclassing. This patch moves the gen6 only features out to gen6_hw_ppgtt and

[Intel-gfx] [PATCH 11/18] drm/i915/gtt: Free unused page tables on unbind the context

2018-06-08 Thread Chris Wilson
As we cannot reliably change used page tables while the context is active, the earliest opportunity we have to recover excess pages is when the context becomes idle. So whenever we unbind the context (it must be idle, and indeed being evicted) free the unused ptes. Signed-off-by: Chris Wilson

[Intel-gfx] [PATCH 15/18] drm/i915/gtt: Skip clearing the GGTT under gen6+ full-ppgtt

2018-06-08 Thread Chris Wilson
If we know that the user cannot access the GGTT, by virtue of having a segregated memory area, we can skip clearing the unused entries as they cannot be accessed. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld --- drivers/gpu/drm/i915/i915_gem_gtt.c | 4

[Intel-gfx] [PATCH 16/18] drm/i915/gtt: Remove redundant hsw_mm_switch()

2018-06-08 Thread Chris Wilson
hsw_mm_switch() and gen7_mm_switch() are identical, so let's remove the redundant specialism. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld --- drivers/gpu/drm/i915/i915_gem_gtt.c | 24 1 file changed, 24 deletions(-) diff --git

[Intel-gfx] [PATCH 04/18] drm/i915/gtt: Invalidate GGTT caches after writing the gen6 page directories

2018-06-08 Thread Chris Wilson
When we update the gen6 ppgtt page directories, we do so by writing the new address into a reserved slot in the GGTT. It appears that when the GPU reads that entry from the gsm, it uses its small cache and that we need to invalidate that cache after writing. We don't see an issue currently as we

[Intel-gfx] [PATCH 10/18] drm/i915/gtt: Lazily allocate page directories for gen7

2018-06-08 Thread Chris Wilson
As we were only supporting aliasing_ppgtt on gen7 for some time, we saved a few checks by preallocating the page directories on creation. However, since we need 2MiB of page directories for each ppgtt, to support arbitrary numbers of user contexts, we need to be more prudent in our allocations,

[Intel-gfx] [PATCH 13/18] drm/i915/gtt: Cache the PTE encoding of the scratch page

2018-06-08 Thread Chris Wilson
As the most frequent PTE encoding is for the scratch page, cache it upon creation. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld Reviewed-by: Matthew Auld --- drivers/gpu/drm/i915/i915_gem_gtt.c | 20 ++--

[Intel-gfx] [PATCH 14/18] drm/i915/gtt: Reduce a pair of runtime asserts

2018-06-08 Thread Chris Wilson
We can stop asserting using WARN_ON as given sufficient CI coverage, we can rely on using GEM_BUG_ON() to catch problems before merging. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld Reviewed-by: Matthew Auld --- drivers/gpu/drm/i915/i915_gem_gtt.c | 2

[Intel-gfx] [PATCH 06/18] drm/i915/gtt: Onionify error handling for gen6_ppgtt_create

2018-06-08 Thread Chris Wilson
Pull the empty stubs together into the top level gen6_ppgtt_create, and tear each one down on error in proper onion order (rather than use Joonas' pet hate of calling the cleanup function in indeterminable state). Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew

[Intel-gfx] [PATCH 09/18] drm/i915/gtt: Only keep gen6 page directories pinned while active

2018-06-08 Thread Chris Wilson
In order to be able to evict the gen6 ppgtt, we have to unpin it at some point. We can simply use our context activity tracking to know when the ppgtt is no longer in use by hardware, and so only keep it pinned while being used a request. For the kernel_context (and thus aliasing_ppgtt), it

[Intel-gfx] [PATCH 03/18] drm/i915/ringbuffer: Fix context restore upon reset

2018-06-08 Thread Chris Wilson
The discovery with trying to enable full-ppgtt was that we were completely failing to the load both the mm and context following the reset. Although we were performing mmio to set the PP_DIR (per-process GTT) and CCID (context), these were taking no effect (the assumption was that this would

[Intel-gfx] Haswell full-ppgtt, no really

2018-06-08 Thread Chris Wilson
The GPU hangs in mesa (piglit at least) were resolved, and GPU reset should now be operational. So as far as CI goes, we should have a clean bill of health. There is still one outstanding issue as Baytail still has the habit of writing to somewhere other than the intended mm. -Chris

[Intel-gfx] [PATCH 12/18] drm/i915/gtt: Skip initializing PT with scratch if full

2018-06-08 Thread Chris Wilson
If we will completely overwrite the PT with PTEs for the object, we can forgo filling it with scratch entries. References: 14826673247e ("drm/i915: Only initialize partially filled pagetables") Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld Reviewed-by:

[Intel-gfx] [PATCH 18/18] RFT drm/i915/gtt: Enable full-ppgtt by default everywhere

2018-06-08 Thread Chris Wilson
Let's see if we have all the kinks worked out and full-ppgtt now works reliably on gen7 (Ivybridge, Valleyview/Baytrail and Haswell). If we can let userspace have full control over their own ppgtt, it makes softpinning far more effective, in turn making GPU dispatch far more efficient and more

[Intel-gfx] [PATCH 17/18] drm/i915/gtt: Remove vgpu check for gen6

2018-06-08 Thread Chris Wilson
Since vgpu is not supported on Haswell or any other gen6/7, we do not need to check and act upon it's enablement. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala Cc: Matthew Auld --- drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Intel-gfx] [PATCH 08/18] drm/i915/gtt: Make gen6 page directories evictable

2018-06-08 Thread Chris Wilson
Currently all page directories are bound at creation using an unevictable node in the GGTT. This severely limits us as we cannot remove any inactive ppgtt for new contexts, or under aperture pressure. To fix this we need to make the page directory into a first class and unbindable vma. Hence, the

[Intel-gfx] [PATCH 07/18] drm/i915/gtt: Reorder aliasing_ppgtt fini

2018-06-08 Thread Chris Wilson
To allow ourselves to use a first class vma for the aliasing_ppgtt page directory, we have to reorder the shutdown on module unload to remove and unpin the aliasing_ppgtt before complaining about any objects left in the GGTT. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Mika Kuoppala

[Intel-gfx] [PATCH 01/18] drm/i915: Apply batch location restrictions before pinning

2018-06-08 Thread Chris Wilson
We special case the position of the batch within the GTT to prevent negative self-relocation deltas from underflowing. However, that restriction is being applied after a trial pin of the batch in its current position. Thus we are not rejecting an invalid location if the batch has been before,

[Intel-gfx] [PATCH 02/18] drm/i915/ringbuffer: Brute force context restore

2018-06-08 Thread Chris Wilson
An issue encountered with switching mm on gen7 is that the GPU likes to hang (with the VS unit busy) when told to force restore the current context. We can simply workaround this by substituting the MI_FORCE_RESTORE flag with a round-trip through the kernel_context, forcing the context to be saved

Re: [Intel-gfx] [bug report] drm/i915/bios: add support for MIPI sequence block v3

2018-06-08 Thread Jani Nikula
On Fri, 08 Jun 2018, Dan Carpenter wrote: > Hello Jani Nikula, > > The patch 2a33d93486f2: "drm/i915/bios: add support for MIPI sequence > block v3" from Jan 11, 2016, leads to the following static checker > warning: > > drivers/gpu/drm/i915/intel_bios.c:926 goto_next_sequence_v3() >

[Intel-gfx] [CI HACK PATCH] HACK: drm/i915: see what breaks with display disabled

2018-06-08 Thread Jani Nikula
We don't properly test the i915.disable_display=1 module parameter. We have one display info with .num_pipes = 0, but AFAIK there are others than ivb q. Let's see what CI says of this for platforms with display. *evil grin*. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_params.h | 2

[Intel-gfx] [bug report] drm/i915/bios: add support for MIPI sequence block v3

2018-06-08 Thread Dan Carpenter
Hello Jani Nikula, The patch 2a33d93486f2: "drm/i915/bios: add support for MIPI sequence block v3" from Jan 11, 2016, leads to the following static checker warning: drivers/gpu/drm/i915/intel_bios.c:926 goto_next_sequence_v3() warn: potentially one past the end of array

[Intel-gfx] [PATCH 2/5] drm/i915: document PCH_NOP

2018-06-08 Thread Jani Nikula
From: Lucas De Marchi There's a difference between PCH_NONE and PCH_NOP: the former means we don't have a PCH while in the latter we do, but it doesn't have the south display. Signed-off-by: Lucas De Marchi Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_drv.h | 2 +- 1 file

Re: [Intel-gfx] [PATCH 1/4] drm/i915: fix guest virtual PCH detection on non-PCH systems

2018-06-08 Thread Jani Nikula
On Thu, 31 May 2018, Lucas De Marchi wrote: > On Thu, May 31, 2018 at 02:56:21PM +0300, Jani Nikula wrote: >> Virtualized non-PCH systems such as Broxton or Geminilake should use >> PCH_NONE to indicate no PCH rather than PCH_NOP. The latter is a >> specific case to indicate a PCH system without

[Intel-gfx] [PATCH 5/5] drm/i915: fix PCH_NOP setting for non-PCH platforms

2018-06-08 Thread Jani Nikula
Setting PCH type to PCH_NOP before checking whether we actually have a PCH ends up returning true for HAS_PCH_SPLIT() on all non-PCH split platforms. Fix this by using PCH_NOP only for platforms that actually have a PCH. Cc: Ville Syrjala Reviewed-by: Ville Syrjälä Signed-off-by: Jani Nikula

[Intel-gfx] [PATCH 3/5] drm/i915: clean up virtual PCH special case handling

2018-06-08 Thread Jani Nikula
Use intel_pch_type() also for mapping the no PCH case (PCH id 0) to PCH_NONE to simplify code. Also make sure that intel_pch_type() knows all the PCH ids returned by intel_virt_detect_pch(). Loudly fail if this isn't the case; this shouldn't happen anyway. Cc: Colin Xu Reviewed-by: Ville

[Intel-gfx] [PATCH 4/5] drm/i915: be more strict about HAS_PCH_NOP() usage

2018-06-08 Thread Jani Nikula
HAS_PCH_NOP() implies a PCH platform without south display, not generic disabled display. Prefer num_pipes == 0 for PCH independent checks. Cc: Ville Syrjala Reviewed-by: Ville Syrjälä Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_bios.c | 2 +- drivers/gpu/drm/i915/intel_i2c.c |

[Intel-gfx] drm/i915: virtual PCH and PCH_NOP fixes

2018-06-08 Thread Jani Nikula
Just a resend of [1] with Lucas' patch added. BR, Jani. [1] 20180531115624.30269-1-jani.nikula@intel.com">http://mid.mail-archive.com/20180531115624.30269-1-jani.nikula@intel.com ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org

[Intel-gfx] [PATCH 1/5] drm/i915: fix guest virtual PCH detection on non-PCH systems

2018-06-08 Thread Jani Nikula
Virtualized non-PCH systems such as Broxton or Geminilake should use PCH_NONE to indicate no PCH rather than PCH_NOP. The latter is a specific case to indicate a PCH system without south display. Reported-by: Colin Xu Cc: Colin Xu Reviewed-by: Ville Syrjälä Tested-by: Colin Xu Reviewed-by:

[Intel-gfx] [PULL] drm-intel-next-fixes for drm-next/v4.18

2018-06-08 Thread Jani Nikula
Hi Dave, these missed the main drm-next pull request. drm-intel-next-fixes-2018-06-08-2: First batch of i915 fixes for v4.18: - gvt fixes that missed v4.17, potentially need to be backported - eDP resolution regression revert - remove broken nv12 special casing - remove stale asserts from find

Re: [Intel-gfx] [PULL] gvt-fixes for 4.17

2018-06-08 Thread Jani Nikula
On Wed, 06 Jun 2018, Joonas Lahtinen wrote: > Quoting Zhenyu Wang (2018-06-06 10:49:54) >> On 2018.04.19 15:39:48 +0800, Zhenyu Wang wrote: >> > >> > Hi, >> > >> > Here's current gvt fixes for 4.17 with several kernel warning >> > and other misc fixes as detailed below. >> > >> > p.s: I'll be

Re: [Intel-gfx] [PATCH] drm/i915/audio: Add 801Mhz clock entries to dp_aud_n_m table

2018-06-08 Thread Jani Nikula
On Thu, 07 Jun 2018, Radhakrishna Sripada wrote: > From: "Sripada, Radhakrishna" > > Expand the Maud/Naud table according to DP 1.4 spec to include entries for > 810 MHz clock. This is required for audio to work with HBR3. > > Cc: Dhinakaran Pandiyan > Cc: Jani Nikula > Signed-off-by:

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/6] drm/i915: Store first production revid into device info (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: Store first production revid into device info (rev2) URL : https://patchwork.freedesktop.org/series/44429/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4294 -> Patchwork_9238 = == Summary - FAILURE ==

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/6] drm/i915: Store first production revid into device info (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: Store first production revid into device info (rev2) URL : https://patchwork.freedesktop.org/series/44429/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915: Store first production revid into device

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/6] drm/i915: Store first production revid into device info (rev2)

2018-06-08 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: Store first production revid into device info (rev2) URL : https://patchwork.freedesktop.org/series/44429/ State : warning == Summary == $ dim checkpatch origin/drm-tip c1df0dd08b23 drm/i915: Store first production revid into

Re: [Intel-gfx] [PATCH 1/6] drm/i915: Store first production revid into device info

2018-06-08 Thread Chris Wilson
Quoting Mika Kuoppala (2018-06-08 09:39:06) > Store first known production revid into the device info. > > This enables us to easily see if we are running on > a preproduction hardware. > > Uninitialized (zero) product revision id means that > there are no known preliminary hardware for this

  1   2   >