[Intel-gfx] [PATCH 2/2] drm/i915: Sanitize hardware context computation

2017-04-26 Thread Joonas Lahtinen
Inspired by the engine context size sanitization, lets also clean the legacy hardware context computation. Signed-off-by: Joonas Lahtinen Cc: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_context.c | 28 +++- 1

[Intel-gfx] [PATCH v2] drm/i915: Micro-optimise hotpath through intel_ring_begin()

2017-04-26 Thread Chris Wilson
Typically, there is space available within the ring and if not we have to wait (by definition a slow path). Rearrange the code to reduce the number of branches and stack size for the hotpath, accomodating a slight growth for the wait. v2: Fix the new assert that packets are not larger than the

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915: Avoid the branch in computing intel_ring_space()

2017-04-26 Thread Chris Wilson
On Wed, Apr 26, 2017 at 08:59:14AM -, Patchwork wrote: > == Series Details == > > Series: series starting with [1/3] drm/i915: Avoid the branch in computing > intel_ring_space() > URL : https://patchwork.freedesktop.org/series/23555/ > State : failure > > == Summary == > > Series 23555v1

Re: [Intel-gfx] [PATCH v2 01/21] scatterlist: Introduce sg_map helper functions

2017-04-26 Thread Christian König
Am 25.04.2017 um 20:20 schrieb Logan Gunthorpe: This patch introduces functions which kmap the pages inside an sgl. These functions replace a common pattern of kmap(sg_page(sg)) that is used in more than 50 places within the kernel. The motivation for this work is to eventually safely support

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915: Avoid the branch in computing intel_ring_space()

2017-04-26 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915: Avoid the branch in computing intel_ring_space() URL : https://patchwork.freedesktop.org/series/23555/ State : failure == Summary == Series 23555v1 Series without cover letter

Re: [Intel-gfx] [PATCH] tests/pm_sseu: Re-enable the test

2017-04-26 Thread Petri Latvala
On Tue, Apr 18, 2017 at 04:45:29PM -0700, Oscar Mateo wrote: > This test got inadvertently disabled by commit 83884e97 (Restore > "lib: Open debugfs files for the given DRM device"). > > Cc: Jeff McGee > Cc: Chris Wilson > Signed-off-by: Oscar

[Intel-gfx] [PATCH 2/3] drm/i915: Report the ring->space from intel_ring_update_space()

2017-04-26 Thread Chris Wilson
Some callers immediately want to know the current ring->space after calling intel_ring_update_space(), which we can freely provide via the return parameter. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_ringbuffer.c | 12

[Intel-gfx] [PATCH 1/3] drm/i915: Avoid the branch in computing intel_ring_space()

2017-04-26 Thread Chris Wilson
Exploit the power-of-two ring size to compute the space across the wraparound using a mask rather than a if. Convert to unsigned integers so the operation is well defined. Signed-off-by: Chris Wilson Cc: Mika Kuoppala ---

[Intel-gfx] [PATCH 3/3] drm/i915: Micro-optimise hotpath through intel_ring_begin()

2017-04-26 Thread Chris Wilson
Typically, there is space available within the ring and if not we have to wait (by definition a slow path). Rearrange the code to reduce the number of branches and stack size for the hotpath, accomodating a slight growth for the wait. Signed-off-by: Chris Wilson ---

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Skip waking the signaler when enabling before request submission

2017-04-26 Thread Patchwork
== Series Details == Series: drm/i915: Skip waking the signaler when enabling before request submission URL : https://patchwork.freedesktop.org/series/23553/ State : success == Summary == Series 23553v1 drm/i915: Skip waking the signaler when enabling before request submission

[Intel-gfx] [PATCH] drm/i915: Skip waking the signaler when enabling before request submission

2017-04-26 Thread Chris Wilson
If we are enabling the breadcrumbs signaling prior to submitting the request, we know that we cannot have missed the interrupt and can therefore skip immediately waking the signaler to check. This reduces a significant chunk of the __i915_gem_request_submit() overhead for inter-engine

Re: [Intel-gfx] [PATCH v2 02/21] libiscsi: Add an internal error code

2017-04-26 Thread Christoph Hellwig
On Tue, Apr 25, 2017 at 12:20:49PM -0600, Logan Gunthorpe wrote: > This is a prep patch to add a new error code to libiscsi. We want to > rework some kmap calls to be able to fail. When we do, we'd like to > use this error code. The kmap case in iscsi_tcp_segment_map can already fail. Please add

Re: [Intel-gfx] [PATCH v2 01/21] scatterlist: Introduce sg_map helper functions

2017-04-26 Thread Christoph Hellwig
On Tue, Apr 25, 2017 at 12:20:48PM -0600, Logan Gunthorpe wrote: > This patch introduces functions which kmap the pages inside an sgl. > These functions replace a common pattern of kmap(sg_page(sg)) that is > used in more than 50 places within the kernel. > > The motivation for this work is to

Re: [Intel-gfx] [PATCH 00/11] drm/i915: LPE audio runtime PM and multipipe

2017-04-26 Thread Takashi Iwai
On Tue, 25 Apr 2017 22:27:19 +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > I was wondering why my VLV no longer runtime suspended, and after some > thinking I decided it had to be the LPE audio preventing it. Turns out > I was right, so

Re: [Intel-gfx] [alsa-devel] [PATCH 11/11] ALSA: x86: Register multiple PCM devices for the LPE audio card

2017-04-26 Thread Takashi Iwai
On Wed, 26 Apr 2017 09:04:46 +0200, Takashi Iwai wrote: > > On Wed, 26 Apr 2017 03:58:57 +0200, > Pierre-Louis Bossart wrote: > > > > On 04/25/2017 03:27 PM, ville.syrj...@linux.intel.com wrote: > > > From: Ville Syrjälä > > > > > > Now that everything is in place

Re: [Intel-gfx] [alsa-devel] [PATCH 11/11] ALSA: x86: Register multiple PCM devices for the LPE audio card

2017-04-26 Thread Takashi Iwai
On Wed, 26 Apr 2017 03:58:57 +0200, Pierre-Louis Bossart wrote: > > On 04/25/2017 03:27 PM, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Now that everything is in place let's register a PCM device for > > each pipe of the display engine.

[Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: Convert connector properties to atomic. (rev6)

2017-04-26 Thread Patchwork
== Series Details == Series: drm/i915: Convert connector properties to atomic. (rev6) URL : https://patchwork.freedesktop.org/series/22634/ State : warning == Summary == Series 22634v6 drm/i915: Convert connector properties to atomic.

<    1   2