[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/perf: Do not clear pollin for small user read buffers (rev4)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/perf: Do not clear pollin for small user read buffers (rev4) URL : https://patchwork.freedesktop.org/series/75085/ State : success == Summary == CI Bug Log - changes from CI_DRM_8206 -> Patchwork_17121

Re: [Intel-gfx] [PATCH v4] drm/i915/tgl: Add definitions for VRR registers and bits

2020-03-27 Thread Manasi Navare
Thanks for the patch, puhed to dinq Manasi On Wed, Mar 18, 2020 at 06:59:41PM -0700, Aditya Swarup wrote: > Add definitions for registers grouped under Transcoder VRR function > with necessary bitfields. > > Bspec: 49268 > > v2: Use REG_GENMASK, correct tabs/space indentation and move the > de

[Intel-gfx] [PATCH] drm/i915/perf: Do not clear pollin for small user read buffers

2020-03-27 Thread Ashutosh Dixit
It is wrong to block the user thread in the next poll when OA data is already available which could not fit in the user buffer provided in the previous read. In several cases the exact user buffer size is not known. Blocking user space in poll can lead to data loss when the buffer size used is smal

[Intel-gfx] [PATCH] drm/i915/perf: Do not clear pollin for small user read buffers

2020-03-27 Thread Ashutosh Dixit
It is wrong to block the user thread in the next poll when OA data is already available which could not fit in the user buffer provided in the previous read. In several cases the exact user buffer size is not known. Blocking user space in poll can lead to data loss when the buffer size used is smal

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915/dp: Return the right vswing tables

2020-03-27 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915/dp: Return the right vswing tables URL : https://patchwork.freedesktop.org/series/75183/ State : success == Summary == CI Bug Log - changes from CI_DRM_8206 -> Patchwork_17120

[Intel-gfx] [PATCH 3/3] drm/i915/tc/icl: Update TC vswing tables

2020-03-27 Thread José Roberto de Souza
Specification was updated with vswing tables for different configurations. Also reordering icl_mg_phy_ddi_buf_trans struct to match table order. BSpec: 21735 Signed-off-by: José Roberto de Souza --- drivers/gpu/drm/i915/display/intel_ddi.c | 93 +++- 1 file changed, 73 insert

[Intel-gfx] [PATCH 2/3] drm/i915/dp/ehl: Update vswing table for HBR and RBR

2020-03-27 Thread José Roberto de Souza
EHL has now only one table for all DP transmission modes. BSpec: 21257 Signed-off-by: José Roberto de Souza --- drivers/gpu/drm/i915/display/intel_ddi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/di

[Intel-gfx] [PATCH 1/3] drm/i915/dp: Return the right vswing tables

2020-03-27 Thread José Roberto de Souza
DDI ports have its encoders initialized with INTEL_OUTPUT_DDI type and later eDP ports that have the type changed to INTEL_OUTPUT_EDP. But for all other DDI ports it can drive HDMI or DP depending on what user connects to the ports. ehl_get_combo_buf_trans() and tgl_get_combo_buf_trans() was check

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/execlists: Workaround switching back to a complete context

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Workaround switching back to a complete context URL : https://patchwork.freedesktop.org/series/75181/ State : success == Summary == CI Bug Log - changes from CI_DRM_8205 -> Patchwork_17119 Su

Re: [Intel-gfx] [CI] drm/i915/execlists: Workaround switching back to a complete context

2020-03-27 Thread Chris Wilson
Quoting Mika Kuoppala (2020-03-27 20:33:29) > Chris Wilson writes: > > > In what seems remarkably similar to the w/a required to not reload an > > idle context with HEAD==TAIL, it appears we must prevent the HW from > > switching to an idle context in ELSP[1], while simultaneously trying to > > p

Re: [Intel-gfx] [CI] drm/i915/execlists: Workaround switching back to a complete context

2020-03-27 Thread Mika Kuoppala
Chris Wilson writes: > In what seems remarkably similar to the w/a required to not reload an > idle context with HEAD==TAIL, it appears we must prevent the HW from > switching to an idle context in ELSP[1], while simultaneously trying to > preempt the HW to run another context and a continuation

Re: [Intel-gfx] [CI] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Chris Wilson
Quoting Mika Kuoppala (2020-03-27 20:19:15) > Chris Wilson writes: > > > Quoting Tvrtko Ursulin (2020-03-27 15:59:45) > >> > >> On 27/03/2020 11:26, Chris Wilson wrote: > >> > In what seems remarkably similar to the w/a required to not reload an > >> > idle context with HEAD==TAIL, it appears we

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/execlists: Workaround switching back to a complete context

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Workaround switching back to a complete context URL : https://patchwork.freedesktop.org/series/75181/ State : warning == Summary == $ dim checkpatch origin/drm-tip b7cd77b4f576 drm/i915/execlists: Workaround switching back to a complete context

Re: [Intel-gfx] [CI] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Mika Kuoppala
Chris Wilson writes: > Quoting Tvrtko Ursulin (2020-03-27 15:59:45) >> >> On 27/03/2020 11:26, Chris Wilson wrote: >> > In what seems remarkably similar to the w/a required to not reload an >> > idle context with HEAD==TAIL, it appears we must prevent the HW from >> > switching to an idle contex

[Intel-gfx] [CI] drm/i915/execlists: Workaround switching back to a complete context

2020-03-27 Thread Chris Wilson
In what seems remarkably similar to the w/a required to not reload an idle context with HEAD==TAIL, it appears we must prevent the HW from switching to an idle context in ELSP[1], while simultaneously trying to preempt the HW to run another context and a continuation of the idle context (which is n

Re: [Intel-gfx] [PATCH] drm/i915/tgl: Make Wa_14010229206 permanent

2020-03-27 Thread Rafael Antognolli
On Thu, Mar 26, 2020 at 04:49:55PM -0700, Swathi Dhanavanthri wrote: > This workaround now applies to all steppings, not just A0. > Wa_1409085225 is a temporary A0-only W/A however it is > identical to Wa_14010229206 and hence the combined workaround > is made permanent. > Bspec: 52890 FYI, this p

Re: [Intel-gfx] [PATCH v7 6/7] drm/i915/dp: Register definition for DP compliance register

2020-03-27 Thread Manasi Navare
On Tue, Mar 24, 2020 at 10:41:11AM +0530, Animesh Manna wrote: > DP_COMP_CTL and DP_COMP_PAT register used to program DP > compliance pattern. > > v1: Initial patch. > v2: used pipe instead of port in macro definition. [Manasi] > v3: used trans_offset for offset calculation. [Manasi] > v4: Used MM

Re: [Intel-gfx] [PATCH] drm/i915: Differentiate between aliasing-ppgtt and ggtt pinning

2020-03-27 Thread Andi Shyti
Hi Chris, > > On Thu, Mar 26, 2020 at 02:27:27PM +, Chris Wilson wrote: > > > Userptr causes lockdep to complain when we are using the aliasing-ppgtt > > > (and ggtt, but for that it is rightfully so to complain about) in that > > > when we revoke the userptr we take a mutex which we also us

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure

2020-03-27 Thread Manasi Navare
On Fri, Mar 27, 2020 at 05:40:41PM +0200, Ville Syrjälä wrote: > On Fri, Mar 20, 2020 at 04:17:27PM -0700, Manasi Navare wrote: > > On Fri, Mar 20, 2020 at 09:08:31PM +0200, Ville Syrjälä wrote: > > > On Thu, Mar 19, 2020 at 03:20:50PM -0700, Manasi Navare wrote: > > > > On Thu, Mar 19, 2020 at 06:

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/hdcp: Update CP as per the kernel internal state (rev2)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/hdcp: Update CP as per the kernel internal state (rev2) URL : https://patchwork.freedesktop.org/series/72251/ State : failure == Summary == CI Bug Log - changes from CI_DRM_8203 -> Patchwork_17118 Summa

Re: [Intel-gfx] [PATCH 06/13] drm/i915: Include port sync state in the state dump

2020-03-27 Thread Ville Syrjälä
On Wed, Mar 18, 2020 at 04:00:36PM -0700, Manasi Navare wrote: > On Fri, Mar 13, 2020 at 06:48:24PM +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Dump the port sync stat in intel_dump_pipe_config(). > > > > Signed-off-by: Ville Syrjälä > > Reviewed-by: Manasi Navare Pushed up t

Re: [Intel-gfx] [PATCH] drm/i915: Differentiate between aliasing-ppgtt and ggtt pinning

2020-03-27 Thread Andi Shyti
Hi Chris, On Thu, Mar 26, 2020 at 02:27:27PM +, Chris Wilson wrote: > Userptr causes lockdep to complain when we are using the aliasing-ppgtt > (and ggtt, but for that it is rightfully so to complain about) in that > when we revoke the userptr we take a mutex which we also use to revoke > the

Re: [Intel-gfx] [CI] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-03-27 15:59:45) > > On 27/03/2020 11:26, Chris Wilson wrote: > > In what seems remarkably similar to the w/a required to not reload an > > idle context with HEAD==TAIL, it appears we must prevent the HW from > > switching to an idle context in ELSP[1], while simultaneo

[Intel-gfx] [PATCH v2] drm/i915/hdcp: Update CP as per the kernel internal state

2020-03-27 Thread Anshuman Gupta
Content Protection property should be updated as per the kernel internal state. Let's say if Content protection is disabled by userspace, CP property should be set to UNDESIRED so that reauthentication will not happen until userspace request it again, but when kernel disables the HDCP due to any DD

Re: [Intel-gfx] [PATCH] drm/i915: Differentiate between aliasing-ppgtt and ggtt pinning

2020-03-27 Thread Chris Wilson
Quoting Andi Shyti (2020-03-27 16:27:27) > Hi Chris, > > On Thu, Mar 26, 2020 at 02:27:27PM +, Chris Wilson wrote: > > Userptr causes lockdep to complain when we are using the aliasing-ppgtt > > (and ggtt, but for that it is rightfully so to complain about) in that > > when we revoke the userp

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [01/21] Revert "drm/i915/gem: Drop relocation slowpath"

2020-03-27 Thread Patchwork
== Series Details == Series: series starting with [01/21] Revert "drm/i915/gem: Drop relocation slowpath" URL : https://patchwork.freedesktop.org/series/75115/ State : failure == Summary == CI Bug Log - changes from CI_DRM_8194_full -> Patchwork_17096_full

Re: [Intel-gfx] [PATCH 2/2] drm/i915/execlists: Explicitly reset both reg and context runtime

2020-03-27 Thread Tvrtko Ursulin
On 26/03/2020 23:18, Chris Wilson wrote: Upon a GPU reset, we copy the default context image over top of the guilty image. This will rollback the CTX_TIMESTAMP register to before our value of ce->runtime.last. Reset both back to 0 so that we do not encounter an underflow on the next schedule ou

Re: [Intel-gfx] [CI] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Tvrtko Ursulin
On 27/03/2020 11:26, Chris Wilson wrote: In what seems remarkably similar to the w/a required to not reload an idle context with HEAD==TAIL, it appears we must prevent the HW from switching to an idle context in ELSP[1], while simultaneously trying to preempt the HW to run another context and a

Re: [Intel-gfx] [PATCH] drm/i915: use forced codec wake on all gen9+ platforms

2020-03-27 Thread Ville Syrjälä
On Tue, Mar 24, 2020 at 05:32:12PM +0200, Kai Vehmanen wrote: > Commit 632f3ab95fe2 ("drm/i915/audio: add codec wakeup override > enabled/disable callback"), added logic to toggle Codec Wake on gen9. > This is used by audio driver when it resets the HDA controller. > > It seems explicit toggling o

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure

2020-03-27 Thread Ville Syrjälä
On Fri, Mar 20, 2020 at 04:17:27PM -0700, Manasi Navare wrote: > On Fri, Mar 20, 2020 at 09:08:31PM +0200, Ville Syrjälä wrote: > > On Thu, Mar 19, 2020 at 03:20:50PM -0700, Manasi Navare wrote: > > > On Thu, Mar 19, 2020 at 06:38:42PM +0200, Ville Syrjala wrote: > > > > From: Ville Syrjälä > > >

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Wrap i915_active in a simple kreffed struct

2020-03-27 Thread Ruhl, Michael J
>-Original Message- >From: Intel-gfx On Behalf Of Chris >Wilson >Sent: Friday, March 27, 2020 7:22 AM >To: intel-gfx@lists.freedesktop.org >Subject: [Intel-gfx] [PATCH 2/3] drm/i915: Wrap i915_active in a simple >kreffed struct > >For conveniences of callers that just want to use an i915_a

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/tgl: Make Wa_14010229206 permanent

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/tgl: Make Wa_14010229206 permanent URL : https://patchwork.freedesktop.org/series/75139/ State : failure == Summary == CI Bug Log - changes from CI_DRM_8197_full -> Patchwork_17107_full Summary ---

[Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [RESEND,1/7] drm/dsc: use rc_model_size from DSC config for PPS

2020-03-27 Thread Patchwork
== Series Details == Series: series starting with [RESEND,1/7] drm/dsc: use rc_model_size from DSC config for PPS URL : https://patchwork.freedesktop.org/series/75168/ State : failure == Summary == CALLscripts/checksyscalls.sh CALLscripts/atomic/check-atomics.sh DESCEND objtool

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context URL : https://patchwork.freedesktop.org/series/75138/ State : failure == Summary == CI Bug Log - changes from CI_DRM_8197_full -> Patchwork_17106_full ===

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev7)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev7) URL : https://patchwork.freedesktop.org/series/75130/ State : success == Summary == CI Bug Log - changes from CI_DRM_8201 -> Patchwork_17116 =

