[Intel-gfx] [PATCH] drm/i915/gen11: enable support for headerless msgs

2019-04-24 Thread Chris Wilson
From: Dongwon Kim Setting bit5 (headerless msg for preemptable GPGPU context) of SAMPLER_MODE register to enable support for the headless msgs on gen11. None of existing use cases will be affected by this as this change makes both types of message - headerless and w/ header supported at the same

[Intel-gfx] [PATCH 03/10] drm/i915: Export intel_context_instance()

2019-04-24 Thread Chris Wilson
We want to pass in a intel_context into intel_context_pin() and that requires us to first be able to lookup the intel_context! Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_context.c| 37 +++---

[Intel-gfx] [PATCH 09/10] drm/i915: Remove intel_context.active_link

2019-04-24 Thread Chris Wilson
We no longer need to track the active intel_contexts within each engine, allowing us to drop a tricky mutex_lock from inside unpin (which may occur inside fs_reclaim). Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_context.c | 11 +--

[Intel-gfx] [PATCH 04/10] drm/i915/selftests: Use the real kernel context for sseu isolation tests

2019-04-24 Thread Chris Wilson
Simply the setup slightly for the sseu selftests to use the actual kernel_context. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- .../gpu/drm/i915/selftests/i915_gem_context.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git

[Intel-gfx] [PATCH 02/10] drm/i915/gvt: Pin the per-engine GVT shadow contexts

2019-04-24 Thread Chris Wilson
Our eventual goal is to rid request construction of struct_mutex, with the short term step of lifting the struct_mutex requirements into the higher levels (i.e. the caller must ensure that the context is already pinned into the GTT). In this patch, we pin GVT's shadow context upon allocation and

[Intel-gfx] [PATCH 05/10] drm/i915/selftests: Pass around intel_context for sseu

2019-04-24 Thread Chris Wilson
Combine the (i915_gem_context, intel_engine) into a single parameter, the intel_context for convenience and later simplification. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- .../gpu/drm/i915/selftests/i915_gem_context.c | 74 +++ 1 file changed, 44

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

2019-04-24 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

[Intel-gfx] [PATCH 07/10] drm/i915: Split engine setup/init into two phases

2019-04-24 Thread Chris Wilson
In the next patch, we require the engine vfuncs setup prior to initialising the pinned kernel contexts, so split the vfunc setup from the engine initialisation and call it earlier. v2: s/setup_xcs/setup_common/ for intel_ring_submission_setup() Signed-off-by: Chris Wilson Reviewed-by: Tvrtko

[Intel-gfx] [PATCH 06/10] drm/i915: Pass intel_context to intel_context_pin_lock()

2019-04-24 Thread Chris Wilson
Move the intel_context_instance() to the caller so that we can decouple ourselves from one context instance per engine. v2: Rename pin_lock() to lock_pinned(), hopefully that is clearer. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_context.c

[Intel-gfx] [CI] drm/i915: Allow multiple user handles to the same VM

2019-04-24 Thread Chris Wilson
It was noted that we made the same mistake for VM_ID as for object handles, whereby we ensured that we only allocated a single handle for one ppgtt. This has the unfortunate consequence for userspace that they need to reference count the handles to avoid destroying an active ID. If we allow

[Intel-gfx] [PATCH 08/10] drm/i915: Switch back to an array of logical per-engine HW contexts

2019-04-24 Thread Chris Wilson
We switched to a tree of per-engine HW context to accommodate the introduction of virtual engines. However, we plan to also support multiple instances of the same engine within the GEM context, defeating our use of the engine as a key to looking up the HW context. Just allocate a logical

[Intel-gfx] [PATCH 10/10] drm/i915: Move i915_request_alloc into selftests/

2019-04-24 Thread Chris Wilson
Having transitioned GEM over to using intel_context as its primary means of tracking the GEM context and engine combined and using i915_request_create(), we can move the older i915_request_alloc() helper function into selftests/ where the remaining users are confined. Signed-off-by: Chris Wilson

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Explicitly pin the logical context for execbuf

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Explicitly pin the logical context for execbuf URL : https://patchwork.freedesktop.org/series/59911/ State : success == Summary == CI Bug Log - changes from CI_DRM_5994 -> Patchwork_12866 Summary

[Intel-gfx] [CI] drm/i915: Explicitly pin the logical context for execbuf

