Re: [Intel-gfx] [PATCH v4 15/16] drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

Re: [Intel-gfx] [PATCH v4 12/16] drm/i915/hdcp: MST streams support in hdcp port_data

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

Re: [Intel-gfx] [PATCH v4 07/16] drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

[Intel-gfx] [PATCH V2] drm/i915/jsl: Disable cursor clock gating in HDR mode

2020-11-01 Thread Tejas Upadhyay
Display underrun in HDR mode when cursor is enabled. RTL fix will be implemented CLKGATE_DIS_PSL_A bit 28-46520h. As per W/A 1604331009, Disable cursor clock gating in HDR mode. Bspec : 33451 Changes since V1: - Modified way CLKGATE_DIS_PSL bit 28 was modified Cc: Souza Jose Signed-off-

Re: [Intel-gfx] [PATCH v4 06/16] drm/i915/hdcp: HDCP stream encryption support

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

Re: [Intel-gfx] [PATCH v4 02/16] drm/i915/hdcp: Get conn while content_type changed

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

Re: [Intel-gfx] [PATCH v4 01/16] drm/i915/hdcp: Update CP property in update_pipe

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

Re: [Intel-gfx] [PATCH v2] drm/i915/rkl: new rkl ddc map for different PCH

2020-11-01 Thread Matt Roper
On Fri, Oct 30, 2020 at 07:55:35PM -0700, Lee, Shawn C wrote: > > On Fri, Oct. 30, 2020, 5:35 p.m., Matt Roper wrote: > >On Fri, Oct 30, 2020 at 09:41:37PM +0800, Lee Shawn C wrote: > >> After boot into kernel. Driver configured ddc pin mapping based on > >> predefined table in parse_ddi_port(). N

[Intel-gfx] ✗ Fi.CI.IGT: failure for linux-next: build failure after merge of the drm-misc tree

2020-11-01 Thread Patchwork
== Series Details == Series: linux-next: build failure after merge of the drm-misc tree URL : https://patchwork.freedesktop.org/series/83323/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9238_full -> Patchwork_18823_full S

[Intel-gfx] ✓ Fi.CI.BAT: success for linux-next: build failure after merge of the drm-misc tree

2020-11-01 Thread Patchwork
== Series Details == Series: linux-next: build failure after merge of the drm-misc tree URL : https://patchwork.freedesktop.org/series/83323/ State : success == Summary == CI Bug Log - changes from CI_DRM_9238 -> Patchwork_18823 Summary ---

Re: [Intel-gfx] [PATCH v4 0/7] Convert the intel iommu driver to the dma-iommu api

2020-11-01 Thread Lu Baolu
Hi Tvrtko, On 10/12/20 4:44 PM, Tvrtko Ursulin wrote: On 29/09/2020 01:11, Lu Baolu wrote: Hi Tvrtko, On 9/28/20 5:44 PM, Tvrtko Ursulin wrote: On 27/09/2020 07:34, Lu Baolu wrote: Hi, The previous post of this series could be found here. https://lore.kernel.org/linux-iommu/2020091203220

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for linux-next: build failure after merge of the drm-misc tree

2020-11-01 Thread Patchwork
== Series Details == Series: linux-next: build failure after merge of the drm-misc tree URL : https://patchwork.freedesktop.org/series/83323/ State : warning == Summary == $ dim checkpatch origin/drm-tip 667a901ef419 linux-next: build failure after merge of the drm-misc tree -:26: ERROR:GIT_CO

[Intel-gfx] linux-next: build warning after merge of the drm-misc tree

2020-11-01 Thread Stephen Rothwell
Hi all, After merging the imx-drm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/gpu/drm/panfrost/panfrost_job.c: In function 'panfrost_job_close': drivers/gpu/drm/panfrost/panfrost_job.c:617:28: warning: unused variable 'js' [-Wunused-variable] 617 | s

[Intel-gfx] linux-next: build failure after merge of the drm-misc tree

2020-11-01 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from drivers/gpu/drm/nouveau/nouveau_ttm.c:26: include/linux/swiotlb.h: In function 'swiotlb_max_mapping_size': include/linux/swiotlb.h:99:9: error: 'SIZE_MAX' undeclared

[Intel-gfx] ✗ Fi.CI.BAT: failure for Reduce context clear batch size to avoid gpu hang (rev2)

2020-11-01 Thread Patchwork
== Series Details == Series: Reduce context clear batch size to avoid gpu hang (rev2) URL : https://patchwork.freedesktop.org/series/83306/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9237 -> Patchwork_18822 Summary -

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Reduce context clear batch size to avoid gpu hang (rev2)