Re: [Intel-gfx] [PATCH v7 05/18] video/hdmi: Add Unpack only function for DRM infoframe

2020-03-27 Thread Ville Syrjälä
On Fri, Mar 27, 2020 at 07:27:56AM +, Mun, Gwan-gyeong wrote: > On Fri, 2020-03-20 at 13:57 +0200, Laurent Pinchart wrote: > > Hi Jani, > > > > On Fri, Mar 20, 2020 at 01:32:17PM +0200, Jani Nikula wrote: > > > On Fri, 20 Mar 2020, Jani Nikula > > > wrote: > > > > On Tue, 11 Feb 2020, Gwan-gy

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev7)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev7) URL : https://patchwork.freedesktop.org/series/75130/ State : warning == Summary == $ dim checkpatch origin/drm-tip ee89d7390a2e drm/i915/execlists: Prevent GPU death on ELSP[1] prom

[Intel-gfx] [PATCH RESEND 6/7] drm/i915/bios: fill in DSC rc_model_size from VBT

2020-03-27 Thread Jani Nikula
The VBT fields match the DPCD data, so use the same helper. Cc: Manasi Navare Cc: Vandita Kulkarni Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_bios.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_bios.c

[Intel-gfx] [PATCH RESEND 5/7] drm/i915/dsc: make rc_model_size an encoder defined value

