Re: [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2)

2018-12-11 Thread Saarinen, Jani
Hi, > -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Matt Roper > Sent: keskiviikko 12. joulukuuta 2018 2.05 > To: intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with > [CI,1/2] > d

Re: [Intel-gfx] [PATCH v3 0/4] Dynamic EU configuration of Slice/Subslice/EU.

2018-12-11 Thread Navik, Ankit P
Hi Tvrtko, On Tue, Dec 11, 2018 at 5:18 PM Tvrtko Ursulin wrote: > > > On 11/12/2018 10:14, Ankit Navik wrote: > > drm/i915: Context aware user agnostic EU/Slice/Sub-slice control > > within kernel > > > > Current GPU configuration code for i915 does not allow us to change > > EU/Slice/Sub-sl

Re: [Intel-gfx] [PATCH v3 3/4] drm/i915: set optimum eu/slice/sub-slice configuration based on load type

2018-12-11 Thread Navik, Ankit P
Hi Tvrtko, > On Tue, Dec 11, 2018 at 6:17 PM Tvrtko Ursulin > wrote: > > > On 11/12/2018 10:14, Ankit Navik wrote: > > From: Praveen Diwakar > > > > This patch will select optimum eu/slice/sub-slice configuration based > > on type of load (low, medium, high) as input. > > Based on our readin

Re: [Intel-gfx] [PATCH 01/10] dma-buf: add new dma_fence_chain container v4

2018-12-11 Thread Zhou, David(ChunMing)
Hi Daniel and Chris, Could you take a look on all the patches? Can we get your RB or AB on all patches including igt patch before we submit to drm-misc? We already fix all existing issues, and also add test case in IGT as your required. Btw, the patch set is tested by below tests: a. vulkan

[Intel-gfx] ✓ Fi.CI.IGT: success for Add gamma/degamma LUT validation helpers

2018-12-11 Thread Patchwork
== Series Details == Series: Add gamma/degamma LUT validation helpers URL : https://patchwork.freedesktop.org/series/53929/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11075_full Summary ---

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: correct the pitch check for NV12 framebuffer

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915: correct the pitch check for NV12 framebuffer URL : https://patchwork.freedesktop.org/series/53928/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11074_full Summa

[Intel-gfx] ✓ Fi.CI.IGT: success for Add HDR Metadata Parsing and handling in DRM layer (rev3)

2018-12-11 Thread Patchwork
== Series Details == Series: Add HDR Metadata Parsing and handling in DRM layer (rev3) URL : https://patchwork.freedesktop.org/series/25091/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11073_full Su

[Intel-gfx] [drm-tip:drm-tip 5/10] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1666:30: warning: passing argument 1 of 'drm_atomic_private_obj_init' from incompatible pointer type

2018-12-11 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: f7fe8bac92bfd7ceef37f46fbeb9a6c1bac66125 commit: 2c6557b1fc4d6cc24938a27742ac396be7b55e70 [5/10] Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip config: i386-randconfig-sb0-12120454 (attached as .config) compiler:

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/icl: combo port vswing programming changes per BSPEC (rev4)

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915/icl: combo port vswing programming changes per BSPEC (rev4) URL : https://patchwork.freedesktop.org/series/53340/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11072_full =

[Intel-gfx] ✓ Fi.CI.BAT: success for Add gamma/degamma LUT validation helpers

2018-12-11 Thread Patchwork
== Series Details == Series: Add gamma/degamma LUT validation helpers URL : https://patchwork.freedesktop.org/series/53929/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11075 Summary --- **SUCCESS*

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add gamma/degamma LUT validation helpers

2018-12-11 Thread Patchwork
== Series Details == Series: Add gamma/degamma LUT validation helpers URL : https://patchwork.freedesktop.org/series/53929/ State : warning == Summary == $ dim checkpatch origin/drm-tip 520a78550419 drm: Add color management LUT validation helpers -:69: CHECK:SPACING: spaces preferred around t

[Intel-gfx] [PATCH 2/2] drm/i915: Validate userspace-provided color management LUT's

2018-12-11 Thread Matt Roper
We currently program userspace-provided gamma and degamma LUT's into our hardware without really checking to see whether they satisfy our hardware's rules. We should try to catch tables that are invalid for our hardware early and reject the atomic transaction. All of our platforms that accept a d

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: correct the pitch check for NV12 framebuffer

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915: correct the pitch check for NV12 framebuffer URL : https://patchwork.freedesktop.org/series/53928/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11074 Summary ---

