[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Unify GT* and GT3 definitions (rev3)

2017-06-07 Thread Patchwork
== Series Details == Series: drm/i915: Unify GT* and GT3 definitions (rev3) URL : https://patchwork.freedesktop.org/series/25299/ State : success == Summary == Series 25299v3 drm/i915: Unify GT* and GT3 definitions https://patchwork.freedesktop.org/api/1.0/series/25299/revisions/3/mbox/ Test

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Remove unecessary PORT3 definition. (rev2)

2017-06-07 Thread Patchwork
== Series Details == Series: drm/i915: Remove unecessary PORT3 definition. (rev2) URL : https://patchwork.freedesktop.org/series/25313/ State : success == Summary == Series 25313v2 drm/i915: Remove unecessary PORT3 definition. https://patchwork.freedesktop.org/api/1.0/series/25313/revisions/2/

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/5] drm/i915/cfl: Introduce Coffee Lake platform definition.

2017-06-07 Thread Patchwork
== Series Details == Series: series starting with [1/5] drm/i915/cfl: Introduce Coffee Lake platform definition. URL : https://patchwork.freedesktop.org/series/25352/ State : success == Summary == Series 25352v1 Series without cover letter https://patchwork.freedesktop.org/api/1.0/series/2535

[Intel-gfx] [PATCH v7 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-06-07 Thread Xiaoguang Chen
Here we defined a new ioctl to create a fd for a vfio device based on the input type. Now only one type is supported that is a dma-buf management fd. Two ioctls are defined for the dma-buf management fd: query the vfio vgpu's plane information and create a dma-buf for a plane. Signed-off-by: Xiaog

[Intel-gfx] [PATCH v7 0/6] drm/i915/gvt: Dma-buf support for GVT-g

2017-06-07 Thread Xiaoguang Chen
v6->v7: 1) release dma-buf related allocations in dma-buf's associated release function. 2) refine ioctl interface for querying plane info or create dma-buf 3) refine framebuffer decoder code 4) the patch series is based on 4.12.0-rc1 v5->v6: 1) align the dma-buf life cycle with the vfio device. 2

[Intel-gfx] [PATCH v7 1/6] drm/i915/gvt: Extend the GVT-g architecture to support vfio device region

2017-06-07 Thread Xiaoguang Chen
Signed-off-by: Xiaoguang Chen --- drivers/gpu/drm/i915/gvt/kvmgt.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/kvmgt.c b/drivers/gpu/drm/i915/gvt/kvmgt.c index 1ae0b40..3c6a02b 100644 --- a/drivers/gpu/drm/i915/gvt/kvmgt.c ++

[Intel-gfx] [PATCH v7 3/6] drm/i915/gvt: Frame buffer decoder support for GVT-g

2017-06-07 Thread Xiaoguang Chen
decode frambuffer attributes of primary, cursor and sprite plane Signed-off-by: Xiaoguang Chen --- drivers/gpu/drm/i915/gvt/Makefile | 3 +- drivers/gpu/drm/i915/gvt/display.c| 2 +- drivers/gpu/drm/i915/gvt/display.h| 2 + drivers/gpu/drm/i915/gvt/fb_decoder.c | 439 ++

[Intel-gfx] [PATCH v7 5/6] drm/i915/gvt: Dmabuf support for GVT-g

2017-06-07 Thread Xiaoguang Chen
dmabuf for GVT-g can be exported to users who can use the dmabuf to show the desktop of vm which use intel vgpu. Currently we provide query and create new dmabuf operations. Users of dmabuf can cache some created dmabufs and related information such as the framebuffer's address, size, tiling mode

[Intel-gfx] [PATCH v7 6/6] drm/i915/gvt: Adding user interface for dma-buf

2017-06-07 Thread Xiaoguang Chen
User space should create the management fd for the dma-buf operation first. Then user can query the plane information and create dma-buf if necessary using the management fd. Signed-off-by: Xiaoguang Chen --- drivers/gpu/drm/i915/gvt/dmabuf.c| 37 - drivers/gpu/drm/i915/gvt/dmabuf.h

[Intel-gfx] [PATCH v7 2/6] drm/i915/gvt: OpRegion support for GVT-g

2017-06-07 Thread Xiaoguang Chen
OpRegion is needed to support display related operation for intel vgpu. A vfio device region is added to intel vgpu to deliver the host OpRegion information to user space so user space can construct the OpRegion for vgpu. Signed-off-by: Bing Niu Signed-off-by: Xiaoguang Chen --- drivers/gpu/dr

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [01/11] drm/i915/cnl: Introduce Cannonlake platform defition.

2017-06-07 Thread Patchwork
== Series Details == Series: series starting with [01/11] drm/i915/cnl: Introduce Cannonlake platform defition. URL : https://patchwork.freedesktop.org/series/25355/ State : success == Summary == Series 25355v1 Series without cover letter https://patchwork.freedesktop.org/api/1.0/series/25355

Re: [Intel-gfx] [PATCH i-g-t] tests/kms_pipe_crc_basic: Reset GPU before running subtests

2017-06-07 Thread Mika Kahola
On Tue, 2017-06-06 at 14:23 +0100, Chris Wilson wrote: > Quoting Mika Kahola (2017-06-06 13:33:14) > > > > On Tue, 2017-06-06 at 15:27 +0300, Ville Syrjälä wrote: > > > > > > On Tue, Jun 06, 2017 at 03:20:46PM +0300, Mika Kahola wrote: > > > > > > > > > > > > It has been noticed by our CI BAT t

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.