2020-03-27 Thread Jani Nikula
Move the intialization of the rc_model_size from the common code into encoder code, allowing different encoders to specify the size according to their needs. Keep using the hard coded value in the encoders for now to make this a non-functional change. Cc: Manasi Navare Cc: Vandita Kulkarni Signe

[Intel-gfx] [PATCH RESEND 7/7] drm/i915/dsi: use VBT data for rc_model_size

2020-03-27 Thread Jani Nikula
Stop overriding the VBT defined value for rc_model_size. Cc: Vandita Kulkarni Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/icl_dsi.c b/drivers/gpu/drm/i915/display/icl_dsi.c index ca299a

[Intel-gfx] [PATCH RESEND 4/7] drm/i915/dsc: configure hardware using specified rc_model_size

2020-03-27 Thread Jani Nikula
The rc_model_size is specified in the DSC config, and the hardware programming should respect that instead of hard coding a value of 8192. Regardless, the rc_model_size in DSC config is currently hard coded to the same value, so this should have no impact, other than allowing the use of other size

[Intel-gfx] [PATCH RESEND 1/7] drm/dsc: use rc_model_size from DSC config for PPS

2020-03-27 Thread Jani Nikula
The PPS is supposed to reflect the DSC config instead of hard coding the rc_model_size. Make it so. Currently all users of drm_dsc_pps_payload_pack() hard code the size to 8192 also in the DSC config, so this change should have no impact, other than allowing the drivers to use other sizes as neede