[Intel-gfx] [PATCH 1/2] drm: Add color management LUT validation helpers

2018-12-11 Thread Matt Roper
Some hardware may place additional restrictions on the gamma/degamma curves described by our LUT properties. E.g., that a gamma curve never decreases or that the red/green/blue channels of a LUT's entries must be equal. Let's add a couple helpers that drivers can use to test that a userspace-prov

[Intel-gfx] [PATCH 0/2] Add gamma/degamma LUT validation helpers

2018-12-11 Thread Matt Roper
Some platforms require that gamma or degamma LUT's have certain characteristics in order to be programmed into the hardware. If a userspace-provided LUT violates a platform's hardware requirements, we want to be able to catch this during the atomic check and reject the transaction rather than just

[Intel-gfx] [drm-tip:drm-tip 5/10] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1666:30: error: passing argument 1 of 'drm_atomic_private_obj_init' from incompatible pointer type

2018-12-11 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: f7fe8bac92bfd7ceef37f46fbeb9a6c1bac66125 commit: 2c6557b1fc4d6cc24938a27742ac396be7b55e70 [5/10] Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip config: x86_64-randconfig-s4-12120354 (attached as .config) compiler

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: DFSM pipe disable is valid from gen9 onwards (rev2)

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915: DFSM pipe disable is valid from gen9 onwards (rev2) URL : https://patchwork.freedesktop.org/series/53900/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11070_full

[Intel-gfx] [PATCH v2] drm/i915: correct the pitch check for NV12 framebuffer

2018-12-11 Thread Dongseong Hwang
framebuffer for NV12 requires the pitch to the multiplier of 4, instead of the width. This patch corrects it. For instance, a 480p video, whose width and pitch are 854 and 896 respectively, is excluded for NV12 plane so far. Signed-off-by: Dongseong Hwang Cc: Chandra Konduru Cc: Vidya Srinivas

Re: [Intel-gfx] [PATCH] drm/i915: DFSM pipe disable is valid from gen9 onwards (v2)

2018-12-11 Thread Matt Roper
On Tue, Dec 11, 2018 at 11:25:45AM -0800, Bob Paauwe wrote: > It's not just GEN9 platforms that allow for pipes to be disabled via > the DFSM register, but all later platforms as well. > > v2: drop pointless parentheses (Ville) > > Signed-off-by: Bob Paauwe Reviewed-by: Matt Roper Pushed to d

Re: [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2)

2018-12-11 Thread Matt Roper
The rc6 pass->skip mentioned below doesn't appear to be related to this series, so pushing to dinq. Thanks to Ville for reviewing. I also notice that CI indicates a bunch of pre-existing ICL watermark failures are no longer happening with my series (or the earlier revisions of my series), so it's

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2)

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2) URL : https://patchwork.freedesktop.org/series/53901/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11069_full =

[Intel-gfx] ✓ Fi.CI.BAT: success for Add HDR Metadata Parsing and handling in DRM layer (rev3)

2018-12-11 Thread Patchwork
== Series Details == Series: Add HDR Metadata Parsing and handling in DRM layer (rev3) URL : https://patchwork.freedesktop.org/series/25091/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11073 Summary

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add HDR Metadata Parsing and handling in DRM layer (rev3)

2018-12-11 Thread Patchwork
== Series Details == Series: Add HDR Metadata Parsing and handling in DRM layer (rev3) URL : https://patchwork.freedesktop.org/series/25091/ State : warning == Summary == $ dim checkpatch origin/drm-tip 9feff89ee8cd drm: Add HDR source metadata property 9274c63b5377 drm: Add CEA extended tag b

Re: [Intel-gfx] [PATCH 5/5] drm/i915/debugfs: Print PSR selective update status register values

2018-12-11 Thread Dhinakaran Pandiyan
On Tue, 2018-12-04 at 15:00 -0800, José Roberto de Souza wrote: > The value of this registers will be used to test if PSR2 is doing > selective update and if the number of blocks match with the expected. > > Cc: Rodrigo Vivi > Cc: Dhinakaran Pandiyan > Signed-off-by: José Roberto de Souza > ---

[Intel-gfx] [v3 08/14] drm: Enable HDR infoframe support