2019-04-24 Thread Chris Wilson
In order to separate the reservation phase of building a request from its emission phase, we need to pull some of the request alloc activities from deep inside i915_request to the surface, GEM_EXECBUFFER. v2: Be frivolous, use a local drm_i915_private.. Signed-off-by: Chris Wilson Reviewed-by:

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/selftests: Verify whitelist of context registers (rev3)

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Verify whitelist of context registers (rev3) URL : https://patchwork.freedesktop.org/series/59870/ State : success == Summary == CI Bug Log - changes from CI_DRM_5989_full -> Patchwork_12860_full

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Store the default sseu setup on the engine

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Store the default sseu setup on the engine URL : https://patchwork.freedesktop.org/series/59869/ State : success == Summary == CI Bug Log - changes from CI_DRM_5987_full -> Patchwork_12859_full

[Intel-gfx] [PULL] drm-intel-fixes

2019-04-24 Thread Rodrigo Vivi
Hi Dave and Daniel, This has been a very quiet week. The only 2 patches here was queued last week. drm-intel-fixes-2019-04-24: A fix for display lanes calculation for BXT and a protection to avoid enabling FEC without DSC. Thanks, Rodrigo. The following changes since commit

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [CI,1/5] drm/i915: Introduce struct intel_wakeref

2019-04-24 Thread Patchwork
== Series Details == Series: series starting with [CI,1/5] drm/i915: Introduce struct intel_wakeref URL : https://patchwork.freedesktop.org/series/59904/ State : success == Summary == CI Bug Log - changes from CI_DRM_5992 -> Patchwork_12865

[Intel-gfx] [PULL] drm-misc-next-fixes

2019-04-24 Thread Sean Paul
Hi Da.*, First pull from -next-fixes for 5.2. Mostly lease fixes from Daniel with a NULL deref from Noralf. Please pull! drm-misc-next-fixes-2019-04-24: - fb_helper: Fix NULL deref in legacy drivers (Noralf) - leases: Ensure lessees can't connect to objects outside their perview (Daniel) -

[Intel-gfx] [PATCH v3] drm/i915/gen11: enable support for headerless msgs

2019-04-24 Thread Dongwon Kim
Setting bit5 (headerless msg for preemptable GPGPU context) of SAMPLER_MODE register to enable support for the headless msgs on gen11. None of existing use cases will be affected by this as this change makes both types of message - headerless and w/ header supported at the same time. It also

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [CI,1/5] drm/i915: Introduce struct intel_wakeref

2019-04-24 Thread Patchwork
== Series Details == Series: series starting with [CI,1/5] drm/i915: Introduce struct intel_wakeref URL : https://patchwork.freedesktop.org/series/59904/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: Introduce struct intel_wakeref

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/5] drm/i915: Introduce struct intel_wakeref

2019-04-24 Thread Patchwork
== Series Details == Series: series starting with [CI,1/5] drm/i915: Introduce struct intel_wakeref URL : https://patchwork.freedesktop.org/series/59904/ State : warning == Summary == $ dim checkpatch origin/drm-tip a7bf2659e2d4 drm/i915: Introduce struct intel_wakeref -:65:

Re: [Intel-gfx] [PATCH] drm/i915/gen11: enable support for headerless msgs

2019-04-24 Thread Chris Wilson
Quoting Dongwon Kim (2019-04-24 21:38:57) > Setting bit5 (headerless msg for preemptable GPGPU context) of SAMPLER_MODE > register to enable support for the headless msgs on gen11. None of existing > use cases will be affected by this as this change makes both types of message > - headerless and

[Intel-gfx] [PATCH] drm/i915/gen11: enable support for headerless msgs

2019-04-24 Thread Dongwon Kim
Setting bit5 (headerless msg for preemptable GPGPU context) of SAMPLER_MODE register to enable support for the headless msgs on gen11. None of existing use cases will be affected by this as this change makes both types of message - headerless and w/ header supported at the same time. It also

Re: [Intel-gfx] [patch V2 19/29] lockdep: Simplify stack trace handling

2019-04-24 Thread Peter Zijlstra
On Thu, Apr 18, 2019 at 10:41:38AM +0200, Thomas Gleixner wrote: > Replace the indirection through struct stack_trace by using the storage > array based interfaces and storing the information is a small lockdep > specific data structure. > Acked-by: Peter Zijlstra (Intel)