2020-11-01 Thread Patchwork
== Series Details == Series: Reduce context clear batch size to avoid gpu hang (rev2) URL : https://patchwork.freedesktop.org/series/83306/ State : warning == Summary == $ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +driver

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Reduce context clear batch size to avoid gpu hang (rev2)

2020-11-01 Thread Patchwork
== Series Details == Series: Reduce context clear batch size to avoid gpu hang (rev2) URL : https://patchwork.freedesktop.org/series/83306/ State : warning == Summary == $ dim checkpatch origin/drm-tip c2bab1fe9322 drm/i915: Introduce quirk QUIRK_RENDERCLEAR_REDUCED -:20: CHECK:SPACING: spaces

[Intel-gfx] [PATCH v3 3/3] drm/i915/gt: Force reduced batch size if new QUIRK_RENDERCLEAR_REDUCED is set.

2020-11-01 Thread rwright
From: Randy Wright In function batch_get_defaults, the smaller batch size will be selected if QUIRK_RENDERCLEAR_REDUCED is set. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/gt/gen7_renderclear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt

[Intel-gfx] [PATCH v3 1/3] drm/i915: Introduce quirk QUIRK_RENDERCLEAR_REDUCED

2020-11-01 Thread rwright
From: Randy Wright Introduce quirk QUIRK_RENDERCLEAR_REDUCED, which will be used to force a limited batch buffer size for clearing residual contexts in gen7_renderclear.c. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/driver

[Intel-gfx] [PATCH v3 2/3] drm/i915/display: Add function quirk_renderclear_reduced

2020-11-01 Thread rwright
From: Randy Wright Added function quirk_renderclear_reduced to set QUIRK_RENDERCLEAR_REDUCED for designated platforms. Applying QUIRK_RENDERCLEAR_REDUCED for the HP Pavilion Mini 300-020 prevents a GPU hang. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/display/intel_quirks.c | 13

[Intel-gfx] [PATCH v3 0/3] Reduce context clear batch size to avoid gpu hang

2020-11-01 Thread rwright
From: Randy Wright For several months, I've been experiencing GPU hangs when starting Cinnamon on an HP Pavilion Mini 300-020 if I try to run an upstream kernel. I reported this recently in https://gitlab.freedesktop.org/drm/intel/-/issues/2413 where I have attached the requested evidence inclu

[Intel-gfx] [PATCH v3 2/3] drm/i915/display: Add function quirk_renderclear_reduced

2020-11-01 Thread rwright
From: Randy Wright Added function quirk_renderclear_reduced to set QUIRK_RENDERCLEAR_REDUCED for designated platforms. Applying QUIRK_RENDERCLEAR_REDUCED for the HP Pavilion Mini 300-020 prevents a GPU hang. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/display/intel_quirks.c | 13

[Intel-gfx] [PATCH v3 0/3] Reduce context clear batch size to avoid gpu hang

2020-11-01 Thread rwright
From: Randy Wright For several months, I've been experiencing GPU hangs when starting Cinnamon on an HP Pavilion Mini 300-020 if I try to run an upstream kernel. I reported this recently in https://gitlab.freedesktop.org/drm/intel/-/issues/2413 where I have attached the requested evidence inclu

[Intel-gfx] [PATCH v3 1/3] drm/i915: Introduce quirk QUIRK_RENDERCLEAR_REDUCED

2020-11-01 Thread rwright
From: Randy Wright Introduce quirk QUIRK_RENDERCLEAR_REDUCED, which will be used to force a limited batch buffer size for clearing residual contexts in gen7_renderclear.c. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/driver

[Intel-gfx] ✗ Fi.CI.IGT: failure for Add support for DP-HDMI2.1 PCON (rev4)

2020-11-01 Thread Patchwork
== Series Details == Series: Add support for DP-HDMI2.1 PCON (rev4) URL : https://patchwork.freedesktop.org/series/82098/ State : failure == Summary == CI Bug Log - changes from CI_DRM_9236_full -> Patchwork_18821_full Summary --- **

[Intel-gfx] ✓ Fi.CI.BAT: success for Add support for DP-HDMI2.1 PCON (rev4)

2020-11-01 Thread Patchwork
== Series Details == Series: Add support for DP-HDMI2.1 PCON (rev4) URL : https://patchwork.freedesktop.org/series/82098/ State : success == Summary == CI Bug Log - changes from CI_DRM_9236 -> Patchwork_18821 Summary --- **SUCCESS**

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Add support for DP-HDMI2.1 PCON (rev4)

2020-11-01 Thread Patchwork
== Series Details == Series: Add support for DP-HDMI2.1 PCON (rev4) URL : https://patchwork.freedesktop.org/series/82098/ State : warning == Summary == $ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +./drivers/gpu/drm/amd/am

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add support for DP-HDMI2.1 PCON (rev4)