2018-12-11 Thread Uma Shankar
Enable Dynamic Range and Mastering Infoframe for HDR content, which is defined in CEA 861.3 spec. The metadata will be computed based on blending policy in userspace compositors and passed as a connector property blob to driver. The same will be sent as infoframe to panel which support HDR. v2: R

[Intel-gfx] [v3 12/14] drm/i915: Enable infoframes on GLK+ for HDR

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä This patch enables infoframes on GLK+ to be used to send HDR metadata to HDMI sink. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 4 drivers/gpu/drm/i915/intel_hdmi.c | 12 +--- 2 files changed, 13 insertions(

[Intel-gfx] [v3 11/14] drm/i915: Add HLG EOTF

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä ADD HLG EOTF to the list of EOTF transfer functions supported. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 4 ++-- include/linux/hdmi.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/

[Intel-gfx] [v3 10/14] drm/i915: [DO NOT MERGE] hack for glk board outputs

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä This is to limit PORT C on GLK to drive only HDMI. Not sure if this is mandatory, this is just to test HDR on GLK HDMI. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_bios.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/

[Intel-gfx] [v3 07/14] drm: Implement HDR source metadata set and get property handling

2018-12-11 Thread Uma Shankar
HDR source metadata set and get property implemented in this patch. The blob data is received from userspace and saved in connector state, the same is returned as blob in get property call to userspace. v2: Rebase and added Ville's POC changes Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_

[Intel-gfx] [v3 13/14] drm/i915:Enabled Modeset when HDR Infoframe changes

2018-12-11 Thread Uma Shankar
This patch enables modeset whenever HDR metadata needs to be updated to sink. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_atomic.c | 15 ++- drivers/gpu/drm/i915/intel_hdmi.c | 4 2 files changed, 18 insertions(+), 1 deletion(-) di

[Intel-gfx] [v3 14/14] drivers/video: Constantify function argument for HDMI infoframe log

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä Function argument for hdmi_drm_infoframe_log is made constant. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/video/hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c index 0937c8c

[Intel-gfx] [v3 09/14] drm/i915: Write HDR infoframe and send to panel

2018-12-11 Thread Uma Shankar
Enable writing of HDR metadata infoframe to panel. The data will be provid by usersapace compositors, based on blending policies and passsed to driver through a blob property. v2: Rebase v3: Fixed a warning message Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_hdmi.c | 27 +

[Intel-gfx] [v3 04/14] drm: Parse Colorimetry data block from EDID

2018-12-11 Thread Uma Shankar
CEA 861.3 spec adds colorimetry data block for HDMI. Parsing the block to get the colorimetry data from panel. v2: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 24 include/drm/drm_connector.h | 2 ++ 2 files changed, 26 insertions(+) diff --git

[Intel-gfx] [v3 03/14] drm: Parse HDR metadata info from EDID

2018-12-11 Thread Uma Shankar
HDR metadata block is introduced in CEA-861.3 spec. Parsing the same to get the panel's HDR metadata. v2: Rebase and added Ville's POC changes to the patch. Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 45 + 1 file changed, 45 insertion

[Intel-gfx] [v3 06/14] drm: Add HDR capability field to plane structure

2018-12-11 Thread Uma Shankar
Hardware may have HDR capability on certain plane engines. Enabling the same in drm plane structure so that this can be communicated to user space. Each drm driver should set this flag to true for planes which support HDR. v2: Rebase Signed-off-by: Uma Shankar --- include/drm/drm_plane.h | 3 +

[Intel-gfx] [v3 02/14] drm: Add CEA extended tag blocks and HDR bitfield macros

2018-12-11 Thread Uma Shankar
Add bit field and macro for extended tag in CEA block. Also, declare macros for HDR metadata block. v2: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c

[Intel-gfx] [v3 01/14] drm: Add HDR source metadata property

2018-12-11 Thread Uma Shankar
This patch adds a blob property to get HDR metadata information from userspace. This will be send as part of AVI Infoframe to panel. v2: Rebase and modified the metadata structure elements as per Ville's POC changes. Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_connector.c | 6 ++ in

[Intel-gfx] [v3 05/14] drm/i915: Attach HDR metadata property to connector

2018-12-11 Thread Uma Shankar
Attach HDR metadata property to connector object. v2: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 07e803a..8a1e5cb 100644 --- a/drivers/

[Intel-gfx] [v3 00/14] Add HDR Metadata Parsing and handling in DRM layer

2018-12-11 Thread Uma Shankar
This patch series enables HDR support in drm. It basically defines HDR metadata structures, property to pass content (after blending) metadata from user space compositors to driver. Dynamic Range and Mastering infoframe creation and sending. ToDo: 1. We need to get the color framework in place fo

Re: [Intel-gfx] [PATCH 7/7] drm/i915/psr: Disable DRRS if enabled when enabling PSR from debugfs

2018-12-11 Thread Dhinakaran Pandiyan
On Mon, 2018-11-12 at 11:17 +0100, Maarten Lankhorst wrote: > Op 09-11-18 om 21:20 schreef José Roberto de Souza: > > If panel supports DRRS and PSR and if driver is loaded without PSR > > enabled, driver will enable DRRS as expected but if PSR is enabled > > by > > debugfs latter it will keep PSR

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/icl: combo port vswing programming changes per BSPEC (rev4)

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915/icl: combo port vswing programming changes per BSPEC (rev4) URL : https://patchwork.freedesktop.org/series/53340/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11072 S

[Intel-gfx] ✓ Fi.CI.IGT: success for Add Colorspace connector property interface (rev5)

2018-12-11 Thread Patchwork
== Series Details == Series: Add Colorspace connector property interface (rev5) URL : https://patchwork.freedesktop.org/series/47132/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11068_full Summary -

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/icl: combo port vswing programming changes per BSPEC (rev4)

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915/icl: combo port vswing programming changes per BSPEC (rev4) URL : https://patchwork.freedesktop.org/series/53340/ State : warning == Summary == $ dim checkpatch origin/drm-tip cc1e8bb822a1 drm/i915/icl: combo port vswing programming changes per BSPEC -:256

[Intel-gfx] [PATCH v4] drm/i915/icl: combo port vswing programming changes per BSPEC

2018-12-11 Thread clinton . a . taylor
From: Clint Taylor In August 2018 the BSPEC changed the ICL port programming sequence to closely resemble earlier gen programming sequence. Restrict combo phy to HBR max rate unless eDP panel is connected to port. v2: remove debug code that Imre found v3: simplify translation table if-else v4: e

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method URL : https://patchwork.freedesktop.org/series/53901/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11067_full

[Intel-gfx] ✗ Fi.CI.BAT: failure for Add HDR Metadata Parsing and handling in DRM layer (rev2)

2018-12-11 Thread Patchwork
== Series Details == Series: Add HDR Metadata Parsing and handling in DRM layer (rev2) URL : https://patchwork.freedesktop.org/series/25091/ State : failure == Summary == CALLscripts/checksyscalls.sh DESCEND objtool CHK include/generated/compile.h CC [M] drivers/gpu/drm/i915/in

[Intel-gfx] [v2 12/14] drm/i915: Enable infoframes on GLK+ for HDR

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä This patch enables infoframes on GLK+ to be used to send HDR metadata to HDMI sink. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 4 drivers/gpu/drm/i915/intel_hdmi.c | 12 +--- 2 files changed, 13 insertions(

[Intel-gfx] [v2 11/14] drm/i915: Add HLG EOTF

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä ADD HLG EOTF to the list of EOTF transfer functions supported. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 4 ++-- include/linux/hdmi.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/

[Intel-gfx] [v2 13/14] drm/i915:Enabled Modeset when HDR Infoframe changes

2018-12-11 Thread Uma Shankar
This patch enables modeset whenever HDR metadata needs to be updated to sink. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_atomic.c | 15 ++- drivers/gpu/drm/i915/intel_hdmi.c | 4 2 files changed, 18 insertions(+), 1 deletion(-) di

[Intel-gfx] [v2 08/14] drm: Enable HDR infoframe support

2018-12-11 Thread Uma Shankar
Enable Dynamic Range and Mastering Infoframe for HDR content, which is defined in CEA 861.3 spec. The metadata will be computed based on blending policy in userspace compositors and passed as a connector property blob to driver. The same will be sent as infoframe to panel which support HDR. v2: R

[Intel-gfx] [v2 10/14] drm/i915: [DO NOT MERGE] hack for glk board outputs

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä This is to limit PORT C on GLK to drive only HDMI. Not sure if this is mandatory, this is just to test HDR on GLK HDMI. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_bios.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/

[Intel-gfx] [v2 14/14] drivers/video: Constantify function argument for HDMI infoframe log

2018-12-11 Thread Uma Shankar
From: Ville Syrjälä Function argument for hdmi_drm_infoframe_log is made constant. Signed-off-by: Ville Syrjälä Signed-off-by: Uma Shankar --- drivers/video/hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c index 0937c8c

[Intel-gfx] [v2 07/14] drm: Implement HDR source metadata set and get property handling

2018-12-11 Thread Uma Shankar
HDR source metadata set and get property implemented in this patch. The blob data is received from userspace and saved in connector state, the same is returned as blob in get property call to userspace. v2: Rebase and added Ville's POC changes Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_

[Intel-gfx] [v2 09/14] drm/i915: Write HDR infoframe and send to panel

2018-12-11 Thread Uma Shankar
Enable writing of HDR metadata infoframe to panel. The data will be provid by usersapace compositors, based on blending policies and passsed to driver through a blob property. v2: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_hdmi.c | 27 +++ 1 file ch

[Intel-gfx] [v2 06/14] drm: Add HDR capability field to plane structure

2018-12-11 Thread Uma Shankar
Hardware may have HDR capability on certain plane engines. Enabling the same in drm plane structure so that this can be communicated to user space. Each drm driver should set this flag to true for planes which support HDR. v2: Rebase Signed-off-by: Uma Shankar --- include/drm/drm_plane.h | 3 +

[Intel-gfx] [v2 04/14] drm: Parse Colorimetry data block from EDID

2018-12-11 Thread Uma Shankar
CEA 861.3 spec adds colorimetry data block for HDMI. Parsing the block to get the colorimetry data from panel. v2: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 24 include/drm/drm_connector.h | 2 ++ 2 files changed, 26 insertions(+) diff --git

[Intel-gfx] [v2 02/14] drm: Add CEA extended tag blocks and HDR bitfield macros

2018-12-11 Thread Uma Shankar
Add bit field and macro for extended tag in CEA block. Also, declare macros for HDR metadata block. v2: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c

[Intel-gfx] [v2 05/14] drm/i915: Attach HDR metadata property to connector

2018-12-11 Thread Uma Shankar
Attach HDR metadata property to connector object. v2: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 07e803a..8a1e5cb 100644 --- a/drivers/

[Intel-gfx] [v2 00/14] Add HDR Metadata Parsing and handling in DRM layer

2018-12-11 Thread Uma Shankar
This patch series enables HDR support in drm. It basically defines HDR metadata structures, property to pass content (after blending) metadata from user space compositors to driver. Dynamic Range and Mastering infoframe creation and sending. ToDo: 1. We need to get the color framework in place

[Intel-gfx] [v2 03/14] drm: Parse HDR metadata info from EDID

2018-12-11 Thread Uma Shankar
HDR metadata block is introduced in CEA-861.3 spec. Parsing the same to get the panel's HDR metadata. v2: Rebase and added Ville's POC changes to the patch. Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_edid.c | 45 + 1 file changed, 45 insertion

[Intel-gfx] [v2 01/14] drm: Add HDR source metadata property

2018-12-11 Thread Uma Shankar
This patch adds a blob property to get HDR metadata information from userspace. This will be send as part of AVI Infoframe to panel. v2: Rebase and modified the metadata structure elements as per Ville's POC changes. Signed-off-by: Uma Shankar --- drivers/gpu/drm/drm_connector.c | 6 ++ in

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: DFSM pipe disable is valid from gen9 onwards (rev2)

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915: DFSM pipe disable is valid from gen9 onwards (rev2) URL : https://patchwork.freedesktop.org/series/53900/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11070 Summary

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: DFSM pipe disable is valid from gen9 onwards

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915: DFSM pipe disable is valid from gen9 onwards URL : https://patchwork.freedesktop.org/series/53900/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11066_full Summa

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2)

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2) URL : https://patchwork.freedesktop.org/series/53901/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11069 ===