Re: [Intel-gfx] [PATCH] i915: disable framebuffer compression on GeminiLake

2019-04-24 Thread Paulo Zanoni
Em qua, 2019-04-24 às 20:58 +0100, Chris Wilson escreveu: > Quoting Jian-Hong Pan (2019-04-23 10:28:10) > > From: Daniel Drake > > > > On many (all?) the Gemini Lake systems we work with, there is frequent > > momentary graphical corruption at the top of the screen, and it seems > > that

[Intel-gfx] [CI 3/5] drm/i915: Introduce context->enter() and context->exit()

2019-04-24 Thread Chris Wilson
We wish to start segregating the power management into different control domains, both with respect to the hardware and the user interface. The first step is that at the lowest level flow of requests, we want to process a context event (and not a global GEM operation). In this patch, we introduce

[Intel-gfx] [CI 4/5] drm/i915: Pass intel_context to i915_request_create()

2019-04-24 Thread Chris Wilson
Start acquiring the logical intel_context and using that as our primary means for request allocation. This is the initial step to allow us to avoid requiring struct_mutex for request allocation along the perma-pinned kernel context, but it also provides a foundation for breaking up the complex

[Intel-gfx] [CI 5/5] drm/i915: Invert the GEM wakeref hierarchy

2019-04-24 Thread Chris Wilson
In the current scheme, on submitting a request we take a single global GEM wakeref, which trickles down to wake up all GT power domains. This is undesirable as we would like to be able to localise our power management to the available power domains and to remove the global GEM operations from the

[Intel-gfx] [CI 2/5] drm/i915: Pull the GEM powermangement coupling into its own file

2019-04-24 Thread Chris Wilson
Split out the powermanagement portion (GT wakeref, suspend/resume) of GEM from i915_gem.c into its own file. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/Makefile.header-test | 1 +

[Intel-gfx] [CI 1/5] drm/i915: Introduce struct intel_wakeref

2019-04-24 Thread Chris Wilson
For controlling runtime pm of the GT and engines, we would like to have a callback to do extra work the first time we wake up and the last time we drop the wakeref. This first/last access needs serialisation and so we encompass a mutex with the regular intel_wakeref_t tracker. v2: Drop the _once

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/fbdev: Actually configure untiled displays (rev2)

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915/fbdev: Actually configure untiled displays (rev2) URL : https://patchwork.freedesktop.org/series/56728/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5985_full -> Patchwork_12858_full

Re: [Intel-gfx] [PATCH] i915: disable framebuffer compression on GeminiLake

2019-04-24 Thread Chris Wilson
Quoting Jian-Hong Pan (2019-04-23 10:28:10) > From: Daniel Drake > > On many (all?) the Gemini Lake systems we work with, there is frequent > momentary graphical corruption at the top of the screen, and it seems > that disabling framebuffer compression can avoid this. > > The ticket was

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Move GraphicsTechnology files under gt/

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Move GraphicsTechnology files under gt/ URL : https://patchwork.freedesktop.org/series/59900/ State : success == Summary == CI Bug Log - changes from CI_DRM_5991 -> Patchwork_12864 Summary ---

Re: [Intel-gfx] [patch V2 18/29] lockdep: Move stack trace logic into check_prev_add()

2019-04-24 Thread Thomas Gleixner
On Wed, 24 Apr 2019, Peter Zijlstra wrote: > On Thu, Apr 18, 2019 at 10:41:37AM +0200, Thomas Gleixner wrote: > > There is only one caller of check_prev_add() which hands in a zeroed struct > > stack trace and a function pointer to save_stack(). Inside check_prev_add() > > the stack_trace struct

Re: [Intel-gfx] [patch V2 18/29] lockdep: Move stack trace logic into check_prev_add()

2019-04-24 Thread Peter Zijlstra
On Thu, Apr 18, 2019 at 10:41:37AM +0200, Thomas Gleixner wrote: > There is only one caller of check_prev_add() which hands in a zeroed struct > stack trace and a function pointer to save_stack(). Inside check_prev_add() > the stack_trace struct is checked for being empty, which is always > true.

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper

2019-04-24 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper URL : https://patchwork.freedesktop.org/series/59893/ State : success == Summary == CI Bug Log - changes from CI_DRM_5991 -> Patchwork_12863

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

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

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Move GraphicsTechnology files under gt/

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Move GraphicsTechnology files under gt/ URL : https://patchwork.freedesktop.org/series/59900/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: Move GraphicsTechnology files under gt/

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Move GraphicsTechnology files under gt/

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Move GraphicsTechnology files under gt/ URL : https://patchwork.freedesktop.org/series/59900/ State : warning == Summary == $ dim checkpatch origin/drm-tip f510efa18d5d drm/i915: Move GraphicsTechnology files under gt/ -:131: WARNING:FILE_PATH_CHANGES:

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper

2019-04-24 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper URL : https://patchwork.freedesktop.org/series/59893/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915/icl: Factor out combo PHY

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper

2019-04-24 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/icl: Factor out combo PHY lane power setup helper URL : https://patchwork.freedesktop.org/series/59893/ State : warning == Summary == $ dim checkpatch origin/drm-tip f4ea4c654a95 drm/i915/icl: Factor out combo PHY lane power

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_exec_schedule: Check deps along implicit inter-engine semaphores

2019-04-24 Thread Chris Wilson
Quoting Daniele Ceraolo Spurio (2019-04-24 18:53:08) > > > On 4/24/19 8:47 AM, Chris Wilson wrote: > > Given an implicit semaphore from one engine to the next, check that if > > we skip the wait on that semaphore the following batch although > > submitted early (as it depends along the single

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_exec_schedule: Check deps along implicit inter-engine semaphores

2019-04-24 Thread Daniele Ceraolo Spurio
On 4/24/19 8:47 AM, Chris Wilson wrote: Given an implicit semaphore from one engine to the next, check that if we skip the wait on that semaphore the following batch although submitted early (as it depends along the single engine timeline) is not executed ahead of its dependency.

Re: [Intel-gfx] PR - i915 updates

2019-04-24 Thread Josh Boyer
On Wed, Apr 24, 2019 at 1:40 PM Srivatsa, Anusha wrote: > > Hi, > > Requesting to have the below i915 changes merged- > > > > The following changes since commit 260cb35b11a968e7896f911565b75e411636ad69: > > > Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware >

[Intel-gfx] [CI] drm/i915: Move GraphicsTechnology files under gt/

2019-04-24 Thread Chris Wilson
Start partitioning off the code that talks to the hardware (GT) from the uapi layers and move the device facing code under gt/ One casualty is s/intel_ringbuffer.h/intel_engine.h/ with the plan to subdivide that header and body further (and split out the submission code from the ringbuffer and

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/vc4: Fix compilation error reported by kbuild test bot

2019-04-24 Thread Patchwork
== Series Details == Series: drm/vc4: Fix compilation error reported by kbuild test bot URL : https://patchwork.freedesktop.org/series/59891/ State : failure == Summary == Applying: drm/vc4: Fix compilation error reported by kbuild test bot Using index info to reconstruct a base tree... M

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/selftests: Verify whitelist of context registers (rev3)

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915/selftests: Verify whitelist of context registers (rev3) URL : https://patchwork.freedesktop.org/series/59870/ State : success == Summary == CI Bug Log - changes from CI_DRM_5989 -> Patchwork_12860

[Intel-gfx] PR - i915 updates

2019-04-24 Thread Srivatsa, Anusha
Hi, Requesting to have the below i915 changes merged- The following changes since commit 260cb35b11a968e7896f911565b75e411636ad69: Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware (2019-04-09 06:41:10 -0400) are available in the Git repository at:

Re: [Intel-gfx] [PATCH v3 00/11] drm/fb-helper: Move modesetting code to drm_client

2019-04-24 Thread Noralf Trønnes
Den 23.04.2019 13.04, skrev Martin Peres: > On 20/04/2019 20:24, Noralf Trønnes wrote: >> >> >> Den 20.04.2019 12.45, skrev Noralf Trønnes: >>> This moves the modesetting code from drm_fb_helper to drm_client so it >>> can be shared by all internal clients. >>> >>> Changes this time: >>> - Use

[Intel-gfx] [PATCH i-g-t] i915/gem_exec_schedule: Check deps along implicit inter-engine semaphores

2019-04-24 Thread Chris Wilson
Given an implicit semaphore from one engine to the next, check that if we skip the wait on that semaphore the following batch although submitted early (as it depends along the single engine timeline) is not executed ahead of its dependency. Signed-off-by: Chris Wilson Cc: Daniele Ceraolo Spurio

[Intel-gfx] [PATCH i-g-t] i915/gem_exec_schedule: Check deps along implicit inter-engine semaphores

2019-04-24 Thread Chris Wilson
Given an implicit semaphore from one engine to the next, check that if we skip the wait on that semaphore the following batch although submitted early (as it depends along the single engine timeline) is not executed ahead of its dependency. Signed-off-by: Chris Wilson Cc: Daniele Ceraolo Spurio

[Intel-gfx] [PATCH i-g-t] i915/gem_exec_schedule: Check deps along implicit inter-engine semaphores

2019-04-24 Thread Chris Wilson
Given an implicit semaphore from one engine to the next, check that if we skip the wait on that semaphore the following batch although submitted early (as it depends along the single engine timeline) is not executed ahead of its dependency. Signed-off-by: Chris Wilson Cc: Daniele Ceraolo Spurio

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Store the default sseu setup on the engine

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Store the default sseu setup on the engine URL : https://patchwork.freedesktop.org/series/59869/ State : success == Summary == CI Bug Log - changes from CI_DRM_5987 -> Patchwork_12859 Summary ---

[Intel-gfx] [PATCH 2/2] drm/i915/icl: Add missing combo PHY lane power setup

2019-04-24 Thread Imre Deak
This step of the BSpec combo PHY port enabling is missing, so add it now. Reported-by: Ville Syrjala Cc: Jani Nikula Cc: Madhav Chauhan Cc: Ville Syrjala Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/intel_ddi.c | 9 + 1 file changed, 9 insertions(+) diff --git

[Intel-gfx] [PATCH 1/2] drm/i915/icl: Factor out combo PHY lane power setup helper

2019-04-24 Thread Imre Deak
Factor out the combo PHY lane power configuration code to a separate helper; it will be also needed by the next patch adding the same configuration for DDI ports. While at it also add support to handle lane reversal which wasn't needed for DSI, but will be needed by DDI ports. Also, remove the

Re: [Intel-gfx] [PATCH] drm/vc4: Fix compilation error reported by kbuild test bot

2019-04-24 Thread Maarten Lankhorst
Op 24-04-2019 om 17:06 schreef Maarten Lankhorst: > Op 24-04-2019 om 15:12 schreef kbuild test robot: >> tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next-fixes >> head: d08106796a78a4273e39e1bbdf538dc4334b2635 >> commit: d08106796a78a4273e39e1bbdf538dc4334b2635 [1/1] drm/vc4:

[Intel-gfx] [PATCH] drm/vc4: Fix compilation error reported by kbuild test bot

2019-04-24 Thread Maarten Lankhorst
Op 24-04-2019 om 15:12 schreef kbuild test robot: > tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next-fixes > head: d08106796a78a4273e39e1bbdf538dc4334b2635 > commit: d08106796a78a4273e39e1bbdf538dc4334b2635 [1/1] drm/vc4: Fix memory > leak during gpu reset. > reproduce: >

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/fbdev: Actually configure untiled displays (rev2)

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915/fbdev: Actually configure untiled displays (rev2) URL : https://patchwork.freedesktop.org/series/56728/ State : success == Summary == CI Bug Log - changes from CI_DRM_5985 -> Patchwork_12858 Summary

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Store the default sseu setup on the engine

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Store the default sseu setup on the engine URL : https://patchwork.freedesktop.org/series/59869/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: Store the default sseu setup on the engine

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Store the default sseu setup on the engine

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Store the default sseu setup on the engine URL : https://patchwork.freedesktop.org/series/59869/ State : warning == Summary == $ dim checkpatch origin/drm-tip d5a366875370 drm/i915: Store the default sseu setup on the engine -:387:

[Intel-gfx] [drm-tip:drm-tip 3/9] drivers/gpu/drm/virtio/virtgpu_prime.c:31:17: sparse: the previous one is here

2019-04-24 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: 575436c338f413c032e3accde7933e67f44261fb commit: 3a6142185c17293159dec428c56f7f1f0ec53f61 [3/9] Merge remote-tracking branch 'drm/drm-next' into drm-tip reproduce: # apt-get install sparse git checkout

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

2019-04-24 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

[Intel-gfx] [drm-tip:drm-tip 3/9] drivers/gpu/drm/virtio/virtgpu_prime.c:43:18: error: redefinition of 'virtgpu_gem_prime_get_sg_table'

2019-04-24 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: 575436c338f413c032e3accde7933e67f44261fb commit: 3a6142185c17293159dec428c56f7f1f0ec53f61 [3/9] Merge remote-tracking branch 'drm/drm-next' into drm-tip config: x86_64-rhel-7.6 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1)

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/fbdev: Actually configure untiled displays (rev2)

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915/fbdev: Actually configure untiled displays (rev2) URL : https://patchwork.freedesktop.org/series/56728/ State : warning == Summary == $ dim checkpatch origin/drm-tip 13043f445b75 drm/i915/fbdev: Actually configure untiled displays -:40:

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

2019-04-24 Thread Tvrtko Ursulin
On 24/04/2019 12:03, Chris Wilson wrote: Quoting Chris Wilson (2019-04-24 11:00:03) Quoting Tvrtko Ursulin (2019-04-16 15:50:27) On 16/04/2019 10:12, Chris Wilson wrote: + rq = ERR_PTR(-ENODEV); + with_intel_runtime_pm(engine->i915, wakeref) + rq =

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

2019-04-24 Thread Chris Wilson
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 those registers we do add are (a) then

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

2019-04-24 Thread Chris Wilson
Quoting Chris Wilson (2019-04-24 11:00:03) > Quoting Tvrtko Ursulin (2019-04-16 15:50:27) > > > > On 16/04/2019 10:12, Chris Wilson wrote: > > > + rq = ERR_PTR(-ENODEV); > > > + with_intel_runtime_pm(engine->i915, wakeref) > > > + rq = i915_request_alloc(engine, ctx); > > > +

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

2019-04-24 Thread Tvrtko Ursulin
On 24/04/2019 11:54, 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

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

2019-04-24 Thread Chris Wilson
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 those registers we do add are (a) then

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

2019-04-24 Thread Chris Wilson
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 those registers we do add are (a) then

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

2019-04-24 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-16 15:50:27) > > 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