[Intel-gfx] [PATCH RESEND 2/7] drm/dsc: add helper for calculating rc buffer size from DPCD

2020-03-27 Thread Jani Nikula
Add a helper for calculating the rc buffer size from the DCPD offsets DP_DSC_RC_BUF_BLK_SIZE and DP_DSC_RC_BUF_SIZE. Cc: Alex Deucher Cc: Harry Wentland Cc: Manasi Navare Cc: Vandita Kulkarni Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_dsc.c | 27 +++ include/d

[Intel-gfx] [PATCH RESEND 3/7] drm/amd/display: use drm_dsc_dp_rc_buffer_size() to get rc buffer size

2020-03-27 Thread Jani Nikula
Use the new drm_dsc_dp_rc_buffer_size() helper to simplify rc buffer size computation. No functional changes. Cc: Alex Deucher Cc: Harry Wentland Cc: Manasi Navare Cc: Vandita Kulkarni Signed-off-by: Jani Nikula --- drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 37 - 1 fi

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915: Allow for different modes of interruptible i915_active_wait

2020-03-27 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915: Allow for different modes of interruptible i915_active_wait URL : https://patchwork.freedesktop.org/series/75166/ State : success == Summary == CI Bug Log - changes from CI_DRM_8201 -> Patchwork_17115 ==

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev2)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev2) URL : https://patchwork.freedesktop.org/series/75130/ State : success == Summary == CI Bug Log - changes from CI_DRM_8195_full -> Patchwork_17104_full ===