[Intel-gfx] [PATCH] drm/i915: DFSM pipe disable is valid from gen9 onwards (v2)

2018-12-11 Thread Bob Paauwe
It's not just GEN9 platforms that allow for pipes to be disabled via the DFSM register, but all later platforms as well. v2: drop pointless parentheses (Ville) Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_device_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2)

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method (rev2) URL : https://patchwork.freedesktop.org/series/53901/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: Don

[Intel-gfx] [CI 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v6)

2018-12-11 Thread Matt Roper
The DDB allocation algorithm currently used by the driver grants each plane a very small minimum allocation of DDB blocks and then divies up all of the remaining blocks based on the percentage of the total data rate that the plane makes up. It turns out that this proportional allocation approach i

Re: [Intel-gfx] [PATCH 2/5] drm/i915: Refactor PSR status debugfs

2018-12-11 Thread Souza, Jose
On Tue, 2018-12-11 at 10:32 -0800, Dhinakaran Pandiyan wrote: > On Tue, 2018-12-11 at 04:44 -0800, Souza, Jose wrote: > > On Mon, 2018-12-10 at 22:51 -0800, Dhinakaran Pandiyan wrote: > > > On Tue, 2018-12-04 at 15:00 -0800, José Roberto de Souza wrote: > > > > The old debugfs fields was not follow

