[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Enable AUX-A IO power well on ICL for PSR (rev3)

2018-09-16 Thread Patchwork
== Series Details == Series: drm/i915/psr: Enable AUX-A IO power well on ICL for PSR (rev3) URL : https://patchwork.freedesktop.org/series/49682/ State : failure == Summary == Applying: drm/i915/psr: Enable AUX-A IO power well on ICL for PSR error: corrupt patch at line 27 error: could not bui

Re: [Intel-gfx] [PATCH] drm/i915/psr: Enable AUX-A IO power well on ICL for PSR

2018-09-16 Thread Yadav, Jyoti R
Hi Dhinakaran, I tested this patch. Now I am not able to see those "AUX Error Interrupts". Thanks for your patch. Regards Jyoti -Original Message- From: Pandiyan, Dhinakaran Sent: Friday, September 14, 2018 5:48 AM To: intel-gfx@lists.freedesktop.org Cc: Souza, Jose ; Deak, Imre ; Pan

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Recover batch pool caches from shrinker (rev2)

2018-09-16 Thread Patchwork
== Series Details == Series: drm/i915: Recover batch pool caches from shrinker (rev2) URL : https://patchwork.freedesktop.org/series/49757/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4833_full -> Patchwork_10200_full = == Summary - FAILURE == Serious unknown changes c

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Recover batch pool caches from shrinker (rev2)

2018-09-16 Thread Patchwork
== Series Details == Series: drm/i915: Recover batch pool caches from shrinker (rev2) URL : https://patchwork.freedesktop.org/series/49757/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4833 -> Patchwork_10200 = == Summary - SUCCESS == No regressions found. External U

[Intel-gfx] [PATCH v2] drm/i915: Recover batch pool caches from shrinker

2018-09-16 Thread Chris Wilson
Discard all of our batch pools under mempressure to make their pages available to the shrinker. We will quickly reacquire them when necessary for more GPU relocations or for the command parser. v2: Init the lists for mock_engine Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107936 Signed

[Intel-gfx] ✗ Fi.CI.BAT: failure for ICELAKE DSI DRIVER (rev6)

2018-09-16 Thread Patchwork
== Series Details == Series: ICELAKE DSI DRIVER (rev6) URL : https://patchwork.freedesktop.org/series/44823/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4833 -> Patchwork_10199 = == Summary - FAILURE == Serious unknown changes coming with Patchwork_10199 absolutely nee

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for ICELAKE DSI DRIVER (rev6)

2018-09-16 Thread Patchwork
== Series Details == Series: ICELAKE DSI DRIVER (rev6) URL : https://patchwork.freedesktop.org/series/44823/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/icl: Configure lane sequencing of combo phy transmitter Okay! Commit: drm/i915/icl: DSI vswing programming se

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for ICELAKE DSI DRIVER (rev6)

2018-09-16 Thread Patchwork
== Series Details == Series: ICELAKE DSI DRIVER (rev6) URL : https://patchwork.freedesktop.org/series/44823/ State : warning == Summary == $ dim checkpatch origin/drm-tip 33aac050cb0a drm/i915/icl: Configure lane sequencing of combo phy transmitter -:59: CHECK:BRACES: Blank lines aren't necess

[Intel-gfx] ✗ Fi.CI.BAT: failure for Add Plane Color Properties (rev5)

2018-09-16 Thread Patchwork
== Series Details == Series: Add Plane Color Properties (rev5) URL : https://patchwork.freedesktop.org/series/30875/ State : failure == Summary == Applying: drm: Add Enhanced Gamma LUT precision structure Applying: drm: Add Plane Degamma properties error: sha1 information is lacking or useless

[Intel-gfx] [PATCH v6 13/20] drm/i915/icl: Define TRANS_DDI_FUNC_CTL DSI registers

2018-09-16 Thread Madhav Chauhan
This patch defines TRANS_DDI_FUNC_CTL and TRANS_DDI_FUNC_CTL2 registers and their bitfields for DSI. These registers are used for enabling port sync mode, input pipe select, data lane width configuration etc. v2: Changes: - Remove redundant extra line - Correct some of bitfield definition

[Intel-gfx] [PATCH v6 04/20] drm/i915/icl: Program T_INIT_MASTER registers

2018-09-16 Thread Madhav Chauhan
This patch programs the time (in escape clocks) to drive the link in the initialization (i.e. LP-11) state. v2: Rebase v3: Remove step hard coding comments (Jani N) Signed-off-by: Madhav Chauhan Reviewed-by: Jani Nikula --- drivers/gpu/drm/i915/icl_dsi.c | 19 +++ 1 file change

[Intel-gfx] [PATCH v6 00/20] ICELAKE DSI DRIVER

2018-09-16 Thread Madhav Chauhan
From ICELAKE platform onwards, new MIPI DSI IP controller is integrated to GPU/Display Engine and same could be extended for future Intel platforms as well. DSI IP controller supports MIPI DSI 1.3 and DPHY 1.2 specification. So, a new DSI driver has been added inside I915. Given below patches ar

[Intel-gfx] [PATCH v6 01/20] drm/i915/icl: Configure lane sequencing of combo phy transmitter

2018-09-16 Thread Madhav Chauhan
This patch set the loadgen select and latency optimization for aux and transmit lanes of combo phy transmitters. It will be used for MIPI DSI HS operations. v2: Rebase v3: Add empty line to make code more legible (Ville). Signed-off-by: Madhav Chauhan Reviewed-by: Jani Nikula --- drivers/gpu/d

[Intel-gfx] [PATCH v6 16/20] drm/i915/icl: Configure DSI transcoder timings

2018-09-16 Thread Madhav Chauhan
As part of DSI enable sequence, transcoder timings (horizontal & vertical) need to be set so that transcoder will generate the stream output as per those timings. This patch set required transcoder timings as per BSPEC. v2: Remove TRANS_TIMING_SHIFT usage Signed-off-by: Madhav Chauhan --- drive

[Intel-gfx] [PATCH v6 18/20] drm/i915/icl: Enable DSI transcoders

2018-09-16 Thread Madhav Chauhan
This patch enables DSI transcoders by writing to TRANS_CONF registers and wait for its state to be enabled. Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/icl_dsi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/i915/icl_dsi.c b/drivers/gpu/

[Intel-gfx] [PATCH v6 10/20] drm/i915/icl: Add macros for MMIO of DSI transcoder registers

2018-09-16 Thread Madhav Chauhan
This patch adds _MMIO_DSI macros for accessing DSI transcoder registers. v2: Use _MMIO_TRANS() (Ville) Credits-to: Jani N Cc: Jani Nikula Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/i915_reg.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b

[Intel-gfx] [PATCH v6 08/20] drm/i915/icl: Program TA_TIMING_PARAM registers

2018-09-16 Thread Madhav Chauhan
This patch programs D-PHY timing parameters for the bus turn around flow(in escape clocks) only if dsi link frequency <=800 MHz using DPHY_TA_TIMING_PARAM and its identical register DSI_TA_TIMING_PARAM (inside DSI Controller within the Display Core). v2: Changes - Don't use KHz() macro (Ville/

[Intel-gfx] [PATCH v6 07/20] drm/i915/icl: Define TA_TIMING_PARAM registers

2018-09-16 Thread Madhav Chauhan
This patch defines DSI_TA_TIMING_PARAM and DPHY_TA_TIMING_PARAM registers used in dphy programming. v2: Changes (Jani N) - Define mask/shift for bitfields - Use bitfields name as per BSPEC - Define remaining bitfields Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [PATCH v6 09/20] drm/i915/icl: Get DSI transcoder for a given port

2018-09-16 Thread Madhav Chauhan
This patch adds a helper function to retrieve DSI transcoder for a given DSI port using newly defined enum names for DSI transcoders. Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/icl_dsi.c | 9 + drivers/gpu/drm/i915/intel_display.h | 6 -- 2 files changed, 13 inserti

[Intel-gfx] [RFC v5 8/8] drm/i915: Load plane color luts from atomic flip

2018-09-16 Thread Uma Shankar
Load plane color luts as part of atomic plane updates. This will be done only if the plane color luts are changed. v4: Rebase v5: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_atomic_plane.c | 4 drivers/gpu/drm/i915/intel_color.c| 8 drivers/gpu/drm/i9

[Intel-gfx] [RFC v5 0/8] Add Plane Color Properties

2018-09-16 Thread Uma Shankar
This is how a typical display color hardware pipeline looks like: +---+ |RAM| | +--++-++-+ | | | FB 1 || FB 2 || FB N| | | +--++-++-+

[Intel-gfx] [PATCH v6 20/20] drm/i915/icl: Set max return packet size for DSI panel

2018-09-16 Thread Madhav Chauhan
This patch programs maximum size of the payload transmitted from peripheral back to the host processor using short packet as a part of panel programming. v2: Rebase Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/icl_dsi.c | 28 1 file changed, 28 insertions(

[Intel-gfx] [RFC v5 7/8] drm/i915: Implement Plane Gamma for Bdw and Gen9 platforms

2018-09-16 Thread Uma Shankar
Implement Plane Gamma feature for BDW and Gen9 platforms. v2: Used newly added drm_color_lut_ext structure for enhanced precision for Gamma LUT entries. v3: Rebase v4: Used extended function for LUT extraction (pointed by Alexandru). Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_pc

[Intel-gfx] [PATCH v6 06/20] drm/i915/icl: Program DSI clock and data lane timing params

2018-09-16 Thread Madhav Chauhan
This patch programs D-PHY timing parameters for the clock and data lane (in escape clocks) of DSI controller (DSI port 0 and 1). These programmed timings would be used by DSI Controller to calculate link transition latencies of the data and clock lanes. v2: Use newly defined bitfields for data and

[Intel-gfx] [RFC v5 5/8] drm: Define helper function for plane color enabling

2018-09-16 Thread Uma Shankar
Define helper function to enable Plane color features to attach plane color properties to plane structure. v2: Rebase v3: Modiefied the function to use updated property names. v4: Rebase v5: Moved helper function to drm_color_mgmt.c file to have all color operations consolidated at one place. N

[Intel-gfx] [PATCH v6 15/20] drm/i915/icl: Define DSI transcoder timing registers

2018-09-16 Thread Madhav Chauhan
This patch defines registers and bitfields used for programming DSI transcoder's horizontal and vertical timings. v2: Remove TRANS_TIMING_SHIFT definition Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/i915_reg.h | 12 1 file changed, 12 insertions(+) diff --git a/drivers/

[Intel-gfx] [RFC v5 2/8] drm: Add Plane Degamma properties

2018-09-16 Thread Uma Shankar
Add Plane Degamma as a blob property and plane degamma size as a range property. v2: Rebase v3: Fixed Sean, Paul's review comments. Moved the property from mode_config to drm_plane. Created a helper function to instantiate these properties and removed from drm_mode_create_standard_properties Adde

[Intel-gfx] [PATCH v6 11/20] drm/i915/icl: Define TRANS_DSI_FUNC_CONF register

2018-09-16 Thread Madhav Chauhan
This patch defines transcoder function configuration registers and its bitfields for both DSI ports. Used while programming/enabling DSI transcoder. v2: Changes (Jani N) - Define _SHIFT and _MASK for bitfields - Define values for fields already shifted in place Signed-off-by: Madhav Chauh

[Intel-gfx] [PATCH v6 19/20] drm/i915/icl: Define DSI panel programming registers

2018-09-16 Thread Madhav Chauhan
This patch defines DSI_CMD_RXCTL, DSI_CMD_TXCTL registers, bitfields, masks and macros used for configuring DSI panel. v2: Define remaining bitfields Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/i915_reg.h | 38 ++ 1 file changed, 38 insertions(+)

[Intel-gfx] [RFC v5 3/8] drm: Add Plane CTM property

2018-09-16 Thread Uma Shankar
Add a blob property for plane CSC usage. v2: Rebase v3: Fixed Sean, Paul's review comments. Moved the property from mode_config to drm_plane. Created a helper function to instantiate these properties and removed from drm_mode_create_standard_properties Added property documentation as suggested by

[Intel-gfx] [PATCH v6 12/20] drm/i915/icl: Configure DSI transcoders

2018-09-16 Thread Madhav Chauhan
This patch programs DSI operation mode, pixel format, BGR info, link calibration etc for the DSI transcoder. This patch also extract BGR info of the DSI panel from VBT and save it inside struct intel_dsi which used for configuring DSI transcoder. v2: Rebase v3: Use newly defined bitfields. Signed

[Intel-gfx] [PATCH v6 14/20] drm/i915/icl: Program TRANS_DDI_FUNC_CTL registers

2018-09-16 Thread Madhav Chauhan
This patch select input PIPE for DSI, data lanes width, enable port sync mode and wait for DSI link to become ready. Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/icl_dsi.c | 61 +++--- 1 file changed, 57 insertions(+), 4 deletions(-) diff --git a/dr

[Intel-gfx] [PATCH v6 05/20] drm/i915/icl: Define data/clock lanes dphy timing registers

2018-09-16 Thread Madhav Chauhan
This patch defines DSI_CLK_TIMING_PARAM, DPHY_CLK_TIMING_PARAM, DSI_DATA_TIMING_PARAM, DPHY_DATA_TIMING_PARAM register used in dphy programming. v2: Define mask/shift for bitfields and keep names as per BSPEC (Jani N) Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/i915_reg.h | 58 ++

[Intel-gfx] [PATCH v6 17/20] drm/i915/icl: Define TRANS_CONF register for DSI

2018-09-16 Thread Madhav Chauhan
This patch defines TRANS_CONF registers for DSI ports 0 and 1. Bitfields of these registers used for enabling and reading the current state of transcoder. v2: Add blank line before comment Signed-off-by: Madhav Chauhan --- drivers/gpu/drm/i915/i915_pci.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [PATCH v6 03/20] drm/i915/icl: Enable DDI Buffer

2018-09-16 Thread Madhav Chauhan
This patch enables DDI buffer by writing to DDI_BUF_CTL register and wait for DDI status to be *not idle* for a port. v2: Rebase v3: Remove step hard coding comments (Jani N) Signed-off-by: Madhav Chauhan Reviewed-by: Jani Nikula --- drivers/gpu/drm/i915/icl_dsi.c | 22 ++

[Intel-gfx] [PATCH v6 02/20] drm/i915/icl: DSI vswing programming sequence

2018-09-16 Thread Madhav Chauhan
This patch setup voltage swing before enabling combo PHY DDI (shared with DSI). Note that DSI voltage swing programming is for high speed data buffers. HW automatically handles the voltage swing for the low power data buffers. v2: Rebase v3: Address various review comments related to VSWING pr

[Intel-gfx] [RFC v5 1/8] drm: Add Enhanced Gamma LUT precision structure

2018-09-16 Thread Uma Shankar
Existing LUT precision structure is having only 16 bit precision. This is not enough for upcoming enhanced hardwares and advance usecases like HDR processing. Hence added a new structure with 32 bit precision values. Also added the code, for extracting the same from values passed from userspace. v

[Intel-gfx] [RFC v5 4/8] drm: Add Plane Gamma properties

2018-09-16 Thread Uma Shankar
Add plane gamma as blob property and size as a range property. v2: Rebase v3: Fixed Sean, Paul's review comments. Moved the property from mode_config to drm_plane. Created a helper function to instantiate these properties and removed from drm_mode_create_standard_properties Added property documen

[Intel-gfx] [RFC v5 6/8] drm/i915: Enable plane color features

2018-09-16 Thread Uma Shankar
Enable and initialize plane color features. v2: Rebase and some cleanup v3: Updated intel_plane_color_init to call drm_plane_color_create_prop function, which will in turn create plane color properties. v4: Rebase v5: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_drv.h