[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/perf: add support for multi context filtering

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/perf: add support for multi context filtering URL : https://patchwork.freedesktop.org/series/75164/ State : failure == Summary == Applying: drm/i915/perf: break OA config buffer object in 2 Applying: drm/i915/perf: prepare driver to receive multiple ctx ha

[Intel-gfx] ✓ Fi.CI.IGT: success for SAGV support for Gen12+ (rev3)

2020-03-27 Thread Patchwork
== Series Details == Series: SAGV support for Gen12+ (rev3) URL : https://patchwork.freedesktop.org/series/75129/ State : success == Summary == CI Bug Log - changes from CI_DRM_8195_full -> Patchwork_17103_full Summary --- **SUCCESS*

[Intel-gfx] [PATCH] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Chris Wilson
In what seems remarkably similar to the w/a required to not reload an idle context with HEAD==TAIL, it appears we must prevent the HW from switching to an idle context in ELSP[1], while simultaneously trying to preempt the HW to run another context and a continuation of the idle context (which is n

[Intel-gfx] ✓ Fi.CI.IGT: success for Re-org uC debugfs files and move them under GT (rev3)

2020-03-27 Thread Patchwork
== Series Details == Series: Re-org uC debugfs files and move them under GT (rev3) URL : https://patchwork.freedesktop.org/series/74051/ State : success == Summary == CI Bug Log - changes from CI_DRM_8195_full -> Patchwork_17102_full Summar

[Intel-gfx] [PATCH] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Chris Wilson
In what seems remarkably similar to the w/a required to not reload an idle context with HEAD==TAIL, it appears we must prevent the HW from switching to an idle context in ELSP[1], while simultaneously trying to preempt the HW to run another context and a continuation of the idle context (which is n

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Differentiate between aliasing-ppgtt and ggtt pinning (rev2)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915: Differentiate between aliasing-ppgtt and ggtt pinning (rev2) URL : https://patchwork.freedesktop.org/series/75078/ State : success == Summary == CI Bug Log - changes from CI_DRM_8195_full -> Patchwork_17098_full ===

[Intel-gfx] [CI] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Chris Wilson
In what seems remarkably similar to the w/a required to not reload an idle context with HEAD==TAIL, it appears we must prevent the HW from switching to an idle context in ELSP[1], while simultaneously trying to preempt the HW to run another context and a continuation of the idle context (which is n

[Intel-gfx] ✗ Fi.CI.IGT: failure for i915 lpsp support for lpsp igt (rev5)

2020-03-27 Thread Patchwork
== Series Details == Series: i915 lpsp support for lpsp igt (rev5) URL : https://patchwork.freedesktop.org/series/74648/ State : failure == Summary == CI Bug Log - changes from CI_DRM_8195_full -> Patchwork_17097_full Summary --- **F

[Intel-gfx] [PATCH 2/3] drm/i915: Wrap i915_active in a simple kreffed struct

2020-03-27 Thread Chris Wilson
For conveniences of callers that just want to use an i915_active to track a wide array of concurrent timelines, wrap the base i915_active struct inside a kref. This i915_active will self-destruct after use. Signed-off-by: Chris Wilson Cc: Mika Kuoppala Reviewed-by: Mika Kuoppala --- drivers/gp

[Intel-gfx] [PATCH 1/3] drm/i915: Allow for different modes of interruptible i915_active_wait

2020-03-27 Thread Chris Wilson
Allow some users the discretion to not immediately return on a normal signal. Hopefully, they will opt to use TASK_KILLABLE instead. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_active.c | 6 -- drivers/gpu/drm/i915/i915_active.h | 6 +- drivers/gpu/drm

[Intel-gfx] [PATCH 3/3] drm/i915/perf: Schedule oa_config after modifying the contexts

2020-03-27 Thread Chris Wilson
We wish that the scheduler emit the context modification commands prior to enabling the oa_config, for which we must explicitly inform it of the ordering constraints. This is especially important as we now wait for the final oa_config setup to be completed and as this wait may be on a distinct cont

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev4)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev4) URL : https://patchwork.freedesktop.org/series/75130/ State : success == Summary == CI Bug Log - changes from CI_DRM_8200 -> Patchwork_17113 =

Re: [Intel-gfx] [PATCH] drivers/gpu/drm/i915/selftests/i915_buddy.c: Fix bug

2020-03-27 Thread Matthew Auld
On Thu, 26 Mar 2020 at 20:21, George Spelvin wrote: > > On Thu, Mar 26, 2020 at 05:04:43PM +, Matthew Auld wrote: > > Reviewed-by: Matthew Auld > > Thank you! I got some incomprehensible error emails (reproduced at > https://patchwork.freedesktop.org/series/75090/) from the patchwork > daemo

Re: [Intel-gfx] [PATCH 0/3] drm/i915/perf: add support for multi context filtering

2020-03-27 Thread Chris Wilson
Quoting Lionel Landwerlin (2020-03-27 10:32:06) > Hi all, > > i915/perf has currently support for single context filtering. This > allows mesa to read the content of the OA buffer and cut out any > unrelated context running in a middle of a query. > > Iris currently uses 2 GEM contexts for 3D & c

Re: [Intel-gfx] [PATCH 1/3] drm/i915/perf: break OA config buffer object in 2

2020-03-27 Thread Chris Wilson
Quoting Lionel Landwerlin (2020-03-27 10:32:07) > We want to enable performance monitoring on multiple contexts to cover > the Iris use case of using 2 GEM contexts (3D & compute). > > So start by breaking the OA configuration BO which contains global & > per context register writes. > > NOA muxe

[Intel-gfx] [PATCH 2/3] drm/i915/perf: prepare driver to receive multiple ctx handles

2020-03-27 Thread Lionel Landwerlin
Make all the internal necessary changes before we flip the switch. Signed-off-by: Lionel Landwerlin --- drivers/gpu/drm/i915/i915_perf.c | 493 ++--- drivers/gpu/drm/i915/i915_perf_types.h | 25 +- 2 files changed, 293 insertions(+), 225 deletions(-) diff --git a/driv

[Intel-gfx] [PATCH 3/3] drm/i915/perf: enable filtering on multiple contexts

2020-03-27 Thread Lionel Landwerlin
Add 2 new properties to the i915-perf open ioctl to specify an arry of GEM context handles as well as the length of the array. Signed-off-by: Lionel Landwerlin --- drivers/gpu/drm/i915/i915_perf.c | 51 ++-- include/uapi/drm/i915_drm.h | 21 + 2 files

[Intel-gfx] [PATCH 0/3] drm/i915/perf: add support for multi context filtering

2020-03-27 Thread Lionel Landwerlin
Hi all, i915/perf has currently support for single context filtering. This allows mesa to read the content of the OA buffer and cut out any unrelated context running in a middle of a query. Iris currently uses 2 GEM contexts for 3D & compute commands. In order to support performance queries on th

[Intel-gfx] [PATCH 1/3] drm/i915/perf: break OA config buffer object in 2

2020-03-27 Thread Lionel Landwerlin
We want to enable performance monitoring on multiple contexts to cover the Iris use case of using 2 GEM contexts (3D & compute). So start by breaking the OA configuration BO which contains global & per context register writes. NOA muxes & OA configurations are global, while FLEXEU register config

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev4)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev4) URL : https://patchwork.freedesktop.org/series/75130/ State : warning == Summary == $ dim checkpatch origin/drm-tip c9fccb8cc643 drm/i915/execlists: Prevent GPU death on ELSP[1] prom

[Intel-gfx] [CI] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Chris Wilson
In what seems remarkably similar to the w/a required to not reload an idle context with HEAD==TAIL, it appears we must prevent the HW from switching to an idle context in ELSP[1], while simultaneously trying to preempt the HW to run another context and a continuation of the idle context (which is n

[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev3)

2020-03-27 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context (rev3) URL : https://patchwork.freedesktop.org/series/75130/ State : failure == Summary == CALLscripts/checksyscalls.sh CALLscripts/atomic/check-atomics.sh DESCEND objtool CH

[Intel-gfx] ✗ Fi.CI.BUILD: failure for Enable HDR on Gen9 devices with lspcon hdr capability (rev4)

2020-03-27 Thread Patchwork
== Series Details == Series: Enable HDR on Gen9 devices with lspcon hdr capability (rev4) URL : https://patchwork.freedesktop.org/series/75148/ State : failure == Summary == Applying: drm:i915:display: add checks for Gen9 devices with hdr capability error: sha1 information is lacking or useles

[Intel-gfx] [CI] drm/i915/execlists: Prevent GPU death on ELSP[1] promotion to idle context

2020-03-27 Thread Chris Wilson
In what seems remarkably similar to the w/a required to not reload an idle context with HEAD==TAIL, it appears we must prevent the HW from switching to an idle context in ELSP[1], while simultaneously trying to preempt the HW to run another context and a continuation of the idle context (which is n

[Intel-gfx] ✓ Fi.CI.BAT: success for In order to readout DP SDPs, refactors the handling of DP SDPs (rev8)

2020-03-27 Thread Patchwork
== Series Details == Series: In order to readout DP SDPs, refactors the handling of DP SDPs (rev8) URL : https://patchwork.freedesktop.org/series/72853/ State : success == Summary == CI Bug Log - changes from CI_DRM_8199 -> Patchwork_17110

[Intel-gfx] [PATCH v4 1/1] drm:i915:display: add checks for Gen9 devices with hdr capability

2020-03-27 Thread Vipin Anand
this patch adds hdr capabilities checks for Gen9 devices with lspcon support. Signed-off-by: Vipin Anand --- drivers/gpu/drm/i915/display/intel_hdmi.c | 17 + drivers/gpu/drm/i915/display/intel_lspcon.c | 9 +++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --g

[Intel-gfx] [PATCH v4 0/1] Enable HDR on Gen9 devices with lspcon hdr capability

2020-03-27 Thread Vipin Anand
Removing Uma's patches as it is already under review https://patchwork.freedesktop.org/series/68081/ Once that is merged this patch need to be reviewed. Vipin Anand (1): drm:i915:display: add checks for Gen9 devices with hdr capability drivers/gpu/drm/i915/display/intel_hdmi.c | 17

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for In order to readout DP SDPs, refactors the handling of DP SDPs (rev8)

2020-03-27 Thread Patchwork
== Series Details == Series: In order to readout DP SDPs, refactors the handling of DP SDPs (rev8) URL : https://patchwork.freedesktop.org/series/72853/ State : warning == Summary == $ dim checkpatch origin/drm-tip 63f769f40f4e video/hdmi: Add Unpack function for CTA-861-G DRM infoframe DataB

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

2020-03-27 Thread Rodrigo Vivi
Hi Dave and Daniel, Here goes drm-intel-next-fixes-2020-03-27: Fixes for instability on Baytrail and Haswell; Ice Lake RPS; Sandy Bridge RC6; and few others around GT hangchec/reset; livelock; and a null dereference. Thanks, Rodrigo. The following changes since commit cb7adfd6ad12a11902ebe374be

Re: [Intel-gfx] [PATCH v3 0/7] Enable HDR on Gen9 devices with lspcon hdr capability

2020-03-27 Thread Shankar, Uma
> -Original Message- > From: Intel-gfx On Behalf Of Vipin > Anand > Sent: Friday, March 27, 2020 1:02 PM > To: intel-gfx@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH v3 0/7] Enable HDR on Gen9 devices with lspcon hdr > capability There is the series https://patchwork.freedeskto

Re: [Intel-gfx] [PATCH] drivers/gpu/drm/i915/selftests/i915_buddy.c: Fix bug

2020-03-27 Thread George Spelvin
On Thu, Mar 26, 2020 at 05:04:43PM +, Matthew Auld wrote: > Reviewed-by: Matthew Auld Thank you! I got some incomprehensible error emails (reproduced at https://patchwork.freedesktop.org/series/75090/) from the patchwork daemon, complaining about additional test failures. Obviously, I car

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

2020-03-27 Thread Maxime Ripard
Hi Daniel, Dave, Here's the first drm-misc-next-fixes PR for 5.7. Thanks! Maxime drm-misc-next-fixes-2020-03-26: Two main topics in that first drm-misc-next-fixes PR, first a revert of the data-mapping property in the DT that turned out to be non-optimal (but hasn't reached a stable release yet)

Re: [Intel-gfx] [PATCH v2 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-27 Thread Jason A. Donenfeld
On Thu, Mar 26, 2020 at 2:44 PM Masahiro Yamada wrote: > I collected more Reviewed-by and Acked-by, > then pushed this series to > > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > kbuild-asinstr But not the version of the penultimate patch that Nick ack'd _

Re: [Intel-gfx] [PATCH v7 00/12] Introduce CAP_PERFMON to secure system performance monitoring and observability

2020-03-27 Thread James Morris
On Sun, 1 Mar 2020, Serge Hallyn wrote: > Thanks, this looks good to me, in keeping with the CAP_SYSLOG break. > > Acked-by: Serge E. Hallyn > > for the set. > > James/Ingo/Peter, if noone has remaining objections, whose branch > should these go in through? > > thanks, > -serge > > On Tue, F

Re: [Intel-gfx] [PATCH v2 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-27 Thread Masahiro Yamada
On Fri, Mar 27, 2020 at 5:46 AM Jason A. Donenfeld wrote: > > On Thu, Mar 26, 2020 at 2:44 PM Masahiro Yamada wrote: > > I collected more Reviewed-by and Acked-by, > > then pushed this series to > > > > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > > kbuild-asinstr >

Re: [Intel-gfx] [PATCH v2 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-27 Thread Masahiro Yamada
Hi all, On Thu, Mar 26, 2020 at 6:22 PM Ingo Molnar wrote: > > > * Jason A. Donenfeld wrote: > > > Very little has changed from last time, and this whole series still > > looks good to me. I think I already ack'd most packages, but in case > > it helps: > > > > Reviewed-by: Jason A. Donenfeld >

[Intel-gfx] [PATCH v3 7/7] drm:i915:display: add checks for Gen9 devices with hdr capability

2020-03-27 Thread Vipin Anand
this patch adds hdr capabilities checks for Gen9 devices with lspcon support. Signed-off-by: Vipin Anand --- drivers/gpu/drm/i915/display/intel_hdmi.c | 17 + drivers/gpu/drm/i915/display/intel_lspcon.c | 9 +++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --g

[Intel-gfx] [PATCH v3 5/7] drm/i915/display: Enable BT2020 for HDR on LSPCON devices

2020-03-27 Thread Vipin Anand
From: Uma Shankar Enable Colorspace as BT2020 if driving HDR content.Sending Colorimetry data for HDR using AVI infoframe. LSPCON firmware expects this and though SOC drives DP, for HDMI panel AVI infoframe is sent to the LSPCON device which transfers the same to HDMI sink. Signed-off-by: Uma Sh

[Intel-gfx] [PATCH v3 0/7] Enable HDR on Gen9 devices with lspcon hdr capability

2020-03-27 Thread Vipin Anand
Added missing signoff Uma Shankar (6): drm/i915/display: Add HDR Capability detection for LSPCON drm/i915/display: Enable HDR on gen9 devices with MCA Lspcon drm/i915/display: Attach HDR property for capable Gen9 devices drm/i915/display: Set HDR Infoframe for HDR capable LSPCON devices

[Intel-gfx] [PATCH v3 1/7] drm/i915/display: Add HDR Capability detection for LSPCON

2020-03-27 Thread Vipin Anand
From: Uma Shankar LSPCON firmware exposes HDR capability through LPCON_CAPABILITIES DPCD register. LSPCON implementations capable of supporting HDR set HDR_CAPABILITY bit in LSPCON_CAPABILITIES to 1. This patch reads the same, detects the HDR capability and adds this to intel_lspcon struct. Sign

[Intel-gfx] [PATCH v3 3/7] drm/i915/display: Attach HDR property for capable Gen9 devices

2020-03-27 Thread Vipin Anand
From: Uma Shankar Attach HDR property for Gen9 devices with MCA LSPCON chips. Signed-off-by: Uma Shankar Signed-off-by: Vipin Anand --- drivers/gpu/drm/i915/display/intel_lspcon.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_lspcon.c b/drivers/g

[Intel-gfx] [PATCH v3 6/7] drm/i915/display: Reduce blanking to support 4k60@10bpp for LSPCON

2020-03-27 Thread Vipin Anand
From: Uma Shankar Blanking needs to be reduced to incorporate DP and HDMI timing/link bandwidth limitations for CEA modes (4k@60 at 10 bpp). DP can drive 17.28Gbs while 4k modes (VIC97 etc) at 10 bpp required 17.8 Gbps. This will cause mode to blank out. Reduced Htotal by shortening the back porc

[Intel-gfx] [PATCH v3 2/7] drm/i915/display: Enable HDR on gen9 devices with MCA Lspcon

2020-03-27 Thread Vipin Anand
From: Uma Shankar Gen9 hardware supports HDMI2.0 through LSPCON chips. Extending HDR support for MCA LSPCON based GEN9 devices. SOC will drive LSPCON as DP and send HDR metadata as standard DP SDP packets. LSPCON will be set to operate in PCON mode, will receive the metadata and create Dynamic R

[Intel-gfx] [PATCH v3 4/7] drm/i915/display: Set HDR Infoframe for HDR capable LSPCON devices

2020-03-27 Thread Vipin Anand
From: Uma Shankar Send Dynamic Range and Mastering Infoframe (DRM for HDR metadata) as SDP packet to LSPCON following the DP spec. LSPCON receives the same and sends it to HDMI sink. v2: Suppressed some warnings. No functional change. Signed-off-by: Uma Shankar Signed-off-by: Vipin Anand ---

[Intel-gfx] [PATCH v8 11/14] drm/i915: Program DP SDPs on pipe updates

2020-03-27 Thread Gwan-gyeong Mun
Call intel_dp_set_infoframes() function on pipe updates to make sure that we send VSC SDP and HDR Metadata Infoframe SDP (when applicable) on fastsets. Signed-off-by: Gwan-gyeong Mun Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/display/intel_ddi.c | 1 + 1 file changed, 1 insertion(+) dif

[Intel-gfx] [PATCH v8 13/14] drm/i915/dp: Add compute routine for DP PSR VSC SDP

2020-03-27 Thread Gwan-gyeong Mun
In order to use a common VSC SDP Colorimetry calculating code on PSR, it adds a compute routine for PSR VSC SDP. As PSR routine can not use infoframes.vsc of crtc state, it also adds new writing of DP SDPs (Secondary Data Packet) for PSR. PSR routine has its own scenario and timings of writing a VS

[Intel-gfx] [PATCH v8 10/14] drm/i915: Fix enabled infoframe states of lspcon

2020-03-27 Thread Gwan-gyeong Mun
Compared to implementation of DP and HDMI's encoder->infoframes_enabled, the lspcon's implementation returns its active state. (we expect enabled infoframe states of HW.) It leads to pipe state mismatch error when ddi_get_config is called. Because the current implementation of lspcon is not ready

[Intel-gfx] [PATCH v8 07/14] drm/i915: Program DP SDPs with computed configs

2020-03-27 Thread Gwan-gyeong Mun
In order to use computed config for DP SDPs (DP VSC SDP and DP HDR Metadata Infoframe SDP), it replaces intel_dp_vsc_enable() function and intel_dp_hdr_metadata_enable() function to intel_dp_set_infoframes() function. And it removes unused functions. Before: intel_dp_vsc_enable() and intel_dp_hdr

[Intel-gfx] [PATCH v8 09/14] drm/i915: Add state readout for DP VSC SDP

2020-03-27 Thread Gwan-gyeong Mun
Added state readout for DP VSC SDP and enabled state validation for DP VSC SDP. v2: Minor style fix v3: Replace a structure name to drm_dp_vsc_sdp from intel_dp_vsc_sdp v4: Use struct drm_device logging macros Signed-off-by: Gwan-gyeong Mun Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/dis

[Intel-gfx] [PATCH v8 12/14] drm/i915: Stop sending DP SDPs on ddi disable

2020-03-27 Thread Gwan-gyeong Mun
Call intel_dp_set_infoframes(false) function on intel_ddi_post_disable_dp() to make sure not to send VSC SDP and HDR Metadata Infoframe SDP. v5: Polish commit message [Uma] Signed-off-by: Gwan-gyeong Mun Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/display/intel_ddi.c | 2 ++ 1 file chang

[Intel-gfx] [PATCH v8 14/14] drm/i915/psr: Use new DP VSC SDP compute routine on PSR

2020-03-27 Thread Gwan-gyeong Mun
In order to use a common VSC SDP Colorimetry calculating code on PSR, it uses a new psr vsc sdp compute routine. Because PSR routine has its own scenario and timings of writing a VSC SDP, the current PSR routine needs to have its own drm_dp_vsc_sdp structure member variable on struct i915_psr. In

[Intel-gfx] [PATCH v8 01/14] video/hdmi: Add Unpack function for CTA-861-G DRM infoframe DataBytes

2020-03-27 Thread Gwan-gyeong Mun
It adds an unpack function for DRM infoframe for dynamic range and mastering infoframe readout. It unpacks CTA-861-G DRM infoframe DataBytes contained in the binary buffer into a structured frame of the HDMI Dynamic Range and Mastering (DRM) infoframe. CTA-861-G DRM infoframe spec is used for HDR

[Intel-gfx] [PATCH v8 04/14] drm/i915: Include HDMI DRM infoframe in the crtc state dump

2020-03-27 Thread Gwan-gyeong Mun
Dump out the HDMI Dynamic Range and Mastering (DRM) infoframe in the normal crtc state dump. Signed-off-by: Gwan-gyeong Mun Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/display/intel_display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_display

[Intel-gfx] [PATCH v8 08/14] drm/i915: Add state readout for DP HDR Metadata Infoframe SDP

2020-03-27 Thread Gwan-gyeong Mun
Added state readout for DP HDR Metadata Infoframe SDP. Signed-off-by: Gwan-gyeong Mun Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/display/intel_ddi.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_

  1   2   >