[Intel-gfx] ✓ Fi.CI.BAT: success for Add Colorspace connector property interface (rev5)

2018-12-11 Thread Patchwork
== Series Details == Series: Add Colorspace connector property interface (rev5) URL : https://patchwork.freedesktop.org/series/47132/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11068 Summary ---

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v3,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [v3,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method URL : https://patchwork.freedesktop.org/series/53898/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296_full -> Patchwork_11065_full

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Add Colorspace connector property interface (rev5)

2018-12-11 Thread Patchwork
== Series Details == Series: Add Colorspace connector property interface (rev5) URL : https://patchwork.freedesktop.org/series/47132/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm: Add colorspace connector property Okay! Commit: drm/i915: Attach

Re: [Intel-gfx] [PATCH 2/5] drm/i915: Refactor PSR status debugfs

2018-12-11 Thread Dhinakaran Pandiyan
On Tue, 2018-12-11 at 04:44 -0800, Souza, Jose wrote: > On Mon, 2018-12-10 at 22:51 -0800, Dhinakaran Pandiyan wrote: > > On Tue, 2018-12-04 at 15:00 -0800, José Roberto de Souza wrote: > > > The old debugfs fields was not following a naming partern and it > > > was > > > a bit confusing. > > > >

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add Colorspace connector property interface (rev5)

2018-12-11 Thread Patchwork
== Series Details == Series: Add Colorspace connector property interface (rev5) URL : https://patchwork.freedesktop.org/series/47132/ State : warning == Summary == $ dim checkpatch origin/drm-tip 63b9d3d2f8f9 drm: Add colorspace connector property 48917be04d31 drm/i915: Attach colorspace prope

Re: [Intel-gfx] [PATCH 2/2] drm/i915/psr: Execute the default PSR code path when setting i915_edp_psr_debug

2018-12-11 Thread Souza, Jose
On Tue, 2018-12-04 at 13:23 -0800, Dhinakaran Pandiyan wrote: > On Tue, 2018-12-04 at 10:52 -0800, Souza, Jose wrote: > > On Mon, 2018-12-03 at 18:58 -0800, Dhinakaran Pandiyan wrote: > > > On Mon, 2018-12-03 at 17:54 -0800, Souza, Jose wrote: > > > > On Mon, 2018-12-03 at 17:33 -0800, Dhinakaran P

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method URL : https://patchwork.freedesktop.org/series/53901/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11067 ==

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method URL : https://patchwork.freedesktop.org/series/53901/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: Don't use

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: DFSM pipe disable is valid from gen9 onwards

2018-12-11 Thread Patchwork
== Series Details == Series: drm/i915: DFSM pipe disable is valid from gen9 onwards URL : https://patchwork.freedesktop.org/series/53900/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11066 Summary ---

[Intel-gfx] [v5 2/2] drm/i915: Attach colorspace property and enable modeset

2018-12-11 Thread Uma Shankar
This patch attaches the colorspace connector property to the hdmi connector. Based on colorspace change, modeset will be triggered to switch to new colorspace. Based on colorspace property value create an infoframe with appropriate colorspace. This can be used to send an infoframe packet with prop

[Intel-gfx] [v5 0/2] Add Colorspace connector property interface

2018-12-11 Thread Uma Shankar
This patch series creates a new connector property to program colorspace to sink devices. Modern sink devices support more than 1 type of colorspace like 601, 709, BT2020 etc. This helps to switch based on content type which is to be displayed. The decision lies with compositors as to in which scen

[Intel-gfx] [v5 1/2] drm: Add colorspace connector property

2018-12-11 Thread Uma Shankar
This patch adds a colorspace connector property, enabling userspace to switch to various supported colorspaces. This will help enable BT2020 along with other colorspaces. v2: Addressed Maarten and Ville's review comments. Enhanced the colorspace enum to incorporate both HDMI and DP supported color

Re: [Intel-gfx] [PATCH] drm/i915: DFSM pipe disable is valid from gen9 onwards

2018-12-11 Thread Ville Syrjälä
On Tue, Dec 11, 2018 at 09:30:43AM -0800, Bob Paauwe wrote: > It's not just GEN9 platforms that allow for pipes to be disabled via > the DFSM register, but all later platforms as well. > > Signed-off-by: Bob Paauwe > --- > drivers/gpu/drm/i915/intel_device_info.c | 2 +- > 1 file changed, 1 inse

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v3,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [v3,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method URL : https://patchwork.freedesktop.org/series/53898/ State : success == Summary == CI Bug Log - changes from CI_DRM_5296 -> Patchwork_11065 ==

[Intel-gfx] [CI 1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Matt Roper
The bspec gives an if/else chain for choosing whether to use "method 1" or "method 2" for calculating the watermark "Selected Result Blocks" value for a plane. One of the branches of the if chain is: "Else If ('plane buffer allocation' is known and (plane buffer allocation / plane

[Intel-gfx] [CI 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v5)

2018-12-11 Thread Matt Roper
The DDB allocation algorithm currently used by the driver grants each plane a very small minimum allocation of DDB blocks and then divies up all of the remaining blocks based on the percentage of the total data rate that the plane makes up. It turns out that this proportional allocation approach i

[Intel-gfx] [PATCH] drm/i915: DFSM pipe disable is valid from gen9 onwards

2018-12-11 Thread Bob Paauwe
It's not just GEN9 platforms that allow for pipes to be disabled via the DFSM register, but all later platforms as well. Signed-off-by: Bob Paauwe --- drivers/gpu/drm/i915/intel_device_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_device_in

Re: [Intel-gfx] [PATCH v3 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v4)

2018-12-11 Thread Ville Syrjälä
On Tue, Dec 11, 2018 at 09:03:46AM -0800, Matt Roper wrote: > The DDB allocation algorithm currently used by the driver grants each > plane a very small minimum allocation of DDB blocks and then divies up > all of the remaining blocks based on the percentage of the total data > rate that the plane

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [v3,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Patchwork
== Series Details == Series: series starting with [v3,1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method URL : https://patchwork.freedesktop.org/series/53898/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: Don't use

[Intel-gfx] [PATCH v3 1/2] drm/i915: Don't use DDB allocation when choosing gen9 watermark method

2018-12-11 Thread Matt Roper
The bspec gives an if/else chain for choosing whether to use "method 1" or "method 2" for calculating the watermark "Selected Result Blocks" value for a plane. One of the branches of the if chain is: "Else If ('plane buffer allocation' is known and (plane buffer allocation / plane

[Intel-gfx] [PATCH v3 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v4)

2018-12-11 Thread Matt Roper
The DDB allocation algorithm currently used by the driver grants each plane a very small minimum allocation of DDB blocks and then divies up all of the remaining blocks based on the percentage of the total data rate that the plane makes up. It turns out that this proportional allocation approach i

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v3)

2018-12-11 Thread Ville Syrjälä
On Tue, Dec 11, 2018 at 06:21:29PM +0200, Ville Syrjälä wrote: > On Tue, Dec 11, 2018 at 08:11:16AM -0800, Matt Roper wrote: > > On Tue, Dec 11, 2018 at 05:59:56PM +0200, Ville Syrjälä wrote: > > > On Mon, Dec 10, 2018 at 05:05:43PM -0800, Matt Roper wrote: > > ...snip... > > > > > > > > -

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v3)

2018-12-11 Thread Ville Syrjälä
On Tue, Dec 11, 2018 at 08:11:16AM -0800, Matt Roper wrote: > On Tue, Dec 11, 2018 at 05:59:56PM +0200, Ville Syrjälä wrote: > > On Mon, Dec 10, 2018 at 05:05:43PM -0800, Matt Roper wrote: > ...snip... > > > > > > - alloc_size -= total_min_blocks; > > > - cstate->wm.skl.plane_ddb_y[PLANE_CURSOR].

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v3)

2018-12-11 Thread Matt Roper
On Tue, Dec 11, 2018 at 05:59:56PM +0200, Ville Syrjälä wrote: > On Mon, Dec 10, 2018 at 05:05:43PM -0800, Matt Roper wrote: ...snip... > > > > - alloc_size -= total_min_blocks; > > - cstate->wm.skl.plane_ddb_y[PLANE_CURSOR].start = alloc->end - > > minimum[PLANE_CURSOR]; > > - cstate->wm.

Re: [Intel-gfx] [PATCH v2 2/2] drm/i915: Switch to level-based DDB allocation algorithm (v3)

2018-12-11 Thread Ville Syrjälä
On Mon, Dec 10, 2018 at 05:05:43PM -0800, Matt Roper wrote: > The DDB allocation algorithm currently used by the driver grants each > plane a very small minimum allocation of DDB blocks and then divies up > all of the remaining blocks based on the percentage of the total data > rate that the plane

Re: [Intel-gfx] [PATCH 4/7] drm: Move the legacy kms disable_all helper to crtc helpers

2018-12-11 Thread Alex Deucher
On Tue, Dec 11, 2018 at 10:53 AM Sean Paul wrote: > > On Mon, Dec 10, 2018 at 10:58:20AM -0500, Alex Deucher wrote: > > On Mon, Dec 10, 2018 at 5:04 AM Daniel Vetter > > wrote: > > > > > > It's not a core function, and the matching atomic functions are also > > > not in the core. Plus the suspen

Re: [Intel-gfx] [PATCH 4/7] drm: Move the legacy kms disable_all helper to crtc helpers

2018-12-11 Thread Sean Paul
On Mon, Dec 10, 2018 at 10:58:20AM -0500, Alex Deucher wrote: > On Mon, Dec 10, 2018 at 5:04 AM Daniel Vetter wrote: > > > > It's not a core function, and the matching atomic functions are also > > not in the core. Plus the suspend/resume helper is also already there. > > > > Needs a tiny bit of o

Re: [Intel-gfx] linux-firmware PR for BXT HUC

2018-12-11 Thread Srivatsa, Anusha
Hi, Can these changes be merged from branch BXT_HUC to linux_fir,ware.git? Anusha From: Srivatsa, Anusha Sent: Friday, December 7, 2018 2:14 PM To: jwbo...@kernel.org; k...@kernel.org; b...@decadent.org.uk Cc: intel-gfx@lists.freedesktop.org; Vivi, Rodrigo Subject: linux-firmware PR for BXT HUC

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915: merge gen checks to use range

2018-12-11 Thread Jani Nikula
On Wed, 05 Dec 2018, Lucas De Marchi wrote: > Instead of using IS_GEN() for consecutive gen checks, let's pass the > range to IS_GEN_RANGE(). By code inspection these were the ranges deemed > necessary for spatch: > > @@ > expression e; > @@ > ( > - IS_GEN(e, 3) || IS_GEN(e, 2) > + IS_GEN_RANGE(e,

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

2018-12-11 Thread Jani Nikula
On Wed, 05 Dec 2018, Lucas De Marchi wrote: > Define IS_GEN() similarly to our IS_GEN_RANGE(). but use gen instead of > gen_mask to do the comparison. Now callers can pass then gen as a parameter, > so we don't require one macro for each gen. > > The following spatch was used to convert the users

Re: [Intel-gfx] [PATCH v3] /drm/i915/hdmi: SCDC Scrambling enable without CTS mode

2018-12-11 Thread Ville Syrjälä
On Mon, Dec 10, 2018 at 02:52:54PM -0800, clinton.a.tay...@intel.com wrote: > From: Clint Taylor > > Setting the SCDC scrambling CTS mode causes HDMI Link Layer protocol tests > HF1-12 and HF1-13 to fail. > > V2: Removed "Source Shall" entries to a new patch > V3: Rebase to drm-tip > Cc: Ville S

Re: [Intel-gfx] [PATCH v3] drm/i915/icl: combo port vswing programming changes per BSPEC

2018-12-11 Thread Imre Deak
On Tue, Dec 11, 2018 at 04:18:47PM +0200, Ville Syrjälä wrote: > On Tue, Dec 11, 2018 at 11:40:43AM +0200, Imre Deak wrote: > > On Wed, Dec 05, 2018 at 06:32:22PM +0200, Imre Deak wrote: > > > On Tue, Dec 04, 2018 at 03:41:09PM -0800, clinton.a.tay...@intel.com > > > wrote: > > > > From: Clint Tay

  1   2   >