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

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]; > > -

[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 /

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

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

[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

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... > > > > > > > > -

[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

[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

[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 /

[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

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.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

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

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; > > > -

[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

[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 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 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

[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 ++

[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 ---

[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

[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 ---

[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(-)

[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

[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] [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)

[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

[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] ✗ 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

[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

[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] [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 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 >

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

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

[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]

[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:

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] [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

[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:

[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

[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] ✗ 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

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

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

[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 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

[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

[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

[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

[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] [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 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

[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

[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 ---

[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:

[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

[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

[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] ✓ 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.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] [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

[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:

[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 ---

[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

[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

[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 ++

[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] ✓ 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

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

[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.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] [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(-)

[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

[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.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] ✓ 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

[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

[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 ---

[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)

[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

[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

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 ---

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

2018-12-11 Thread Imre Deak
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 Taylor > > > > In August 2018 the BSPEC changed the ICL port programming sequence to > > closely resemble earlier gen programming sequence. > >

Re: [Intel-gfx] [PULL] gvt-next for 4.21

2018-12-11 Thread Jani Nikula
On Tue, 11 Dec 2018, Zhenyu Wang wrote: > On 2018.12.10 16:41:24 -0800, Rodrigo Vivi wrote: >> >> On Fri, Dec 07, 2018 at 12:36:59PM +0800, Zhenyu Wang wrote: >> > >> > Hi, >> > >> > As I was hoping to possibly merge more new stuff for next kernel e.g >> > CFL support, etc, but seems those're

[Intel-gfx] [PATCH libdrm 6/8] expose timeline signal/export/import interfaces v2

2018-12-11 Thread Chunming Zhou
v2: adapt to new one transfer ioctl Signed-off-by: Chunming Zhou --- amdgpu/amdgpu-symbol-check | 3 ++ amdgpu/amdgpu.h| 51 amdgpu/amdgpu_cs.c | 68 ++ 3 files changed, 122 insertions(+) diff --git

[Intel-gfx] [PATCH libdrm 5/8] add timeline signal/transfer ioctls v2

2018-12-11 Thread Chunming Zhou
v2: use one transfer ioctl Signed-off-by: Chunming Zhou --- xf86drm.c | 33 + xf86drm.h | 6 ++ 2 files changed, 39 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index 9816b3b2..2a089616 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -4278,6 +4278,21 @@

[Intel-gfx] [PATCH libdrm 2/8] addr cs chunk for syncobj timeline

2018-12-11 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- include/drm/amdgpu_drm.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index 1ceec56d..a3c067dd 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -517,6 +517,8 @@ struct

[Intel-gfx] [PATCH 10/10] drm/amdgpu: update version for timeline syncobj support in amdgpu

2018-12-11 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 8de55f7f1a3a..cafafdb1d03f 100644 ---

[Intel-gfx] [PATCH libdrm 1/8] new syncobj extension v3

2018-12-11 Thread Chunming Zhou
v2: drop not implemented IOCTLs and flags v3: add transfer/signal ioctls Signed-off-by: Chunming Zhou Signed-off-by: Christian König --- include/drm/drm.h | 35 +++ 1 file changed, 35 insertions(+) diff --git a/include/drm/drm.h b/include/drm/drm.h index

[Intel-gfx] [PATCH libdrm 3/8] add timeline wait/query ioctl v2

2018-12-11 Thread Chunming Zhou
v2: drop export/import Signed-off-by: Chunming Zhou --- xf86drm.c | 44 xf86drm.h | 6 ++ 2 files changed, 50 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index 71ad54ba..9816b3b2 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -4277,3 +4277,47

[Intel-gfx] [PATCH v3 4/4] drm/i915: Predictive governor to control eu/slice/subslice

2018-12-11 Thread Ankit Navik
From: Praveen Diwakar High resolution timer is used for predictive governor to control eu/slice/subslice based on workloads. Debugfs is provided to enable/disable/update timer configuration V2: * Fix code style. * Move predictive_load_timer into a drm_i915_private structure. * Make

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

2018-12-11 Thread Ankit Navik
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 readings and experiments we have predefined set of optimum configuration for each platform(CHT, KBL). i915_gem_context_set_load_type will select

[Intel-gfx] [PATCH v3 2/4] drm/i915: Update render power clock state configuration for given context

2018-12-11 Thread Ankit Navik
From: Praveen Diwakar This patch will update power clock state register at runtime base on the flag which can set by any governor which computes load and want to update rpcs register. subsequent patches will have a timer based governor which computes pending load/request. V2: * Reuse make_rpcs

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

2018-12-11 Thread Ankit Navik
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-slice configuration dynamically. Its done only once while context is created. While particular graphics application is running, if we

  1   2   >