2020-11-01 Thread Patchwork
== Series Details == Series: Add support for DP-HDMI2.1 PCON (rev4) URL : https://patchwork.freedesktop.org/series/82098/ State : warning == Summary == $ dim checkpatch origin/drm-tip 27e3b6298aa3 drm/edid: Add additional HFVSDB fields for HDMI2.1 -:60: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Si

[Intel-gfx] [PATCH v2 07/13] drm/i915: Capture max frl rate for PCON in dfp cap structure

2020-11-01 Thread Ankit Nautiyal
HDMI2.1 PCON advertises Max FRL bandwidth supported by the PCON and by the sink. This patch captures these in dfp cap structure in intel_dp and uses these to prune connector modes that cannot be supported by the PCON and sink FRL bandwidth. v2: Addressed review comments from Uma Shankar: -tweaked

[Intel-gfx] [PATCH v2 13/13] drm/i915: Configure PCON for DSC1.1 to DSC1.2 encoding

2020-11-01 Thread Ankit Nautiyal
When a source supporting DSC1.1 is connected to DSC1.2 HDMI2.1 sink via DP HDMI2.1 PCON, the PCON can be configured to decode the DSC1.1 compressed stream and encode to DSC1.2. It then sends the DSC1.2 compressed stream to the HDMI2.1 sink. This patch configures the PCON for DSC1.1 to DSC1.2 encod

[Intel-gfx] [PATCH v2 08/13] drm/i915: Add support for starting FRL training for HDMI2.1 via PCON

2020-11-01 Thread Ankit Nautiyal
This patch adds functions to start FRL training for an HDMI2.1 sink, connected via a PCON as a DP branch device. This patch also adds a new structure for storing frl training related data, when FRL training is completed. v2: As suggested by Uma Shankar: -renamed couple of variables for better clar

[Intel-gfx] [PATCH v2 06/13] drm/dp_helper: Add support for Configuring DSC for HDMI2.1 Pcon

2020-11-01 Thread Ankit Nautiyal
This patch adds registers for getting DSC encoder capability for a HDMI2.1 PCon. It also addes helper functions to configure DSC between the PCON and HDMI2.1 sink. v2: Corrected offset for DSC encoder bpc and minor changes. Also added helper functions for getting pcon dsc encoder capabilities as s

[Intel-gfx] [PATCH v2 05/13] drm/dp_helper: Add support for link failure detection

2020-11-01 Thread Ankit Nautiyal
From: Swati Sharma There are specific DPCDs defined for detecting link failures between the PCON and HDMI sink and check the link status. In case of link failure, PCON will communicate the same using an IRQ_HPD to source. HDMI sink would have indicated the same to PCON using SCDC interrupt mechan

[Intel-gfx] [PATCH v2 12/13] drm/i915: Add helper functions for calculating DSC parameters for HDMI2.1

2020-11-01 Thread Ankit Nautiyal
The DP-HDMI2.1 PCON spec provides way for a source to set PPS parameters: slice height, slice width and bits_per_pixel, based on the HDMI2.1 sink capabilities. The DSC encoder of the PCON will respect these parameters, while preparing the 128 byte PPS. This patch adds helper functions to calculate

[Intel-gfx] [PATCH v2 10/13] drm/i915: Add support for enabling link status and recovery

2020-11-01 Thread Ankit Nautiyal
From: Swati Sharma In this patch enables support for detecting link failures between PCON and HDMI sink in i915 driver. HDMI link loss indication to upstream DP source is indicated via IRQ_HPD. This is followed by reading of HDMI link configuration status (HDMI_TX_LINK_ACTIVE_STATUS). If the PCON

[Intel-gfx] [PATCH v2 04/13] drm/dp_helper: Add Helpers for FRL Link Training support for DP-HDMI2.1 PCON

2020-11-01 Thread Ankit Nautiyal
This patch adds support for configuring a PCON device, connected as a DP branched device to enable FRL Link training with a HDMI2.1 + sink. v2: Fixed typos and addressed other review comments from Uma Shankar. -changed the commit message for better clarity (Uma Shankar) -removed unnecessary argume

[Intel-gfx] [PATCH v2 09/13] drm/i915: Check for FRL training before DP Link training

2020-11-01 Thread Ankit Nautiyal
This patch calls functions to check FRL training requirements for an HDMI2.1 sink, when connected through PCON. The call is made before the DP link training. In case FRL is not required or failure during FRL training, the TMDS mode is selected for the pcon. v2: moved check_frl_training() just afte

[Intel-gfx] [PATCH v2 11/13] drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoder

2020-11-01 Thread Ankit Nautiyal
This patch adds support to read and store the DSC capabilities of the HDMI2.1 PCon encoder. It also adds a new field to store these caps, The caps are read during dfp update and can later be used to get the PPS parameters for PCON-HDMI2.1 sink pair. Which inturn will be used to take a call to overr