Re: [Intel-gfx] [PATCH v2] drm/i915: Store the default sseu setup on the engine

2019-04-24 Thread Tvrtko Ursulin
On 24/04/2019 10:51, Chris Wilson wrote: As we push for better compartmentalisation, it is more convenient to copy the default sseu configuration from the engine into the derived logical context, than it is to dig it out from i915->runtime_info. v2: Use intel_sseu_from_device_info() to

[Intel-gfx] [PATCH v2] drm/i915: Store the default sseu setup on the engine

2019-04-24 Thread Chris Wilson
As we push for better compartmentalisation, it is more convenient to copy the default sseu configuration from the engine into the derived logical context, than it is to dig it out from i915->runtime_info. v2: Use intel_sseu_from_device_info() to describe the converter Signed-off-by: Chris Wilson

Re: [Intel-gfx] [PATCH 06/32] drm/i915: Store the default sseu setup on the engine

2019-04-24 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-17 10:40:26) > > On 17/04/2019 08:56, Chris Wilson wrote: > > +/* > > + * Powergating configuration for a particular (context,engine). > > + */ > > +struct intel_sseu { > > + u8 slice_mask; > > + u8 subslice_mask; > > + u8 min_eus_per_subslice; > > +

Re: [Intel-gfx] [PATCH] drm/i915/fbdev: Actually configure untiled displays

2019-04-24 Thread Maarten Lankhorst
Op 24-04-2019 om 02:50 schreef Dave Airlie: > This patch broke userspace. I'm reverting it. > > I know userspace was broken, but since it's a userspace lots of people > are using we shouldn't break it. > > We either need to add this as a config option that we can let people > pick the breakage, or

Re: [Intel-gfx] [git pull] drm fixes (regression special)

2019-04-24 Thread Daniel Vetter
On Wed, Apr 24, 2019 at 3:21 AM Dave Airlie wrote: > > Hey Linus, > > We interrupt your regularly scheduled drm fixes for a regression special. > > The first is for a fix in i915 that had unexpected side effects > fallout in the userspace X.org modesetting driver where X would no > longer start.

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Engine relative MMIO (rev4)

2019-04-24 Thread Patchwork
== Series Details == Series: drm/i915: Engine relative MMIO (rev4) URL : https://patchwork.freedesktop.org/series/57117/ State : success == Summary == CI Bug Log - changes from CI_DRM_5979_full -> Patchwork_12857_full Summary ---