2017-06-07 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku. URL : https://patchwork.freedesktop.org/series/25364/ State : failure == Summary == CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK inclu

[Intel-gfx] ✗ Fi.CI.BAT: failure for Adding NV12 support for SKL display

2017-06-07 Thread Patchwork
== Series Details == Series: Adding NV12 support for SKL display URL : https://patchwork.freedesktop.org/series/25377/ State : failure == Summary == CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK inclu

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/gvt: dma-buf support for GVT-g (rev7)

2017-06-07 Thread Patchwork
== Series Details == Series: drm/i915/gvt: dma-buf support for GVT-g (rev7) URL : https://patchwork.freedesktop.org/series/23686/ State : failure == Summary == CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CH

Re: [Intel-gfx] [PATCH] drm/i915/bxt: Enable VBT based BL control for DP

2017-06-07 Thread Jani Nikula
On Tue, 06 Jun 2017, Imre Deak wrote: > On Tue, Jun 06, 2017 at 05:58:43PM +0300, Bloomfield, Jon wrote: >> > -Original Message- >> > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf >> > Of Imre Deak >> > Sent: Tuesday, June 6, 2017 5:34 AM >> > To: Jani Nikula

Re: [Intel-gfx] [PATCH v7 3/6] drm/i915/gvt: Frame buffer decoder support for GVT-g

2017-06-07 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Xiaoguang Chen > Sent: Wednesday, June 7, 2017 3:45 PM > To: alex.william...@redhat.com; kra...@redhat.com; ch...@chris-wilson.co.uk; > intel-gfx@lists.freedesktop.org; linux-ker

[Intel-gfx] [PATCH] drm/i915/bxt: Enable VBT based BL control for DP (v2)

2017-06-07 Thread Mustamin B Mustaffa
Currently, BXT_PP is hardcoded with value '0'. It practically disabled eDP backlight on MRB (BXT) platform. This patch will tell which BXT_PP registers (there are two set of PP_CONTROL in the spec) to be used as defined in VBT (Video Bios Timing table) and this will enabled eDP backlight controll

Re: [Intel-gfx] [PATCH] drm/i915: Fix GVT-g PVINFO version compatibility check

2017-06-07 Thread Zhenyu Wang
On 2017.06.05 16:40:09 +0300, Joonas Lahtinen wrote: > > On ma, 2017-06-05 at 11:00 +0800, Zhenyu Wang wrote: > > Current it's strictly checked if PVINFO version matches 1.0 > > for GVT-g i915 guest which doesn't help for compatibility at > > all and forces GVT-g host can't extend PVINFO easily wi

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/bxt: Enable VBT based BL control for DP (rev3)

2017-06-07 Thread Patchwork
== Series Details == Series: drm/i915/bxt: Enable VBT based BL control for DP (rev3) URL : https://patchwork.freedesktop.org/series/25323/ State : failure == Summary == Series 25323v3 drm/i915/bxt: Enable VBT based BL control for DP https://patchwork.freedesktop.org/api/1.0/series/25323/revisi

Re: [Intel-gfx] [PATCH v4] drm/i915: Enable guest i915 full ppgtt functionality

2017-06-07 Thread Zhenyu Wang
On 2017.06.05 14:55:41 +0800, Tina Zhang wrote: > Enable the guest i915 full ppgtt functionality when host can provide this > capability. vgt_caps is introduced to guest i915 driver to get the vgpu > capabilities from the device model. VGT_CPAS_FULL_PPGTT is one of the > capabilities type to let gu

Re: [Intel-gfx] [PATCH v3 1/5] acpi, nfit: Switch to use new generic UUID API

2017-06-07 Thread Andy Shevchenko
On Wed, 2017-06-07 at 06:25 +, Williams, Dan J wrote: > On Mon, 2017-06-05 at 23:22 +0200, Christoph Hellwig wrote: > > On Mon, Jun 05, 2017 at 08:10:42PM +0300, Andy Shevchenko wrote: > > > > > > I hope Christoph can replace old version of this series with new > > > one in > > > his uuid bran

[Intel-gfx] [PATCH] [RFC] drm/i915/skl+: enable PF_ID interlace mode in SKL

2017-06-07 Thread Mahesh Kumar
In previous GEN default Interlace mode enabled is IF-ID mode, but IF-ID mode has many limitations in SKL. This mode doesn't support y-tiling, 90-270 rotation is not supported & YUV-420 planar source pixel formats are not supported with above mode. This patch make changes to use PF-ID Interlace mod

Re: [Intel-gfx] [PATCH v3 1/5] acpi, nfit: Switch to use new generic UUID API

2017-06-07 Thread h...@lst.de
On Wed, Jun 07, 2017 at 12:37:51PM +0300, Andy Shevchenko wrote: > It think we may fold it. Yes, I'll fold it and delcare the tree stable late tonight my time. > Besides that we might need the following fix as well. Yeah. Another reasone why buffer.pointer should be a void pointer.

Re: [Intel-gfx] [PATCH v3 1/5] acpi, nfit: Switch to use new generic UUID API