[Intel-gfx] [PATCH v2 03/13] drm/edid: Parse DSC1.2 cap fields from HFVSDB block

2020-11-01 Thread Ankit Nautiyal
This patch parses HFVSDB fields for DSC1.2 capabilities of an HDMI2.1 sink. These fields are required by a source to understand the DSC capability of the sink, to set appropriate PPS parameters, before transmitting compressed data stream. v2: Addressed following issues as suggested by Uma Shankar:

[Intel-gfx] [PATCH v2 02/13] drm/edid: Parse MAX_FRL field from HFVSDB block

2020-11-01 Thread Ankit Nautiyal
From: Swati Sharma This patch parses MAX_FRL field to get the MAX rate in Gbps that the HDMI 2.1 panel can support in FRL mode. Source need this field to determine the optimal rate between the source and sink during FRL training. v2: Fixed minor bugs, and removed extra wrapper function (Uma Shan

[Intel-gfx] [PATCH v2 01/13] drm/edid: Add additional HFVSDB fields for HDMI2.1

2020-11-01 Thread Ankit Nautiyal
From: Swati Sharma The HDMI2.1 extends HFVSDB (HDMI Forum Vendor Specific Data block) to have fields related to newly defined methods of FRL (Fixed Rate Link) levels, number of lanes supported, DSC Color bit depth, VRR min/max, FVA (Fast Vactive), ALLM etc. This patch adds the new HFVSDB fields

[Intel-gfx] [PATCH v2 00/13] Add support for DP-HDMI2.1 PCON

2020-11-01 Thread Ankit Nautiyal
This patch series attempts to add support for a DP-HDMI2.1 Protocol Convertor. The VESA spec for the HDMI2.1 PCON are proposed in Errata E5 to DisplayPort_v2.0: https://vesa.org/join-vesamemberships/member-downloads/?action=stamp&fileid=42299 The details are mentioned in DP to HDMI2.1 PCON Enum/Con

Re: [Intel-gfx] [PATCH 3/5] drm/amdgpu: Paper over the drm_driver mangling for virt

2020-11-01 Thread Daniel Vetter
On Sat, Oct 31, 2020 at 2:57 PM Daniel Vetter wrote: > > On Fri, Oct 30, 2020 at 7:47 PM Alex Deucher wrote: > > > > On Fri, Oct 30, 2020 at 6:11 AM Daniel Vetter > > wrote: > > > > > > Prep work to make drm_device->driver const. > > > > > > Signed-off-by: Daniel Vetter > > > Cc: Alex Deucher

Re: [Intel-gfx] [PATCH 3/5] drm/amdgpu: Paper over the drm_driver mangling for virt

2020-11-01 Thread Daniel Vetter
On Sat, Oct 31, 2020 at 6:09 AM Luben Tuikov wrote: > > On 2020-10-30 08:04, Daniel Vetter wrote: > > On Fri, Oct 30, 2020 at 11:41 AM Liu, Monk wrote: > >> > >> [AMD Official Use Only - Internal Distribution Only] > >> > >> What's the purpose of the patch sets > >> > >> e.g.: what bug can those

Re: [Intel-gfx] [RFC 11/13] drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoder

2020-11-01 Thread Nautiyal, Ankit K
On 10/19/2020 5:04 AM, Shankar, Uma wrote: -Original Message- From: Shankar, Uma Sent: Monday, October 19, 2020 5:02 AM To: Nautiyal, Ankit K ; intel- g...@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org; Kulkarni, Vandita ; ville.syrj...@linux.intel.com; Sharma, Swati2 Sub

Re: [Intel-gfx] [RFC 11/13] drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoder

2020-11-01 Thread Nautiyal, Ankit K
On 10/19/2020 5:02 AM, Shankar, Uma wrote: -Original Message- From: Nautiyal, Ankit K Sent: Thursday, October 15, 2020 4:23 PM To: intel-gfx@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; Kulkarni, Vandita ; ville.syrj...@linux.intel.com; Sharma, Swati2 Su

Re: [Intel-gfx] [RFC 10/13] drm/dp_helper: Add support for Configuring DSC for HDMI2.1 Pcon

2020-11-01 Thread Nautiyal, Ankit K
On 10/19/2020 4:49 AM, Shankar, Uma wrote: -Original Message- From: Nautiyal, Ankit K Sent: Thursday, October 15, 2020 4:23 PM To: intel-gfx@lists.freedesktop.org Cc: dri-de...@lists.freedesktop.org; Shankar, Uma ; Kulkarni, Vandita ; ville.syrj...@linux.intel.com; Sharma, Swati2 Su