[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915/psr: Get pipe id following atomic guidelines URL : https://patchwork.freedesktop.org/series/53132/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915/psr: Get pipe id following atomic guidelines

[Intel-gfx] [PATCH] drm/i915/psr: Get pipe id following atomic guidelines

2018-11-27 Thread José Roberto de Souza
As stated in struct drm_encoder, crtc field should only be used by non-atomic drivers. So here caching the pipe id in intel_psr_enable() what is way more simple and efficient than at every call to intel_psr_flush()/invalidate() get the drm.mode_config.connection_mutex lock to safely be able to

Re: [Intel-gfx] [PATCH v8 12/35] drm/i915: Implement the HDCP2.2 support for DP

2018-11-27 Thread C, Ramalingam
On 11/28/2018 10:56 AM, Stéphane Marchesin wrote: Hi, Just a drive-by comment, but did you check that this fails gracefully on platforms which don't enable the ME? For example Chrome OS :) That is taken care :) HDCP2.2 is attempted only if platform enables the ME and its required kernel

Re: [Intel-gfx] [PATCH] drm/fbdev: Make skip_vt_switch the default

2018-11-27 Thread Maarten Lankhorst
Op 27-11-18 om 18:34 schreef Daniel Vetter: > KMS drivers really should all be able to restore their display state > on resume without fbcon helping out. So make this the default. > > Since I'm not entirely foolish, make it only a default, which drivers > can still override. That way when the

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Fix TV encoder support (rev5)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: Fix TV encoder support (rev5) URL : https://patchwork.freedesktop.org/series/52378/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211_full -> Patchwork_10920_full = == Summary - WARNING == Minor unknown changes coming with

Re: [Intel-gfx] [PATCH v8 12/35] drm/i915: Implement the HDCP2.2 support for DP

2018-11-27 Thread Stéphane Marchesin
Hi, Just a drive-by comment, but did you check that this fails gracefully on platforms which don't enable the ME? For example Chrome OS :) Stéphane On Tue, Nov 27, 2018 at 2:48 AM Ramalingam C wrote: > > Implements the DP adaptation specific HDCP2.2 functions. > > These functions perform the

Re: [Intel-gfx] [PATCH v8 12/35] drm/i915: Implement the HDCP2.2 support for DP

2018-11-27 Thread C, Ramalingam
On 11/27/2018 11:07 PM, Daniel Vetter wrote: On Tue, Nov 27, 2018 at 04:54:15PM +, Bloomfield, Jon wrote: I'm not formally reviewing this series, but while glancing at it, I noticed -Original Message- From: Intel-gfx On Behalf Of Ramalingam C Sent: Tuesday, November 27, 2018

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities URL : https://patchwork.freedesktop.org/series/53097/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_5211_full -> Patchwork_10918_full

Re: [Intel-gfx] [PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations

2018-11-27 Thread Lyude Paul
On Tue, 2018-11-27 at 20:44 +0100, Daniel Vetter wrote: > On Tue, Nov 27, 2018 at 12:48:59PM -0500, Lyude Paul wrote: > > On Mon, 2018-11-26 at 22:22 +0100, Daniel Vetter wrote: > > > On Mon, Nov 26, 2018 at 10:04:21PM +0100, Daniel Vetter wrote: > > > > On Thu, Nov 15, 2018 at 07:50:05PM -0500,

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size URL : https://patchwork.freedesktop.org/series/53096/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211_full -> Patchwork_10917_full = == Summary - WARNING ==

Re: [Intel-gfx] [v4 1/3] drm: Add HDMI colorspace property

2018-11-27 Thread kbuild test robot
Hi Uma, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on v4.20-rc4 next-20181127] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [Intel-gfx] [PATCH v2 0/7] Make GEN macros more similar

2018-11-27 Thread Rodrigo Vivi
On Tue, Nov 27, 2018 at 11:35:54AM +, Tvrtko Ursulin wrote: > > On 27/11/2018 09:36, Lucas De Marchi wrote: > > On Tue, Nov 27, 2018 at 10:37:21AM +0200, Jani Nikula wrote: > > > On Mon, 26 Nov 2018, Rodrigo Vivi wrote: > > > > On Thu, Nov 22, 2018 at 08:54:30AM +, Tvrtko Ursulin wrote:

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Program SKL+ watermarks/ddb more carefully (rev11)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: Program SKL+ watermarks/ddb more carefully (rev11) URL : https://patchwork.freedesktop.org/series/51878/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211_full -> Patchwork_10915_full = == Summary - WARNING == Minor unknown

Re: [Intel-gfx] [PATCH v2 3/7] drm/i915: replace IS_GEN with GT_GEN(..., N)

2018-11-27 Thread Rodrigo Vivi
On Tue, Nov 27, 2018 at 10:31:49AM +0200, Jani Nikula wrote: > On Mon, 26 Nov 2018, Rodrigo Vivi wrote: > > On Fri, Nov 23, 2018 at 02:42:59PM +0200, Jani Nikula wrote: > >> On Wed, 21 Nov 2018, Rodrigo Vivi wrote: > >> > On Tue, Nov 06, 2018 at 01:51:19PM -0800, Lucas De Marchi wrote: > >> >>

Re: [Intel-gfx] [CI v12 05/23] drm/dsc: Add helpers for DSC picture parameter set infoframes

2018-11-27 Thread Srivatsa, Anusha
>-Original Message- >From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of >Manasi Navare >Sent: Tuesday, November 27, 2018 1:41 PM >To: intel-gfx@lists.freedesktop.org >Subject: [Intel-gfx] [CI v12 05/23] drm/dsc: Add helpers for DSC picture >parameter set

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,v12,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [CI,v12,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities URL : https://patchwork.freedesktop.org/series/53113/ State : warning == Summary == $ dim checkpatch origin/drm-tip 7a0e6f477712 drm/dsc: Modify DRM

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [CI,v12,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [CI,v12,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities URL : https://patchwork.freedesktop.org/series/53113/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/dsc:

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [CI,v12,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [CI,v12,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities URL : https://patchwork.freedesktop.org/series/53113/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5212 -> Patchwork_10923 = ==

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/ringbuffer: Clear semaphore sync registers on ring init

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915/ringbuffer: Clear semaphore sync registers on ring init URL : https://patchwork.freedesktop.org/series/53112/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5212 -> Patchwork_10922 = == Summary - SUCCESS == No regressions found.

Re: [Intel-gfx] [PATCH RFC 2/5] cgroup: Add mechanism to register vendor specific DRM devices

2018-11-27 Thread Ho, Kenny
On Tue, Nov 27, 2018 at 4:46 AM Joonas Lahtinen wrote: > I think a more abstract property "% of GPU (processing power)" might > be a more universal approach. One can then implement that through > subdividing the resources or timeslicing them, depending on the GPU > topology. > > Leasing 1/8th,

Re: [Intel-gfx] [PATCH 0/6] Remove all bad dp_mst_port uses and hide struct def

2018-11-27 Thread Ben Skeggs
For the series: Acked-by: Ben Skeggs On Sat, 17 Nov 2018 at 10:21, Lyude Paul wrote: > > So we don't ever have to worry about drivers touching drm_dp_mst_port > structs without verifying them and crashing again. > > Lyude Paul (6): > drm/dp_mst: Add drm_dp_get_payload_info() > drm/nouveau:

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: implement EXTENDED_RECEIVER_CAPABILITY_FIELD_PRESENT (rev2)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: implement EXTENDED_RECEIVER_CAPABILITY_FIELD_PRESENT (rev2) URL : https://patchwork.freedesktop.org/series/49669/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5212 -> Patchwork_10921 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/icl: Sanitize DDI port clock gating for DSI ports

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915/icl: Sanitize DDI port clock gating for DSI ports URL : https://patchwork.freedesktop.org/series/53093/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211_full -> Patchwork_10914_full = == Summary - WARNING == Minor unknown changes

Re: [Intel-gfx] [PATCH 1/9] drm/i915: Disable PSR in Apple panels

2018-11-27 Thread Souza, Jose
On Tue, 2018-11-27 at 15:38 +0200, Ville Syrjälä wrote: > On Mon, Nov 26, 2018 at 04:37:02PM -0800, José Roberto de Souza > wrote: > > i915 yet don't support PSR in Apple panels, so lets keep it > > disabled > > while we work on that. > > > > Fixes: 598c6cfe0690 (drm/i915/psr: Enable PSR1 on

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: implement EXTENDED_RECEIVER_CAPABILITY_FIELD_PRESENT (rev2)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: implement EXTENDED_RECEIVER_CAPABILITY_FIELD_PRESENT (rev2) URL : https://patchwork.freedesktop.org/series/49669/ State : warning == Summary == $ dim checkpatch origin/drm-tip d147afa0255b drm/i915: implement EXTENDED_RECEIVER_CAPABILITY_FIELD_PRESENT

[Intel-gfx] [CI v12 14/23] drm/i915/dp: Configure i915 Picture parameter Set registers during DSC enabling

2018-11-27 Thread Manasi Navare
After encoder->pre_enable() hook, after link training sequence is completed, PPS registers for DSC encoder are configured using the DSC state parameters in intel_crtc_state as part of DSC enabling routine in the source. DSC enabling routine is called after encoder->pre_enable() before enbaling the

[Intel-gfx] [CI v12 03/23] drm/dsc: Define VESA Display Stream Compression Capabilities

2018-11-27 Thread Manasi Navare
This defines all the DSC parameters as per the VESA DSC spec that will be required for DSC encoder/decoder v6: (From Manasi) * Add a bit mask for RANGE_BPG_OFFSET for 6 bits(Manasi) v5 (From Manasi) * Add the RC constants as per the spec v4 (From Manasi) * Add the DSC_MUX_WORD_SIZE constants

[Intel-gfx] [CI v12 09/23] drm/i915/dp: Do not enable PSR2 if DSC is enabled

2018-11-27 Thread Manasi Navare
If a eDP panel supports both PSR2 and VDSC, our HW cannot support both at a time. Give priority to PSR2 if a requested resolution can be supported without compression else enable VDSC and keep PSR2 disabled. v4: Fix the unrealted stuff removed during rebase (Ville) v3: * Rebase v2: * Add warning

[Intel-gfx] [CI v12 17/23] drm/i915/dp: Configure Display stream splitter registers during DSC enable

2018-11-27 Thread Manasi Navare
Display Stream Splitter registers need to be programmed to enable the joiner if two DSC engines are used and also to enable the left and the right DSC engines. This happens as part of the DSC enabling routine in the source in atomic commit. v4: * Remove redundant comment (Ville) v3: * Use

[Intel-gfx] [CI v12 12/23] drm/i915/dp: Enable/Disable DSC in DP Sink

2018-11-27 Thread Manasi Navare
From: Gaurav K Singh This patch enables decompression support in sink device before link training and disables the same during the DDI disabling. v3 (From manasi): * Pass bool state to enable/disable (Ville) v2:(From Manasi) * Change the enable/disable function to take crtc_state instead of

[Intel-gfx] [CI v12 05/23] drm/dsc: Add helpers for DSC picture parameter set infoframes

2018-11-27 Thread Manasi Navare
According to Display Stream compression spec 1.2, the picture parameter set metadata is sent from source to sink device using the DP Secondary data packet. An infoframe is formed for the PPS SDP header and PPS SDP payload bytes. This patch adds helpers to fill the PPS SDP header and PPS SDP

[Intel-gfx] [CI v12 16/23] drm/i915/dp: Populate DSC PPS SDP and send PPS infoframes

2018-11-27 Thread Manasi Navare
DSC PPS secondary data packet infoframes are filled with DSC picure parameter set metadata according to the DSC standard. These infoframes are sent to the sink device and used during DSC decoding. v3: * Rename to intel_dp_write_pps_sdp (Ville) * Use const intel_crtc_state (Ville) v2: * Rebase ond

[Intel-gfx] [CI v12 13/23] drm/i915/dsc: Add a power domain for VDSC on eDP/MIPI DSI

2018-11-27 Thread Manasi Navare
On Icelake, a separate power well PG2 is created for VDSC engine used for eDP/MIPI DSI. This patch adds a new display power domain for Power well 2. v3: * Call it POWER_DOMAIN_TRANSCODER_EDP_VDSC (Ville) * Move it around TRANSCODER power domain defs (Ville) v2: * Fix the power well mismatch CI

[Intel-gfx] [CI v12 08/23] drm/i915/dp: Compute DSC pipe config in atomic check

2018-11-27 Thread Manasi Navare
DSC params like the enable, compressed bpp, slice count and dsc_split are added to the intel_crtc_state. These parameters are set based on the requested mode and available link parameters during the pipe configuration in atomic check phase. These values are then later used to populate the

[Intel-gfx] [CI v12 18/23] drm/i915/dp: Disable DSC in source by disabling DSS CTL bits

2018-11-27 Thread Manasi Navare
1. Disable Left/right VDSC branch in DSS Ctrl reg depending on the number of VDSC engines being used 2. Disable joiner in DSS Ctrl reg v4: * Remove encoder, make crtc_state const (Ville) v3 (From Manasi): * Add Disable PG2 for VDSC on eDP v2 (From Manasi): * Use old_crtc_state to find dsc

[Intel-gfx] [CI v12 21/23] drm/i915/fec: Set FEC_READY in FEC_CONFIGURATION

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa If the panel supports FEC, the driver has to set the FEC_READY bit in the dpcd register: FEC_CONFIGURATION. This has to happen before link training. v2: s/intel_dp_set_fec_ready/intel_dp_sink_set_fec_ready - change commit message. (Gaurav) v3: rebased. (r-b Manasi)

[Intel-gfx] [CI v12 10/23] drm/i915/dsc: Define & Compute VESA DSC params

2018-11-27 Thread Manasi Navare
From: Gaurav K Singh This patches does the following: 1. This patch defines all the DSC parameters as per the VESA DSC specification. These are stored in the encoder and used to compute the PPS parameters to be sent to the Sink. 2. Compute all the DSC parameters which are derived from DSC state

[Intel-gfx] [CI v12 07/23] drm/i915/dp: Add DSC params and DSC config to intel_crtc_state

2018-11-27 Thread Manasi Navare
Basic DSC parameters and DSC configuration data needs to be computed for each of the requested mode during atomic check. This is required since for certain modes, valid DSC parameters and config data might not be computed in which case compression cannot be enabled for that mode. For that reason

[Intel-gfx] [CI v12 04/23] drm/dsc: Define Rate Control values that do not change over configurations

2018-11-27 Thread Manasi Navare
From: "Srivatsa, Anusha" DSC has some Rate Control values that remain constant across all configurations. These are as per the DSC standard. v3: * Define them in drm_dsc.h as they are DSC constants (Manasi) v2: * Add DP_DSC_ prefix (Jani Nikula) Cc: dri-de...@lists.freedesktop.org Cc: Manasi

[Intel-gfx] [CI v12 15/23] drm/i915/dp: Use the existing write_infoframe() for DSC PPS SDPs

2018-11-27 Thread Manasi Navare
Infoframes are used to send secondary data packets. This patch adds support for DSC Picture parameter set secondary data packets in the existing write_infoframe helpers. v3: * Unused variables cleanup (Ville) v2: * Rebase on drm-tip (Manasi) Cc: Jani Nikula Cc: Ville Syrjala Cc: Anusha

[Intel-gfx] [CI v12 11/23] drm/i915/dsc: Compute Rate Control parameters for DSC

2018-11-27 Thread Manasi Navare
From: Gaurav K Singh This computation of RC params happens in the atomic commit phase during compute_config() to validate if display stream compression can be enabled for the requested mode. v7 (From Manasi): * Use DRM_DEBUG instead of DRM_ERROR (Ville) * Use Error numberinstead of -1 (Ville)

[Intel-gfx] [CI v12 06/23] drm/dsc: Define the DSC 1.1 and 1.2 Line Buffer depth constants

2018-11-27 Thread Manasi Navare
DSC specification defines linebuf_depth which contains the line buffer bit depth used to generate the bitstream. These values are defined as per Table 4.1 in DSC 1.2 spec v2 (From Manasi): * Rename as MAX_LINEBUF_DEPTH for DSC 1.1 and DSC 1.2 Cc: dri-de...@lists.freedesktop.org Cc: Jani Nikula

[Intel-gfx] [CI v12 20/23] i915/dp/fec: Add fec_enable to the crtc state.

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa For DP 1.4 and above, Display Stream compression can be enabled only if Forward Error Correctin can be performed. Add a crtc state for FEC. Currently, the state is determined by platform, DP and DSC being enabled. Moving forward we can use the state to have error

[Intel-gfx] [CI v12 23/23] drm/i915/fec: Disable FEC state.

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa Set the suitable bits in DP_TP_CTL to stop bit correction when DSC is disabled. v2: - rebased. - Add additional check for compression state. (Gaurav) v3: rebased. v4: - Move the code to the proper spot according to spec (Ville) - Use proper checks (manasi) v5: Remove

[Intel-gfx] [CI v12 19/23] drm/i915/dsc: Enable and disable appropriate power wells for VDSC

2018-11-27 Thread Manasi Navare
A separate power well 2 (PG2) is required for VDSC on eDP transcoder whereas all other transcoders use the power wells associated with the transcoders for VDSC. This patch adds a helper to obtain correct power domain depending on transcoder being used and enables/disables the power wells during

[Intel-gfx] [CI v12 01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Manasi Navare
DSC DPCD color depth register advertises its color depth capabilities by setting each of the bits that corresponding to a specific color depth. This patch defines those specific color depths and adds a helper to return an array of color depth capabilities. v2: * Simplify the logic (Ville)

[Intel-gfx] [CI v12 22/23] i915/dp/fec: Configure the Forward Error Correction bits.

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa If FEC is supported, the corresponding DP_TP_CTL register bits have to be configured. The driver has to program the FEC_ENABLE in DP_TP_CTL[30] register and wait till FEC_STATUS in DP_TP_CTL[28] is 1. Also add the warn message to make sure that the control register is

[Intel-gfx] [CI v12 02/23] drm/dsc: Define Display Stream Compression PPS infoframe

2018-11-27 Thread Manasi Navare
This patch defines a new header file for all the DSC 1.2 structures and creates a structure for PPS infoframe which will be used to send picture parameter set secondary data packet for display stream compression. All the PPS infoframe syntax elements are taken from DSC 1.2 specification from VESA.

Re: [Intel-gfx] [Nouveau] [PATCH 1/6] drm/dp_mst: Add drm_dp_get_payload_info()

2018-11-27 Thread Lyude Paul
On Tue, 2018-11-27 at 22:23 +0100, Daniel Vetter wrote: > On Fri, Nov 16, 2018 at 07:21:15PM -0500, Lyude Paul wrote: > > Some hardware (nvidia hardware in particular) needs to be notified of > > the exact VCPI and payload settings that the topology manager decided on > > for each mstb port. Since

Re: [Intel-gfx] [Nouveau] [PATCH 1/6] drm/dp_mst: Add drm_dp_get_payload_info()

2018-11-27 Thread Daniel Vetter
On Fri, Nov 16, 2018 at 07:21:15PM -0500, Lyude Paul wrote: > Some hardware (nvidia hardware in particular) needs to be notified of > the exact VCPI and payload settings that the topology manager decided on > for each mstb port. Since there isn't currently any way to get this > information without

[Intel-gfx] [PATCH] drm/i915/ringbuffer: Clear semaphore sync registers on ring init

2018-11-27 Thread Chris Wilson
Ensure that the sync registers are cleared every time we restart the ring to avoid stale values from creeping in from random neutrinos. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_ringbuffer.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [Intel-gfx] [PATCH v3 4/4] drm/i915/icl: Enable Y210, Y212, Y216 format for primary and sprite planes

2018-11-27 Thread Juha-Pekka Heikkilä
Swati Sharma kirjoitti 22.10.2018 klo 8.31: From: Vidya Srinivas In this patch, a list for icl specific pixel formats is created in which Y210, Y212 and Y216 pixel formats are added along with legacy pixel formats for primary and sprite plane. v3: since support for planar formats on ICL was

[Intel-gfx] ✗ Fi.CI.IGT: failure for Add Colorspace connector property interface (rev4)

2018-11-27 Thread Patchwork
== Series Details == Series: Add Colorspace connector property interface (rev4) URL : https://patchwork.freedesktop.org/series/47132/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_5211_full -> Patchwork_10913_full = == Summary - FAILURE == Serious unknown changes coming

Re: [Intel-gfx] [PATCH v3 2/4] drm/i915/icl: Add Y210, Y212, Y216 plane control definitions

2018-11-27 Thread Juha-Pekka Heikkilä
I did earlier give R-b for this patch. The patch anyway hasn't changed as those defines have not changed. /Juha-Pekka Swati Sharma kirjoitti 22.10.2018 klo 8.31: From: Vidya Srinivas Added needed plane control flag definitions for Y210, Y212 and Y216 formats. v3: no change Signed-off-by:

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Fix TV encoder support (rev5)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: Fix TV encoder support (rev5) URL : https://patchwork.freedesktop.org/series/52378/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211 -> Patchwork_10920 = == Summary - SUCCESS == No regressions found. External URL:

[Intel-gfx] [PATCH v7] drm/i915: implement EXTENDED_RECEIVER_CAPABILITY_FIELD_PRESENT

2018-11-27 Thread Manasi Navare
From: Matt Atwood According to DP spec (2.9.3.1 of DP 1.4) if EXTENDED_RECEIVER_CAPABILITY_FIELD_PRESENT is set the addresses in DPCD 02200h through 0220Fh shall contain the DPRX's true capability. These values will match 0h through Fh, except for DPCD_REV, MAX_LINK_RATE,

Re: [Intel-gfx] [PATCH i-g-t 4/4] igt/v3d_*: Add new tests for the V3D UABI.

2018-11-27 Thread Eric Anholt
Petri Latvala writes: > On Mon, Nov 26, 2018 at 12:46:46PM -0800, Eric Anholt wrote: >> Petri Latvala writes: >> >> > On Wed, Nov 14, 2018 at 02:28:32PM -0800, Eric Anholt wrote: >> >> These are basic non-rendering tests of the UABI. >> >> >> >> Signed-off-by: Eric Anholt >> >> --- >> >>

Re: [Intel-gfx] [PATCH v5 4/5] drm: Add library for shmem backed GEM objects

2018-11-27 Thread Eric Anholt
Daniel Vetter writes: > On Mon, Nov 26, 2018 at 04:36:21PM -0800, Eric Anholt wrote: >> Noralf Trønnes writes: >> > +static void drm_gem_shmem_vm_close(struct vm_area_struct *vma) >> > +{ >> > + struct drm_gem_object *obj = vma->vm_private_data; >> > + struct drm_gem_shmem_object *shmem =

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Fix TV encoder support (rev5)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: Fix TV encoder support (rev5) URL : https://patchwork.freedesktop.org/series/52378/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/vblank: Allow dynamic per-crtc max_vblank_count Okay! Commit: drm/i915:

[Intel-gfx] [PATCH v3 02/15] drm/i915: Don't try to use the hardware frame counter with i965gm TV output

2018-11-27 Thread Ville Syrjala
From: Ville Syrjälä On i965gm the hardware frame counter does not work when the TV encoder is active. So let's not try to consult the hardware frame counter in that case. Instead we'll fall back to the timestamp based guesstimation method used on gen2. Note that the pipe timings generated by

Re: [Intel-gfx] [PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations

2018-11-27 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 12:48:59PM -0500, Lyude Paul wrote: > On Mon, 2018-11-26 at 22:22 +0100, Daniel Vetter wrote: > > On Mon, Nov 26, 2018 at 10:04:21PM +0100, Daniel Vetter wrote: > > > On Thu, Nov 15, 2018 at 07:50:05PM -0500, Lyude Paul wrote: > > > > There has been a TODO waiting for quite

Re: [Intel-gfx] [PATCH v2 01/15] drm/vblank: Allow dynamic per-crtc max_vblank_count

2018-11-27 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 08:20:04PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > On i965gm we need to adjust max_vblank_count dynamically > depending on whether the TV encoder is used or not. To > that end add a per-crtc max_vblank_count that takes > precedence over its device wide

Re: [Intel-gfx] [PATCH v2 1/2] drm/i915/guc: fix GuC suspend/resume

2018-11-27 Thread Daniele Ceraolo Spurio
On 26/11/2018 06:51, Michal Wajdeczko wrote: On Wed, 17 Oct 2018 00:46:47 +0200, Daniele Ceraolo Spurio wrote: /snip/ diff --git a/drivers/gpu/drm/i915/intel_guc_fwif.h b/drivers/gpu/drm/i915/intel_guc_fwif.h index 8382d591c784..1a853cc627e3 100644 ---

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Fix TV encoder support (rev4)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: Fix TV encoder support (rev4) URL : https://patchwork.freedesktop.org/series/52378/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_5211 -> Patchwork_10919 = == Summary - FAILURE == Serious unknown changes coming with Patchwork_10919

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities URL : https://patchwork.freedesktop.org/series/53097/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211 -> Patchwork_10918 = ==

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Fix TV encoder support (rev4)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: Fix TV encoder support (rev4) URL : https://patchwork.freedesktop.org/series/52378/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/vblank: Allow dynamic per-crtc max_vblank_count Okay! Commit: drm/i915:

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Prepare for larger CSB status FIFO size

2018-11-27 Thread Daniele Ceraolo Spurio
On 27/11/2018 09:38, Mika Kuoppala wrote: Make csb entry count variable in preparation for larger CSB status FIFO size found on gen11+ hardware. Note that not all registers in the 12-deep CSB fifo are in a contiguous range, the new ones (6-11) start at mmio_base + 0x3C0 (Bspec: 11724). If

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities URL : https://patchwork.freedesktop.org/series/53097/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/dsc:

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [CI,v11,01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities URL : https://patchwork.freedesktop.org/series/53097/ State : warning == Summary == $ dim checkpatch origin/drm-tip b564f4b939ca drm/dsc: Modify DRM

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size

2018-11-27 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size URL : https://patchwork.freedesktop.org/series/53096/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211 -> Patchwork_10917 = == Summary - SUCCESS == No

Re: [Intel-gfx] [PATCH 4/6] drm/nouveau: Stop reading port->mgr in nv50_mstc_detect()

2018-11-27 Thread Lyude Paul
On Sat, 2018-11-17 at 12:24 +, Sasha Levin wrote: > Hi, > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v4.19.2,

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/fbdev: Make skip_vt_switch the default (rev2)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/fbdev: Make skip_vt_switch the default (rev2) URL : https://patchwork.freedesktop.org/series/53094/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_5211 -> Patchwork_10916 = == Summary - FAILURE == Serious unknown changes coming with

[Intel-gfx] [PATCH v2 02/15] drm/i915: Don't try to use the hardware frame counter with i965gm TV output

2018-11-27 Thread Ville Syrjala
From: Ville Syrjälä On i965gm the hardware frame counter does not work when the TV encoder is active. So let's not try to consult the hardware frame counter in that case. Instead we'll fall back to the timestamp based guesstimation method used on gen2. Note that the pipe timings generated by

[Intel-gfx] [PATCH v2 01/15] drm/vblank: Allow dynamic per-crtc max_vblank_count

2018-11-27 Thread Ville Syrjala
From: Ville Syrjälä On i965gm we need to adjust max_vblank_count dynamically depending on whether the TV encoder is used or not. To that end add a per-crtc max_vblank_count that takes precedence over its device wide counterpart. The driver can now call drm_crtc_set_max_vblank_count() to

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/fbdev: Make skip_vt_switch the default (rev2)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/fbdev: Make skip_vt_switch the default (rev2) URL : https://patchwork.freedesktop.org/series/53094/ State : warning == Summary == $ dim checkpatch origin/drm-tip d2c59bd255a1 drm/fbdev: Make skip_vt_switch the default -:22: ERROR:GIT_COMMIT_ID: Please use git

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Program SKL+ watermarks/ddb more carefully (rev11)

2018-11-27 Thread Patchwork
== Series Details == Series: drm/i915: Program SKL+ watermarks/ddb more carefully (rev11) URL : https://patchwork.freedesktop.org/series/51878/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5211 -> Patchwork_10915 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] [CI v11 16/23] drm/i915/dp: Populate DSC PPS SDP and send PPS infoframes

2018-11-27 Thread Manasi Navare
DSC PPS secondary data packet infoframes are filled with DSC picure parameter set metadata according to the DSC standard. These infoframes are sent to the sink device and used during DSC decoding. v3: * Rename to intel_dp_write_pps_sdp (Ville) * Use const intel_crtc_state (Ville) v2: * Rebase ond

[Intel-gfx] [CI v11 21/23] drm/i915/fec: Set FEC_READY in FEC_CONFIGURATION

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa If the panel supports FEC, the driver has to set the FEC_READY bit in the dpcd register: FEC_CONFIGURATION. This has to happen before link training. v2: s/intel_dp_set_fec_ready/intel_dp_sink_set_fec_ready - change commit message. (Gaurav) v3: rebased. (r-b Manasi)

[Intel-gfx] [CI v11 13/23] drm/i915/dsc: Add a power domain for VDSC on eDP/MIPI DSI

2018-11-27 Thread Manasi Navare
On Icelake, a separate power well PG2 is created for VDSC engine used for eDP/MIPI DSI. This patch adds a new display power domain for Power well 2. v3: * Call it POWER_DOMAIN_TRANSCODER_EDP_VDSC (Ville) * Move it around TRANSCODER power domain defs (Ville) v2: * Fix the power well mismatch CI

[Intel-gfx] [CI v11 19/23] drm/i915/dsc: Enable and disable appropriate power wells for VDSC

2018-11-27 Thread Manasi Navare
A separate power well 2 (PG2) is required for VDSC on eDP transcoder whereas all other transcoders use the power wells associated with the transcoders for VDSC. This patch adds a helper to obtain correct power domain depending on transcoder being used and enables/disables the power wells during

[Intel-gfx] [CI v11 11/23] drm/i915/dsc: Compute Rate Control parameters for DSC

2018-11-27 Thread Manasi Navare
From: Gaurav K Singh This computation of RC params happens in the atomic commit phase during compute_config() to validate if display stream compression can be enabled for the requested mode. v7 (From Manasi): * Use DRM_DEBUG instead of DRM_ERROR (Ville) * Use Error numberinstead of -1 (Ville)

[Intel-gfx] [CI v11 06/23] drm/dsc: Define the DSC 1.1 and 1.2 Line Buffer depth constants

2018-11-27 Thread Manasi Navare
DSC specification defines linebuf_depth which contains the line buffer bit depth used to generate the bitstream. These values are defined as per Table 4.1 in DSC 1.2 spec v2 (From Manasi): * Rename as MAX_LINEBUF_DEPTH for DSC 1.1 and DSC 1.2 Cc: dri-de...@lists.freedesktop.org Cc: Jani Nikula

[Intel-gfx] [CI v11 08/23] drm/i915/dp: Compute DSC pipe config in atomic check

2018-11-27 Thread Manasi Navare
DSC params like the enable, compressed bpp, slice count and dsc_split are added to the intel_crtc_state. These parameters are set based on the requested mode and available link parameters during the pipe configuration in atomic check phase. These values are then later used to populate the

[Intel-gfx] [CI v11 04/23] drm/dsc: Define Rate Control values that do not change over configurations

2018-11-27 Thread Manasi Navare
From: "Srivatsa, Anusha" DSC has some Rate Control values that remain constant across all configurations. These are as per the DSC standard. v3: * Define them in drm_dsc.h as they are DSC constants (Manasi) v2: * Add DP_DSC_ prefix (Jani Nikula) Cc: dri-de...@lists.freedesktop.org Cc: Manasi

[Intel-gfx] [CI v11 01/23] drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

2018-11-27 Thread Manasi Navare
DSC DPCD color depth register advertises its color depth capabilities by setting each of the bits that corresponding to a specific color depth. This patch defines those specific color depths and adds a helper to return an array of color depth capabilities. v2: * Simplify the logic (Ville)

[Intel-gfx] [CI v11 18/23] drm/i915/dp: Disable DSC in source by disabling DSS CTL bits

2018-11-27 Thread Manasi Navare
1. Disable Left/right VDSC branch in DSS Ctrl reg depending on the number of VDSC engines being used 2. Disable joiner in DSS Ctrl reg v4: * Remove encoder, make crtc_state const (Ville) v3 (From Manasi): * Add Disable PG2 for VDSC on eDP v2 (From Manasi): * Use old_crtc_state to find dsc

[Intel-gfx] [CI v11 23/23] drm/i915/fec: Disable FEC state.

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa Set the suitable bits in DP_TP_CTL to stop bit correction when DSC is disabled. v2: - rebased. - Add additional check for compression state. (Gaurav) v3: rebased. v4: - Move the code to the proper spot according to spec (Ville) - Use proper checks (manasi) v5: Remove

[Intel-gfx] [CI v11 03/23] drm/dsc: Define VESA Display Stream Compression Capabilities

2018-11-27 Thread Manasi Navare
This defines all the DSC parameters as per the VESA DSC spec that will be required for DSC encoder/decoder v6: (From Manasi) * Add a bit mask for RANGE_BPG_OFFSET for 6 bits(Manasi) v5 (From Manasi) * Add the RC constants as per the spec v4 (From Manasi) * Add the DSC_MUX_WORD_SIZE constants

[Intel-gfx] [CI v11 17/23] drm/i915/dp: Configure Display stream splitter registers during DSC enable

2018-11-27 Thread Manasi Navare
Display Stream Splitter registers need to be programmed to enable the joiner if two DSC engines are used and also to enable the left and the right DSC engines. This happens as part of the DSC enabling routine in the source in atomic commit. v4: * Remove redundant comment (Ville) v3: * Use

[Intel-gfx] [CI v11 22/23] i915/dp/fec: Configure the Forward Error Correction bits.

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa If FEC is supported, the corresponding DP_TP_CTL register bits have to be configured. The driver has to program the FEC_ENABLE in DP_TP_CTL[30] register and wait till FEC_STATUS in DP_TP_CTL[28] is 1. Also add the warn message to make sure that the control register is

[Intel-gfx] [CI v11 20/23] i915/dp/fec: Add fec_enable to the crtc state.

2018-11-27 Thread Manasi Navare
From: Anusha Srivatsa For DP 1.4 and above, Display Stream compression can be enabled only if Forward Error Correctin can be performed. Add a crtc state for FEC. Currently, the state is determined by platform, DP and DSC being enabled. Moving forward we can use the state to have error

[Intel-gfx] [CI v11 14/23] drm/i915/dp: Configure i915 Picture parameter Set registers during DSC enabling

2018-11-27 Thread Manasi Navare
After encoder->pre_enable() hook, after link training sequence is completed, PPS registers for DSC encoder are configured using the DSC state parameters in intel_crtc_state as part of DSC enabling routine in the source. DSC enabling routine is called after encoder->pre_enable() before enbaling the

[Intel-gfx] [CI v11 10/23] drm/i915/dsc: Define & Compute VESA DSC params

2018-11-27 Thread Manasi Navare
From: Gaurav K Singh This patches does the following: 1. This patch defines all the DSC parameters as per the VESA DSC specification. These are stored in the encoder and used to compute the PPS parameters to be sent to the Sink. 2. Compute all the DSC parameters which are derived from DSC state

[Intel-gfx] [CI v11 05/23] drm/dsc: Add helpers for DSC picture parameter set infoframes

2018-11-27 Thread Manasi Navare
According to Display Stream compression spec 1.2, the picture parameter set metadata is sent from source to sink device using the DP Secondary data packet. An infoframe is formed for the PPS SDP header and PPS SDP payload bytes. This patch adds helpers to fill the PPS SDP header and PPS SDP

[Intel-gfx] [CI v11 09/23] drm/i915/dp: Do not enable PSR2 if DSC is enabled

2018-11-27 Thread Manasi Navare
If a eDP panel supports both PSR2 and VDSC, our HW cannot support both at a time. Give priority to PSR2 if a requested resolution can be supported without compression else enable VDSC and keep PSR2 disabled. v4: Fix the unrealted stuff removed during rebase (Ville) v3: * Rebase v2: * Add warning

[Intel-gfx] [CI v11 15/23] drm/i915/dp: Use the existing write_infoframe() for DSC PPS SDPs

2018-11-27 Thread Manasi Navare
Infoframes are used to send secondary data packets. This patch adds support for DSC Picture parameter set secondary data packets in the existing write_infoframe helpers. v3: * Unused variables cleanup (Ville) v2: * Rebase on drm-tip (Manasi) Cc: Jani Nikula Cc: Ville Syrjala Cc: Anusha

[Intel-gfx] [CI v11 07/23] drm/i915/dp: Add DSC params and DSC config to intel_crtc_state

2018-11-27 Thread Manasi Navare
Basic DSC parameters and DSC configuration data needs to be computed for each of the requested mode during atomic check. This is required since for certain modes, valid DSC parameters and config data might not be computed in which case compression cannot be enabled for that mode. For that reason

[Intel-gfx] [CI v11 12/23] drm/i915/dp: Enable/Disable DSC in DP Sink

2018-11-27 Thread Manasi Navare
From: Gaurav K Singh This patch enables decompression support in sink device before link training and disables the same during the DDI disabling. v3 (From manasi): * Pass bool state to enable/disable (Ville) v2:(From Manasi) * Change the enable/disable function to take crtc_state instead of

[Intel-gfx] [CI v11 02/23] drm/dsc: Define Display Stream Compression PPS infoframe

2018-11-27 Thread Manasi Navare
This patch defines a new header file for all the DSC 1.2 structures and creates a structure for PPS infoframe which will be used to send picture parameter set secondary data packet for display stream compression. All the PPS infoframe syntax elements are taken from DSC 1.2 specification from VESA.

[Intel-gfx] ✓ Fi.CI.IGT: success for HDCP1.4 fixes (rev8)

2018-11-27 Thread Patchwork
== Series Details == Series: HDCP1.4 fixes (rev8) URL : https://patchwork.freedesktop.org/series/38978/ State : success == Summary == = CI Bug Log - changes from CI_DRM_5209_full -> Patchwork_10912_full = == Summary - SUCCESS == No regressions found. == Known issues == Here are

  1   2   3   >