2017-06-07 Thread h...@lst.de
On Wed, Jun 07, 2017 at 06:25:46AM +, Williams, Dan J wrote: > With one compile fix below the 'acpi' branch works for me. Please feel > free to add: The mail seems to contain garbage that can't be applied, but I just applied the changes manually. ___

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Remove the spin-request during execbuf await_request

2017-06-07 Thread Tvrtko Ursulin
On 05/06/2017 11:26, Chris Wilson wrote: Originally we would enable and disable the breadcrumb interrupt immediately on demand. This was slow enough to have a large impact (>30%) on tasks that hopped between engines. However, by using a shadow to keep the irq alive for an extra interrupt (see co

Re: [Intel-gfx] [PATCH i-g-t] tests/kms_pipe_crc_basic: Reset GPU before running subtests

2017-06-07 Thread Chris Wilson
Quoting Mika Kahola (2017-06-07 09:00:10) > On Tue, 2017-06-06 at 14:23 +0100, Chris Wilson wrote: > > Quoting Mika Kahola (2017-06-06 13:33:14) > > > > > > On Tue, 2017-06-06 at 15:27 +0300, Ville Syrjälä wrote: > > > > > > > > On Tue, Jun 06, 2017 at 03:20:46PM +0300, Mika Kahola wrote: > > > >

[Intel-gfx] [PATCH 0/8] Adding NV12 support for SKL display

2017-06-07 Thread Vidya Srinivas
This patch series is adding NV12 support for Skylake display after rebasing on latest drm-intel-nightly. Initial series of the patches can be found here: https://lists.freedesktop.org/archives/intel-gfx/2015-May/066786.html Feature has been currently tested with custom linux based test tool IGT te

[Intel-gfx] [PATCH 3/8] drm/i915: Set scaler mode for NV12

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch sets appropriate scaler mode for NV12 format. In this mode, skylake scaler does either chroma-upsampling or chroma-upsampling and resolution scaling Link: https://patchwork.kernel.org/patch/6426161/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Si

[Intel-gfx] [PATCH 6/8] drm/i915: Add NV12 as supported format for primary plane

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 to list of supported formats for primary plane v2: Rebased (Chandra Konduru) v3: Rebased (me) Link: https://patchwork.kernel.org/patch/6426201/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed-off-by: Vidya Srinivas --- drivers/g

[Intel-gfx] [PATCH 2/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Vidya Srinivas
From: Ville Syrjälä SKL+ display engine can scan out certain kinds of compressed surfaces produced by the render engine. This involved telling the display engine the location of the color control surfae (CCS) which describes which parts of the main surface are compressed and which are not. The lo

[Intel-gfx] [PATCH 1/8] drm/i915: Add render decompression support

2017-06-07 Thread Vidya Srinivas
From: Ville Syrjälä SKL+ display engine can scan out certain kinds of compressed surfaces produced by the render engine. This involved telling the display engine the location of the color control surfae (CCS) which describes which parts of the main surface are compressed and which are not. The lo

[Intel-gfx] [PATCH 5/8] drm/i915: Upscale scaler max scale for NV12

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch updates scaler max limit support for NV12 Link: https://patchwork.kernel.org/patch/6426191/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/intel_display.c | 26 ++ dri

[Intel-gfx] [PATCH 8/8] drm/i915: Add NV12 support to intel_framebuffer_init

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 as supported format to intel_framebuffer_init and performs various checks. v2: -Fix an issue in checks added (Chandra Konduru) v3: rebased (me) Link: https://patchwork.kernel.org/patch/6426221/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Ma

[Intel-gfx] [PATCH 4/8] drm/i915: Update format_is_yuv() to include NV12

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 to format_is_yuv() function and made it available for both primary and sprite planes v2: -Use intel_ prefix for format_is_yuv (Ville) Link: https://patchwork.kernel.org/patch/6426181/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed

[Intel-gfx] [PATCH igt] Revert "kms_cursor_legacy: Add a burner thread to make basic-busy-* pass."

2017-06-07 Thread Chris Wilson
This reverts commit 7c8703fb02b248c2bcf9756bba8812bcfe7ed5d3. If we expect it to fail until we find a solution, let the hw fail and continue to track the known failure in CI/bugs. Cc: Martin Peres --- tests/kms_cursor_legacy.c | 18 +- 1 file changed, 1 insertion(+), 17 deletion

[Intel-gfx] [PATCH 7/8] drm/i915: Add NV12 as supported format for sprite plane

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 to list of supported formats for sprite plane. v2: Rebased (me) Link: https://patchwork.kernel.org/patch/6426211/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/intel_sprite.c | 24

Re: [Intel-gfx] [PATCH 2/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Daniel Stone
Hi Vidya, I guess you didn't see my submission of this series a couple of weeks ago, which included some fixes. On 7 June 2017 at 11:41, Vidya Srinivas wrote: > Link: https://patchwork.kernel.org/patch/9637253/ The Patchwork link can be dropped when submitting by mail. > +static const struct dr

Re: [Intel-gfx] [PATCH i-g-t] tests/kms_pipe_crc_basic: Reset GPU before running subtests

2017-06-07 Thread Mika Kahola
On Wed, 2017-06-07 at 11:24 +0100, Chris Wilson wrote: > Quoting Mika Kahola (2017-06-07 09:00:10) > > > > On Tue, 2017-06-06 at 14:23 +0100, Chris Wilson wrote: > > > > > > Quoting Mika Kahola (2017-06-06 13:33:14) > > > > > > > > > > > > On Tue, 2017-06-06 at 15:27 +0300, Ville Syrjälä wrote:

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/skl+: enable PF_ID interlace mode in SKL

2017-06-07 Thread Patchwork
== Series Details == Series: drm/i915/skl+: enable PF_ID interlace mode in SKL URL : https://patchwork.freedesktop.org/series/25397/ State : success == Summary == Series 25397v1 drm/i915/skl+: enable PF_ID interlace mode in SKL https://patchwork.freedesktop.org/api/1.0/series/25397/revisions/1

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Add render decompression support

2017-06-07 Thread Daniel Stone
Hi Vidya, On 7 June 2017 at 11:41, Vidya Srinivas wrote: > + case I915_FORMAT_MOD_Y_TILED_CCS: > + if (plane == 1) > + return 128; > + /* fall through */ > case I915_FORMAT_MOD_Y_TILED: > if (IS_GEN2(dev_priv) || HAS_

Re: [Intel-gfx] [PATCH 28/67] drm/i915/cnl: Implement .get_display_clock_speed() for CNL

2017-06-07 Thread Ville Syrjälä
On Tue, Jun 06, 2017 at 02:56:23PM -0700, Rodrigo Vivi wrote: > When addressing Imre's comments I noticed: > > error: ‘cnl_set_cdclk’ defined but not used [-Werror=unused-function] > static void cnl_set_cdclk(struct drm_i915_private *dev_priv, > ^ > cc1: all warnings being treated as

Re: [Intel-gfx] [PATCH igt] Revert "kms_cursor_legacy: Add a burner thread to make basic-busy-* pass."

2017-06-07 Thread Martin Peres
On 07/06/17 13:34, Chris Wilson wrote: This reverts commit 7c8703fb02b248c2bcf9756bba8812bcfe7ed5d3. If we expect it to fail until we find a solution, let the hw fail and continue to track the known failure in CI/bugs. Cc: Martin Peres I agree, the kernel/HW is broken. However, this fix is

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/bxt: Enable VBT based BL control for DP (rev3)

2017-06-07 Thread Patchwork
== Series Details == Series: drm/i915/bxt: Enable VBT based BL control for DP (rev3) URL : https://patchwork.freedesktop.org/series/25323/ State : success == Summary == Series 25323v3 drm/i915/bxt: Enable VBT based BL control for DP https://patchwork.freedesktop.org/api/1.0/series/25323/revisi

Re: [Intel-gfx] [PATCH 28/67] drm/i915/cnl: Implement .get_display_clock_speed() for CNL

2017-06-07 Thread Ville Syrjälä
On Wed, Jun 07, 2017 at 01:59:05PM +0300, Ville Syrjälä wrote: > On Tue, Jun 06, 2017 at 02:56:23PM -0700, Rodrigo Vivi wrote: > > When addressing Imre's comments I noticed: > > > > error: ‘cnl_set_cdclk’ defined but not used [-Werror=unused-function] > > static void cnl_set_cdclk(struct drm_i915_

Re: [Intel-gfx] [PATCH igt] lib/kms: Force a full reprobe if we find a bad link

2017-06-07 Thread Martin Peres
On 31/05/17 17:45, Martin Peres wrote: On 31/05/17 16:55, Chris Wilson wrote: On Wed, May 31, 2017 at 04:44:41PM +0300, Martin Peres wrote: On 31/05/17 15:42, Chris Wilson wrote: On Wed, May 31, 2017 at 01:40:00PM +0300, Martin Peres wrote: On 26/05/17 14:48, Chris Wilson wrote: If we do a sh

Re: [Intel-gfx] [PATCH igt] lib/kms: Force a full reprobe if we find a bad link

2017-06-07 Thread Chris Wilson
Quoting Martin Peres (2017-06-07 12:13:24) > How about this: When the modeset call fails, check if the link-status is > BAD. If not, return a FAIL. If so, force a full re-probe, pick the > highest available mode and try again. Do this until a mode applies. If > no modes are left, just SKIP the t

[Intel-gfx] [PATCH 5/8] drm/i915: Upscale scaler max scale for NV12

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch updates scaler max limit support for NV12 Link: https://patchwork.kernel.org/patch/6426191/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/intel_display.c | 26 ++ dri

[Intel-gfx] [PATCH 2/8] drm/i915: Add render decompression support

2017-06-07 Thread Vidya Srinivas
From: Ville Syrjälä SKL+ display engine can scan out certain kinds of compressed surfaces produced by the render engine. This involved telling the display engine the location of the color control surfae (CCS) which describes which parts of the main surface are compressed and which are not. The lo

[Intel-gfx] [PATCH 0/8] Adding NV12 support for SKL display

2017-06-07 Thread Vidya Srinivas
This patch series is adding NV12 support for Skylake display after rebasing on latest drm-intel-nightly. Initial series of the patches can be found here: https://lists.freedesktop.org/archives/intel-gfx/2015-May/066786.html Feature has been currently tested with custom linux based test tool IGT te

[Intel-gfx] [PATCH 3/8] drm/i915: Set scaler mode for NV12

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch sets appropriate scaler mode for NV12 format. In this mode, skylake scaler does either chroma-upsampling or chroma-upsampling and resolution scaling Link: https://patchwork.kernel.org/patch/6426161/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Si

[Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Vidya Srinivas
From: Ville Syrjälä SKL+ display engine can scan out certain kinds of compressed surfaces produced by the render engine. This involved telling the display engine the location of the color control surfae (CCS) which describes which parts of the main surface are compressed and which are not. The lo

[Intel-gfx] [PATCH 6/8] drm/i915: Add NV12 as supported format for primary plane

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 to list of supported formats for primary plane v2: Rebased (Chandra Konduru) v3: Rebased (me) Link: https://patchwork.kernel.org/patch/6426201/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed-off-by: Vidya Srinivas --- drivers/g

[Intel-gfx] [PATCH 4/8] drm/i915: Update format_is_yuv() to include NV12

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 to format_is_yuv() function and made it available for both primary and sprite planes v2: -Use intel_ prefix for format_is_yuv (Ville) Link: https://patchwork.kernel.org/patch/6426181/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed

[Intel-gfx] [PATCH 7/8] drm/i915: Add NV12 as supported format for sprite plane

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 to list of supported formats for sprite plane. v2: Rebased (me) Link: https://patchwork.kernel.org/patch/6426211/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Maiti Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/intel_sprite.c | 24

[Intel-gfx] [PATCH 8/8] drm/i915: Add NV12 support to intel_framebuffer_init

2017-06-07 Thread Vidya Srinivas
From: Chandra Konduru This patch adds NV12 as supported format to intel_framebuffer_init and performs various checks. v2: -Fix an issue in checks added (Chandra Konduru) v3: rebased (me) Link: https://patchwork.kernel.org/patch/6426221/ Signed-off-by: Chandra Konduru Signed-off-by: Nabendu Ma

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Daniel Stone
Hi Vidya, On 7 June 2017 at 12:40, Vidya Srinivas wrote: > +static const struct drm_format_info ccs_formats[] = { > + { .format = DRM_FORMAT_XRGB, .depth = 24, .num_planes = 2, .cpp = > { 4, 1, }, .hsub = 16, .vsub = 8, }, > + { .format = DRM_FORMAT_XBGR, .depth = 24, .num_pl

Re: [Intel-gfx] [PATCH igt] lib/kms: Force a full reprobe if we find a bad link

2017-06-07 Thread Martin Peres
On 07/06/17 14:33, Chris Wilson wrote: Quoting Martin Peres (2017-06-07 12:13:24) How about this: When the modeset call fails, check if the link-status is BAD. If not, return a FAIL. If so, force a full re-probe, pick the highest available mode and try again. Do this until a mode applies. If no

Re: [Intel-gfx] [PATCH igt] lib/kms: Force a full reprobe if we find a bad link

2017-06-07 Thread Lofstedt, Marta
Martin, the kms_flip test already skips when we have entered the "no modes available" state. I talked with Petri a bit about this and we sort of agree that IGT should only skip tests on an "expected" lack of HW/SW requirements. IGT should not skip on bad states that has been created by the test

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Ville Syrjälä
On Wed, Jun 07, 2017 at 12:44:47PM +0100, Daniel Stone wrote: > Hi Vidya, > > On 7 June 2017 at 12:40, Vidya Srinivas wrote: > > +static const struct drm_format_info ccs_formats[] = { > > + { .format = DRM_FORMAT_XRGB, .depth = 24, .num_planes = 2, .cpp > > = { 4, 1, }, .hsub = 16, .vs

Re: [Intel-gfx] Fixes that failed to backport to v4.12-rc1

2017-06-07 Thread Jani Nikula
On Mon, 15 May 2017, Jani Nikula wrote: > The following commits have been marked as Cc: stable or fixing something > in v4.12-rc1 or earlier, but failed to cherry-pick to > drm-intel-fixes. Please see if they are worth backporting, and please do > so if they are. Update: d96a7d2adb04 ("drm/i915:

Re: [Intel-gfx] [PATCH] drm/i915/bxt: Enable VBT based BL control for DP

2017-06-07 Thread Bloomfield, Jon
> -Original Message- > From: Jani Nikula [mailto:jani.nik...@linux.intel.com] > Sent: Wednesday, June 7, 2017 1:16 AM > To: Deak, Imre ; Bloomfield, Jon > > Cc: intel-gfx@lists.freedesktop.org; Mustaffa, Mustamin B > > Subject: Re: [Intel-gfx] [PATCH] drm/i915/bxt: Enable VBT based BL con

Re: [Intel-gfx] [PATCH 28/67] drm/i915/cnl: Implement .get_display_clock_speed() for CNL

2017-06-07 Thread Rodrigo Vivi
On Wed, Jun 7, 2017 at 4:09 AM, Ville Syrjälä wrote: > On Wed, Jun 07, 2017 at 01:59:05PM +0300, Ville Syrjälä wrote: >> On Tue, Jun 06, 2017 at 02:56:23PM -0700, Rodrigo Vivi wrote: >> > When addressing Imre's comments I noticed: >> > >> > error: ‘cnl_set_cdclk’ defined but not used [-Werror=unus

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Daniel Stone
Hi, On 7 June 2017 at 13:53, Ville Syrjälä wrote: > On Wed, Jun 07, 2017 at 12:44:47PM +0100, Daniel Stone wrote: >> /* >> * We don't require any >> * CCS block size alignment of the fb under the assumption that the >> * hardware will handle things correctly of only a single pixel >> * gets t

[Intel-gfx] [PATCH i-g-t] tests/pm_rps: Replace custom load function with dummy load

2017-06-07 Thread Radoslaw Szwichtenberg
Replaced custom load implementation with lib counterpart. Signed-off-by: Radoslaw Szwichtenberg Cc: Chris Wilson Cc: Arkadiusz Hiler --- tests/pm_rps.c | 80 -- 1 file changed, 16 insertions(+), 64 deletions(-) diff --git a/tests/pm_rps.

Re: [Intel-gfx] [PATCH 11/11] drm/i915/cnl: Also need power well sanitize.

2017-06-07 Thread Rodrigo Vivi
Patches merged to dinq. Thanks for patches and reviews. On Tue, Jun 6, 2017 at 1:30 PM, Rodrigo Vivi wrote: > The workaround added in > commit c6782b76d31a ("drm/i915/gen9: Reset secondary power well > equests left on by DMC/KVMR") > needs to be applied on Cannonlake as well. > > So let's assume

Re: [Intel-gfx] [PATCH] drm/i915: Remove unecessary PORT3 definition.

2017-06-07 Thread Rodrigo Vivi
patch merged to dinq with the fixed spelling. Thanks for the review On Tue, Jun 6, 2017 at 11:14 AM, Manasi Navare wrote: > Just a very tiny nitpick about correction in the > spelling of "unnecessary" in the title. > > Other than that > > Reviewed-by: Manasi Navare > > On Tue, Jun 06, 2017 at 09

Re: [Intel-gfx] [PATCH] drm/i915: Unify GT* and GT3 definitions

2017-06-07 Thread Rodrigo Vivi
patch merged to dinq thanks for all comments and reviews On Tue, Jun 6, 2017 at 2:58 PM, Srivatsa, Anusha wrote: > > >>-Original Message- >>From: Vivi, Rodrigo >>Sent: Tuesday, June 6, 2017 9:06 AM >>To: intel-gfx@lists.freedesktop.org >>Cc: Vivi, Rodrigo ; Chris Wilson >wilson.co.uk>; Sr

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Ville Syrjälä
On Wed, Jun 07, 2017 at 03:24:58PM +0100, Daniel Stone wrote: > Hi, > > On 7 June 2017 at 13:53, Ville Syrjälä wrote: > > On Wed, Jun 07, 2017 at 12:44:47PM +0100, Daniel Stone wrote: > >> /* > >> * We don't require any > >> * CCS block size alignment of the fb under the assumption that the > >

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Daniel Stone
Hi, On 7 June 2017 at 16:33, Ville Syrjälä wrote: > On Wed, Jun 07, 2017 at 03:24:58PM +0100, Daniel Stone wrote: >> On 7 June 2017 at 13:53, Ville Syrjälä wrote: >> > Anyways, I'll have to revisit the the offsets[] thing because people >> > didn't like my original linear offset idea, and it doe

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Ville Syrjälä
On Wed, Jun 07, 2017 at 04:48:06PM +0100, Daniel Stone wrote: > Hi, > > On 7 June 2017 at 16:33, Ville Syrjälä wrote: > > On Wed, Jun 07, 2017 at 03:24:58PM +0100, Daniel Stone wrote: > >> On 7 June 2017 at 13:53, Ville Syrjälä > >> wrote: > >> > Anyways, I'll have to revisit the the offsets[]

Re: [Intel-gfx] [PATCH 1/8] drm/i915: Implement .get_format_info() hook for CCS

2017-06-07 Thread Daniel Stone
Hi, On 7 June 2017 at 17:28, Ville Syrjälä wrote: > On Wed, Jun 07, 2017 at 04:48:06PM +0100, Daniel Stone wrote: >> It does, and I have correct CCS output (tested by displaying frames >> either as Y_CCS, or as plain Y; correct display with the former and >> visibly showing an incomplete primary

Re: [Intel-gfx] [PATCH 2/5] drm/i915/cfl: Coffee Lake uses CNP PCH.

2017-06-07 Thread Pandiyan, Dhinakaran
On Tue, 2017-06-06 at 12:19 -0700, Rodrigo Vivi wrote: > So let's force it on the virtual detection. > > Also it is still the only silicon for now on this PCH, > so WARN otherwise. > > Signed-off-by: Rodrigo Vivi > Reviewed-by: Anusha Srivatsa > --- > drivers/gpu/drm/i915/i915_drv.c | 4 >

[Intel-gfx] [PATCH] drm/i915/glk: RGB565 planes now allow 90/270 rotation

2017-06-07 Thread clinton . a . taylor
From: Clint Taylor RGB565 Pixel format planes can now be rotated at 90 and 270 degrees Signed-off-by: Clint Taylor --- drivers/gpu/drm/i915/intel_atomic_plane.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_atomic_plane.c b/drivers/

Re: [Intel-gfx] [PATCH] drm/i915/glk: RGB565 planes now allow 90/270 rotation

2017-06-07 Thread Ville Syrjälä
On Wed, Jun 07, 2017 at 10:45:25AM -0700, clinton.a.tay...@intel.com wrote: > From: Clint Taylor > > RGB565 Pixel format planes can now be rotated at 90 and 270 degrees "now" == since when? > > Signed-off-by: Clint Taylor > --- > drivers/gpu/drm/i915/intel_atomic_plane.c | 11 --- >

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/glk: RGB565 planes now allow 90/270 rotation

2017-06-07 Thread Patchwork
== Series Details == Series: drm/i915/glk: RGB565 planes now allow 90/270 rotation URL : https://patchwork.freedesktop.org/series/25417/ State : success == Summary == Series 25417v1 drm/i915/glk: RGB565 planes now allow 90/270 rotation https://patchwork.freedesktop.org/api/1.0/series/25417/rev

Re: [Intel-gfx] [PATCH 3/5] drm/i915/cfl: Basic DDI plumbing for Coffee Lake.

2017-06-07 Thread Pandiyan, Dhinakaran
On Tue, 2017-06-06 at 12:20 -0700, Rodrigo Vivi wrote: > All here is pretty much like Kabylake. > > Cc: Dhinakaran Pandiyan > Signed-off-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/intel_ddi.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 3/3] drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.

2017-06-07 Thread Anusha Srivatsa
Add PCI Ids for U Skus of Coffeelake. v2: Use intel_coffeelake_gt3_info, in accordance to- Rodrigo's patch: https://patchwork.freedesktop.org/patch/160148/ v3: Renove unused INTEL_CFL_IDS(Rodrigo). Cc: Rodrigo Vivi Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/i915_pci.c | 1 + incl

[Intel-gfx] [PATCH 2/3] drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.

2017-06-07 Thread Anusha Srivatsa
Add PCI Ids for H Sku by following the BSpec. v2: Remove unused INTEL_CFL_IDS.(Rodrigo). Cc: Rodrigo Vivi Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/i915_pci.c | 1 + include/drm/i915_pciids.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_

[Intel-gfx] [PATCH 1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.

2017-06-07 Thread Anusha Srivatsa
Add PCI Ids for S Sku following the BSpec. v2: Remove the unused INTEL_CFL_IDS.(Rodrigo) Cc: Rodrigo Vivi Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/i915_pci.c | 1 + include/drm/i915_pciids.h | 4 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/drm/i915/i915

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.

2017-06-07 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus. URL : https://patchwork.freedesktop.org/series/25419/ State : failure == Summary == CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK incl

[Intel-gfx] [PATCH 2/2] drm/i915/huc: Load HuC on Coffeelake

2017-06-07 Thread Anusha Srivatsa
Coffeelake reuses Kabylake's HUC firmware. Cc: Rodrigo Vivi Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/intel_huc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_huc.c b/drivers/gpu/drm/i915/intel_huc.c index f5eb18d0e..6145fa0 100644

[Intel-gfx] [PATCH 1/2] drm/i915/guc: Load GuC on CFL

2017-06-07 Thread Anusha Srivatsa
Coffeelake reuses Kabylake's GuC. Cc: Rodrigo Vivi Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/i915_pci.c | 1 + drivers/gpu/drm/i915/intel_guc_loader.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i9

Re: [Intel-gfx] [PATCH 4/5] drm/i915/cfl: Introduce Display workarounds for Coffee Lake.

2017-06-07 Thread Pandiyan, Dhinakaran
On Tue, 2017-06-06 at 12:20 -0700, Rodrigo Vivi wrote: > The whole Display engine for Coffee Lake is pretty much > identical to the Kabylake. For this reason let's reuse > all display related production workardounds here even though Are these all the display workarounds we have or is this patch ju

Re: [Intel-gfx] [PATCH] drm/i915/glk: RGB565 planes now allow 90/270 rotation

2017-06-07 Thread Clint Taylor
On 06/07/2017 10:55 AM, Ville Syrjälä wrote: On Wed, Jun 07, 2017 at 10:45:25AM -0700, clinton.a.tay...@intel.com wrote: From: Clint Taylor RGB565 Pixel format planes can now be rotated at 90 and 270 degrees "now" == since when? GLK, I will update the commit message to be more specific.

Re: [Intel-gfx] [PATCH igt] igt/vc4_dmabuf_poll: Add a test for polling to wait for dmabuf fences.

2017-06-07 Thread Eric Anholt
Daniel Vetter writes: > On Mon, Apr 10, 2017 at 06:24:32PM -0700, Eric Anholt wrote: >> This successfully catches vc4's lack of dmabuf fencing. >> >> Signed-off-by: Eric Anholt >> --- >> >> Has anyone looked into shared infrastructure for tests to do >> KMS/dmabuf/etc. things with a generic "g

Re: [Intel-gfx] [PATCH] drm/i915: Move the unclaimed mmio detection into the powerwell for KMS

2017-06-07 Thread Chris Wilson
Quoting Chris Wilson (2017-05-04 12:55:08) > Replace the large comment about requiring the powerwell for > intel_uncore_arm_unclaimed_mmio_detection() by moving the arming of the > mmio error detection into the powerwell held for modesetting. Thereby > also accomplishing the goal of only arming the

Re: [Intel-gfx] [PATCH] drm/i915/cnl: Introduce initial Cannonlake Workarounds.

2017-06-07 Thread kbuild test robot
Hi Rodrigo, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.12-rc4 next-20170607] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rodrigo-Vivi/drm-i915-cnl

Re: [Intel-gfx] [PATCH 2/3] drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.

2017-06-07 Thread kbuild test robot
Hi Anusha, [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on v4.12-rc4 next-20170607] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Anusha-Srivatsa/drm-i915-cfl

Re: [Intel-gfx] [PATCH 1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.

2017-06-07 Thread kbuild test robot
Hi Anusha, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.12-rc4 next-20170607] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Anusha-Srivatsa/drm-i915-cfl-Add

Re: [Intel-gfx] [PATCH] drm/i915/cnl: Introduce initial Cannonlake Workarounds.

2017-06-07 Thread kbuild test robot
Hi Rodrigo, [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on v4.12-rc4 next-20170607] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rodrigo-Vivi/drm-i915-cnl

Re: [Intel-gfx] [PATCH 1/3] drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.

2017-06-07 Thread Vivi, Rodrigo
On Wed, 2017-06-07 at 11:24 -0700, Anusha Srivatsa wrote: > Add PCI Ids for S Sku following the BSpec. > > v2: Remove the unused INTEL_CFL_IDS.(Rodrigo) > > Cc: Rodrigo Vivi > Signed-off-by: Anusha Srivatsa > --- > drivers/gpu/drm/i915/i915_pci.c | 1 + > include/drm/i915_pciids.h | 4 ++

Re: [Intel-gfx] [PATCH 2/3] drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku.

2017-06-07 Thread Vivi, Rodrigo
On Wed, 2017-06-07 at 11:24 -0700, Anusha Srivatsa wrote: > Add PCI Ids for H Sku by following the BSpec. > > v2: Remove unused INTEL_CFL_IDS.(Rodrigo). > > Cc: Rodrigo Vivi > Signed-off-by: Anusha Srivatsa > --- > drivers/gpu/drm/i915/i915_pci.c | 1 + > include/drm/i915_pciids.h | 3 ++

Re: [Intel-gfx] [PATCH 3/3] drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.

2017-06-07 Thread Vivi, Rodrigo
Reviewed-by: Rodrigo Vivi On Wed, 2017-06-07 at 11:24 -0700, Anusha Srivatsa wrote: > Add PCI Ids for U Skus of Coffeelake. > > v2: Use intel_coffeelake_gt3_info, in accordance to- > Rodrigo's patch: > https://patchwork.freedesktop.org/patch/160148/ > > v3: Renove unused INTEL_CFL_IDS(Rodrigo).

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Load GuC on CFL

2017-06-07 Thread Vivi, Rodrigo
With this approach we need to have in mind that any new kbl firmware version needs to be validated on both kbl and cfl by our QA before publishing. However the differences are really minimal if not 0. So publishing 2 identical files with different names maybe doesn't make any sense and wouldn't sa

Re: [Intel-gfx] [PATCH 2/2] drm/i915/huc: Load HuC on Coffeelake

2017-06-07 Thread Vivi, Rodrigo
Same comments I put on GuC patch are valid here... Reviewed-by: Rodrigo Vivi On Wed, 2017-06-07 at 11:43 -0700, Anusha Srivatsa wrote: > Coffeelake reuses Kabylake's HUC firmware. > > Cc: Rodrigo Vivi > Signed-off-by: Anusha Srivatsa > --- > drivers/gpu/drm/i915/intel_huc.c | 2 +- > 1 file

Re: [Intel-gfx] [PATCH 4/5] drm/i915/cfl: Introduce Display workarounds for Coffee Lake.

2017-06-07 Thread Vivi, Rodrigo
On Wed, 2017-06-07 at 18:44 +, Pandiyan, Dhinakaran wrote: > On Tue, 2017-06-06 at 12:20 -0700, Rodrigo Vivi wrote: > > The whole Display engine for Coffee Lake is pretty much > > identical to the Kabylake. For this reason let's reuse > > all display related production workardounds here even th

Re: [Intel-gfx] [PATCH 3/5] drm/i915/cfl: Basic DDI plumbing for Coffee Lake.

2017-06-07 Thread Vivi, Rodrigo
On Wed, 2017-06-07 at 18:04 +, Pandiyan, Dhinakaran wrote: > On Tue, 2017-06-06 at 12:20 -0700, Rodrigo Vivi wrote: > > All here is pretty much like Kabylake. > > > > Cc: Dhinakaran Pandiyan > > Signed-off-by: Rodrigo Vivi > > --- > > drivers/gpu/drm/i915/intel_ddi.c | 6 +++--- > > 1 file

Re: [Intel-gfx] [PATCH 4/5] drm/i915/cfl: Introduce Display workarounds for Coffee Lake.

2017-06-07 Thread Pandiyan, Dhinakaran
On Wed, 2017-06-07 at 21:52 +, Vivi, Rodrigo wrote: > On Wed, 2017-06-07 at 18:44 +, Pandiyan, Dhinakaran wrote: > > On Tue, 2017-06-06 at 12:20 -0700, Rodrigo Vivi wrote: > > > The whole Display engine for Coffee Lake is pretty much > > > identical to the Kabylake. For this reason let's re

Re: [Intel-gfx] [PATCH 3/5] drm/i915/cfl: Basic DDI plumbing for Coffee Lake.

2017-06-07 Thread Pandiyan, Dhinakaran
On Wed, 2017-06-07 at 21:53 +, Vivi, Rodrigo wrote: > On Wed, 2017-06-07 at 18:04 +, Pandiyan, Dhinakaran wrote: > > On Tue, 2017-06-06 at 12:20 -0700, Rodrigo Vivi wrote: > > > All here is pretty much like Kabylake. > > > > > > Cc: Dhinakaran Pandiyan > > > Signed-off-by: Rodrigo Vivi >

  1   2   >