[Intel-gfx] [PATCH 3/3] drm/i915/selftests: Replace open-coded i915_address_space_init()

2018-07-04 Thread Chris Wilson
Use i915_address_space_init() rather than open-code it inside mock_ppgtt() as we will forget to keep it in sync. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/selftests/mock_gtt.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/selftests/mock_

[Intel-gfx] [PATCH 1/3] drm/i915: Remove defunct i915->vm_list

2018-07-04 Thread Chris Wilson
No longer used and can be removed. One less global that currently demands struct_mutex protection. References: e9e7dc4144cd ("drm/i915/gtt: Make gen6 page directories evictable") Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_drv.h | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c

[Intel-gfx] [PATCH 2/3] drm/i915/selftests: Use full release for local ppgtt allocation

2018-07-04 Thread Chris Wilson
We can now use the full release mechanism (i915_ppgtt_put) for our local ppgtt allocation in igt_ppgtt_alloc. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/selftests/i915_ge

[Intel-gfx] [PATCH 4/4] drm/i915/selftests: Replace open-coded i915_address_space_init()

2018-07-04 Thread Chris Wilson
Use i915_address_space_init() rather than open-code it inside mock_ppgtt() as we will forget to keep it in sync. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/selftests/mock_gtt.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/selftests/mock_

[Intel-gfx] [PATCH 1/4] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest

2018-07-04 Thread Chris Wilson
--- integration-manifest | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 integration-manifest diff --git a/integration-manifest b/integration-manifest new file mode 100644 index ..9e016d7753f3 --- /dev/null +++ b/integration-manifest @@ -0,0 +

[Intel-gfx] [PATCH 3/4] drm/i915/selftests: Use full release for local ppgtt allocation

2018-07-04 Thread Chris Wilson
We can now use the full release mechanism (i915_ppgtt_put) for our local ppgtt allocation in igt_ppgtt_alloc. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/selftests/i915_ge

[Intel-gfx] [PATCH 2/4] drm/i915: Remove defunct i915->vm_list

2018-07-04 Thread Chris Wilson
No longer used and can be removed. One less global that currently demands struct_mutex protection. References: e9e7dc4144cd ("drm/i915/gtt: Make gen6 page directories evictable") Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_drv.h | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c

[Intel-gfx] [PATCH 3/3] drm/i915/selftests: Use full release for local ppgtt allocation

2018-07-04 Thread Chris Wilson
We can now use the full release mechanism (i915_ppgtt_put) for our local ppgtt allocation in igt_ppgtt_alloc. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/selftests/i915_ge

[Intel-gfx] [PATCH 2/3] drm/i915: Remove defunct i915->vm_list

2018-07-04 Thread Chris Wilson
No longer used and can be removed. One less global that currently demands struct_mutex protection. References: e9e7dc4144cd ("drm/i915/gtt: Make gen6 page directories evictable") Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_drv.h | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c

[Intel-gfx] [PATCH 1/3] drm-tip: 2018y-07m-04d-20h-25m-35s UTC integration manifest

2018-07-04 Thread Chris Wilson
--- integration-manifest | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 integration-manifest diff --git a/integration-manifest b/integration-manifest new file mode 100644 index ..9e016d7753f3 --- /dev/null +++ b/integration-manifest @@ -0,0 +

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/psr: Split sink status into a separate debugfs node

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/psr: Split sink status into a separate debugfs node URL : https://patchwork.freedesktop.org/series/45952/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4428_full -> Patchwork_9529_full = == Summary - FAILURE == Serious unknown change

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Show who pinned the pages when a leak is hit (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915: Show who pinned the pages when a leak is hit (rev4) URL : https://patchwork.freedesktop.org/series/45770/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4426_full -> Patchwork_9528_full = == Summary - WARNING == Minor unknown changes

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/gtt: Pull global wc page stash under its own locking (rev5)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev5) URL : https://patchwork.freedesktop.org/series/45909/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4426_full -> Patchwork_9527_full = == Summary - FAILURE == Serious unknow

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/psr: Split sink status into a separate debugfs node

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/psr: Split sink status into a separate debugfs node URL : https://patchwork.freedesktop.org/series/45952/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4428 -> Patchwork_9529 = == Summary - SUCCESS == No regressions found. Externa

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/psr: Split sink status into a separate debugfs node

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/psr: Split sink status into a separate debugfs node URL : https://patchwork.freedesktop.org/series/45952/ State : warning == Summary == $ dim checkpatch origin/drm-tip 687e1ec30b27 drm/i915/psr: Split sink status into a separate debugfs node -:115: WARNING

[Intel-gfx] [PATCH] drm/i915/psr: Split sink status into a separate debugfs node

2018-07-04 Thread Dhinakaran Pandiyan
This allows to read i915_edp_psr_status from tests without triggering any AUX communication. Take this opportunity to move this under the eDP-1 connector directory as the status we print is of the sink. Cc: Rodrigo Vivi Cc: José Roberto de Souza Suggested-by: Rodrigo Vivi Signed-off-by: Dhinaka

[Intel-gfx] [PULL] drm-misc-next

2018-07-04 Thread Gustavo Padovan
Hi Dave, Nothing really big just a bunch improvements and a few fixes for Core and Drivers. We have a cross subsystem merge here for fbcon. Regards, Gustavo drm-misc-next-2018-07-04: drm-misc-next for 4.19: UAPI Changes: v3d: add fourcc modicfier for fourcc for the Broadcom UIF format (Eric An

Re: [Intel-gfx] [PATCH i-g-t] igt/perf: Check the GPU is not wedged before running

2018-07-04 Thread Lionel Landwerlin
On 04/07/18 15:51, Chris Wilson wrote: If the GPU is not usable, we will not be able to submit workloads to be measured and so observing them will fail. Signed-off-by: Chris Wilson Cc: Lionel Landwerlin Which reminds me, some day I'll have to check what happens with i915/perf during a hang.

Re: [Intel-gfx] [PATCH xf86-video-intel 5/6] sna/video/textured: Add XV_COLOR_RANGE port attribute

2018-07-04 Thread Ville Syrjälä
On Wed, Jul 04, 2018 at 09:59:18PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add a new Xv port attribute XV_COLOR_RANGE to select the incoming YUV > quantization range. 0 means limited range (Y: 16-235, Cb/Cr: 16-240), > 1 means full range (0-255). > > Cc: xorg-de...@lists.x.org > Si

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Remove unecessary dma_fence_ops

2018-07-04 Thread Daniel Vetter
On Wed, Jul 4, 2018 at 7:22 PM, Emil Velikov wrote: > On 4 July 2018 at 13:34, Daniel Vetter wrote: >> On Wed, Jul 04, 2018 at 01:03:18PM +0100, Emil Velikov wrote: >>> Hi Daniel, >>> >>> On 4 July 2018 at 10:29, Daniel Vetter wrote: >>> > dma_fence_default_wait is the default now, same for the

Re: [Intel-gfx] Shared atomic state causing Weston repaint failure

2018-07-04 Thread Daniel Vetter
On Wed, Jul 4, 2018 at 5:44 PM, Daniel Stone wrote: > Hi, > The atomic API being super-explicit about how userspace sequences its > calls is great and all, but having shared global state implicitly > dragged in is kind of ruining my day. > > Currently on Intel, Weston sometimes fails on hotplug, b

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Show who pinned the pages when a leak is hit (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915: Show who pinned the pages when a leak is hit (rev4) URL : https://patchwork.freedesktop.org/series/45770/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4426 -> Patchwork_9528 = == Summary - SUCCESS == No regressions found. Extern

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Show who pinned the pages when a leak is hit (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915: Show who pinned the pages when a leak is hit (rev4) URL : https://patchwork.freedesktop.org/series/45770/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915: Show who pinned the pages when a leak is hit -drivers/gpu/drm/i915/selfte

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Show who pinned the pages when a leak is hit (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915: Show who pinned the pages when a leak is hit (rev4) URL : https://patchwork.freedesktop.org/series/45770/ State : warning == Summary == $ dim checkpatch origin/drm-tip ced941187b33 drm/i915: Show who pinned the pages when a leak is hit -:217: CHECK:UNCOMM

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gtt: Pull global wc page stash under its own locking (rev5)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev5) URL : https://patchwork.freedesktop.org/series/45909/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4426 -> Patchwork_9527 = == Summary - SUCCESS == No regressions found.

Re: [Intel-gfx] [PATCH xf86-video-intel 2/6] sna/gen6+: Split out wm_kernel from the sna_composite_op flags

2018-07-04 Thread Ville Syrjälä
On Wed, Jul 04, 2018 at 08:08:49PM +0100, Chris Wilson wrote: > Quoting Ville Syrjala (2018-07-04 19:59:15) > > From: Ville Syrjälä > > > > With the extra video kernels we already ran out of bits in > > the flags. To tackle that let's just split out the > > wm_kernel to its own thing. > > Does m

[Intel-gfx] [PATCH] drm/i915: Show who pinned the pages when a leak is hit

2018-07-04 Thread Chris Wilson
Currently, we emit a warning when freeing an object if we do so with the pages still pinned (presumably as they are still in use somewhere). This only tells us that there is a problem, but doesn't tell us anything about the object or who might be pinning them and so provides no clue as to track dow

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev5)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev5) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/gtt: Pull global wc page stash under its own locking -O:drivers/gpu

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev5)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev5) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim checkpatch origin/drm-tip 4713fba8cdad drm/i915/gtt: Pull global wc page stash under its own locking -:413

Re: [Intel-gfx] [PATCH xf86-video-intel 2/6] sna/gen6+: Split out wm_kernel from the sna_composite_op flags

2018-07-04 Thread Chris Wilson
Quoting Ville Syrjala (2018-07-04 19:59:15) > From: Ville Syrjälä > > With the extra video kernels we already ran out of bits in > the flags. To tackle that let's just split out the > wm_kernel to its own thing. Does make one wish we had used push constants or loading them from a constant surfac

[Intel-gfx] [PATCH xf86-video-intel 2/6] sna/gen6+: Split out wm_kernel from the sna_composite_op flags

2018-07-04 Thread Ville Syrjala
From: Ville Syrjälä With the extra video kernels we already ran out of bits in the flags. To tackle that let's just split out the wm_kernel to its own thing. Fixes: e4f2b5d5af95 ("sna/video: Add XV_COLORSPACE attribute for the textured Xv adaptor") Signed-off-by: Ville Syrjälä --- src/sna/gen

[Intel-gfx] [PATCH xf86-video-intel 6/6] sna/video/sprite: Add XV_COLOR_RANGE port attribute

2018-07-04 Thread Ville Syrjala
From: Ville Syrjälä Add a new Xv port attribute XV_COLOR_RANGE to select the incoming YUV quantization range. 0 means limited range (Y: 16-235, Cb/Cr: 16-240), 1 means full range (0-255). We'll forward the quantization range information to the kernel via the COLOR_RANGE kms property. Cc: xorg-d

[Intel-gfx] [PATCH xf86-video-intel 4/6] sna/video/textured: Add shaders to deal with full range yuv data

2018-07-04 Thread Ville Syrjala
From: Ville Syrjälä Add new yuv->rgb shader variants that deal with full range yuv data instead of limited range data. Until we expose the full range capability via an Xv port attribute we'll always pick the limited range variant. Signed-off-by: Ville Syrjälä --- src/render_program/Makefile.am

[Intel-gfx] [PATCH xf86-video-intel 3/6] sna/vide/textured: Rename yuv shaders to indicate they handle limited range data

2018-07-04 Thread Ville Syrjala
From: Ville Syrjälä Rename the current yuv->rgb shaders in anticipation of variants that will deal with full range yuv data. Signed-off-by: Ville Syrjälä --- src/render_program/Makefile.am | 44 ++-- src/render_program/exa_wm_yuv_rgb_bt601.g5a| 1 -

[Intel-gfx] [PATCH xf86-video-intel 5/6] sna/video/textured: Add XV_COLOR_RANGE port attribute

2018-07-04 Thread Ville Syrjala
From: Ville Syrjälä Add a new Xv port attribute XV_COLOR_RANGE to select the incoming YUV quantization range. 0 means limited range (Y: 16-235, Cb/Cr: 16-240), 1 means full range (0-255). Cc: xorg-de...@lists.x.org Signed-off-by: Ville Syrjälä --- src/sna/sna_video_textured.c | 12 +++-

[Intel-gfx] [PATCH xf86-video-intel 1/6] sna: Add SAMPLER_OFFSET() compile time asserts for gen6/7

2018-07-04 Thread Ville Syrjala
From: Ville Syrjälä gen8/9 has some compile time asserts to verify the SAMPLER_OFFSET() bits don't exceed their quota of the flags. Add similar asserts for gen6/7. Signed-off-by: Ville Syrjälä --- src/sna/gen6_render.c | 1 + src/sna/gen7_render.c | 1 + 2 files changed, 2 insertions(+) diff

[Intel-gfx] [CI] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing the global wc-stash (the per-vm stash conti

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gtt: Pull global wc page stash under its own locking (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev4) URL : https://patchwork.freedesktop.org/series/45909/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4426 -> Patchwork_9526 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev4) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/gtt: Pull global wc page stash under its own locking -O:drivers/gpu

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev4) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim checkpatch origin/drm-tip 00ed7b01f9ff drm/i915/gtt: Pull global wc page stash under its own locking -:413

[Intel-gfx] [CI] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing the global wc-stash (the per-vm stash conti

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Remove unecessary dma_fence_ops

2018-07-04 Thread Emil Velikov
On 4 July 2018 at 13:34, Daniel Vetter wrote: > On Wed, Jul 04, 2018 at 01:03:18PM +0100, Emil Velikov wrote: >> Hi Daniel, >> >> On 4 July 2018 at 10:29, Daniel Vetter wrote: >> > dma_fence_default_wait is the default now, same for the trivial >> > enable_signaling implementation. >> > >> > v2:

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gtt: Pull global wc page stash under its own locking (rev3)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev3) URL : https://patchwork.freedesktop.org/series/45909/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4426 -> Patchwork_9525 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev3)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev3) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/gtt: Pull global wc page stash under its own locking -O:drivers/gpu

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev3)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev3) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim checkpatch origin/drm-tip 6ed625b4dadd drm/i915/gtt: Pull global wc page stash under its own locking -:290

[Intel-gfx] Shared atomic state causing Weston repaint failure

2018-07-04 Thread Daniel Stone
Hi, The atomic API being super-explicit about how userspace sequences its calls is great and all, but having shared global state implicitly dragged in is kind of ruining my day. Currently on Intel, Weston sometimes fails on hotplug, because a commit which only enables CRTC B (not touching CRTC A o

Re: [Intel-gfx] [PATCH v3] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Tvrtko Ursulin
On 04/07/2018 16:32, Chris Wilson wrote: Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing

[Intel-gfx] [PATCH v3] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing the global wc-stash (the per-vm stash conti

Re: [Intel-gfx] [PATCH v2 05/20] drm/i915/icl: Define PORT_CL_DW_10 register

2018-07-04 Thread Chauhan, Madhav
> -Original Message- > From: Nikula, Jani > Sent: Wednesday, July 4, 2018 8:08 PM > To: Chauhan, Madhav ; intel- > g...@lists.freedesktop.org > Cc: Vivi, Rodrigo ; Zanoni, Paulo R > ; Shankar, Uma ; > Chauhan, Madhav > Subject: Re: [PATCH v2 05/20] drm/i915/icl: Define PORT_CL_DW_10 regist

Re: [Intel-gfx] [PATCH v2] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Tvrtko Ursulin
On 04/07/2018 15:25, Chris Wilson wrote: Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing

[Intel-gfx] ✗ Fi.CI.BAT: failure for Add ChromeOS EC CEC Support (rev9)

2018-07-04 Thread Patchwork
== Series Details == Series: Add ChromeOS EC CEC Support (rev9) URL : https://patchwork.freedesktop.org/series/43162/ State : failure == Summary == Applying: media: cec-notifier: Get notifier by device and connector name Applying: drm/i915: hdmi: add CEC notifier to intel_hdmi Using index info

[Intel-gfx] [PATCH v8 4/6] mfd: cros-ec: Introduce CEC commands and events definitions.

2018-07-04 Thread Neil Armstrong
The EC can expose a CEC bus, this patch adds the CEC related definitions needed by the cros-ec-cec driver. Signed-off-by: Neil Armstrong Tested-by: Enric Balletbo i Serra Reviewed-by: Hans Verkuil Acked-for-MFD-by: Lee Jones --- include/linux/mfd/cros_ec_commands.h | 81 ++

[Intel-gfx] [PATCH v8 5/6] mfd: cros_ec_dev: Add CEC sub-device registration

2018-07-04 Thread Neil Armstrong
The EC can expose a CEC bus, thus add the cros-ec-cec MFD sub-device when the CEC feature bit is present. Signed-off-by: Neil Armstrong Reviewed-by: Enric Balletbo i Serra Acked-by: Hans Verkuil Acked-for-MFD-by: Lee Jones --- drivers/mfd/cros_ec_dev.c | 16 1 file changed, 1

[Intel-gfx] [PATCH v8 6/6] media: platform: Add ChromeOS EC CEC driver

2018-07-04 Thread Neil Armstrong
The ChromeOS Embedded Controller can expose a CEC bus, this patch add the driver for such feature of the Embedded Controller. This driver is part of the cros-ec MFD and will be add as a sub-device when the feature bit is exposed by the EC. The controller will only handle a single logical address

[Intel-gfx] [PATCH v8 2/6] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-07-04 Thread Neil Armstrong
This patchs adds the cec_notifier feature to the intel_hdmi part of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate between each HDMI ports. The changes will allow the i915 HDMI code to notify EDID and HPD changes to an eventual CEC adapter. Signed-off-by: Neil Armstrong

[Intel-gfx] [PATCH v8 1/6] media: cec-notifier: Get notifier by device and connector name

2018-07-04 Thread Neil Armstrong
In non device-tree world, we can need to get the notifier by the driver name directly and eventually defer probe if not yet created. This patch adds a variant of the get function by using the device name instead and will not create a notifier if not yet created. But the i915 driver exposes at lea

[Intel-gfx] [PATCH v8 0/6] Add ChromeOS EC CEC Support

2018-07-04 Thread Neil Armstrong
Hi All, The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support through it's Embedded Controller, to enable the Linux CEC Core to communicate with it and get the CEC Physical Address from the correct HDMI Connector, the following must be added/changed: - Add the CEC sub-device reg

[Intel-gfx] [PATCH v8 3/6] mfd: cros-ec: Increase maximum mkbp event size

2018-07-04 Thread Neil Armstrong
Having a 16 byte mkbp event size makes it possible to send CEC messages from the EC to the AP directly inside the mkbp event instead of first doing a notification and then a read. Signed-off-by: Stefan Adolfsson Signed-off-by: Neil Armstrong Tested-by: Enric Balletbo i Serra Acked-by: Hans Verk

Re: [Intel-gfx] [PATCH v2 07/20] drm/i915/icl: Define AUX lane registers for Port A/B

2018-07-04 Thread Jani Nikula
On Tue, 03 Jul 2018, Madhav Chauhan wrote: > This patch defines AUX lane registers for PORT_PCS_DW1, > PORT_TX_DW2, PORT_TX_DW4, PORT_TX_DW5 used during > dsi enabling. > > Signed-off-by: Madhav Chauhan > --- > drivers/gpu/drm/i915/i915_reg.h | 22 ++ > 1 file changed, 22 ins

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking URL : https://patchwork.freedesktop.org/series/45909/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4425_full -> Patchwork_9522_full = == Summary - WARNING == Minor unknown changes

[Intel-gfx] [PATCH i-g-t] igt/perf: Check the GPU is not wedged before running

2018-07-04 Thread Chris Wilson
If the GPU is not usable, we will not be able to submit workloads to be measured and so observing them will fail. Signed-off-by: Chris Wilson Cc: Lionel Landwerlin --- tests/perf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/perf.c b/tests/perf.c index 95048bfa5..2736918f7 1006

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gtt: Pull global wc page stash under its own locking (rev2)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev2) URL : https://patchwork.freedesktop.org/series/45909/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4425 -> Patchwork_9523 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] [PATCH i-g-t] igt/kms_draw_crc: Test for a working GPU first

2018-07-04 Thread Chris Wilson
The draw-method-blt subtests require a working GPU, so create a subtest group for the draw-methods, and skip the BLT group using igt_require_gem() in its fixture. Signed-off-by: Chris Wilson --- tests/kms_draw_crc.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(

[Intel-gfx] [PATCH i-g-t] igt/gem_pwrite_pread: Requires GEM

2018-07-04 Thread Chris Wilson
Mark up gem_pwrite_pread's dependence on a functioning GPU, by calling igt_require_gem in its setup fixture. Signed-off-by: Chris Wilson --- tests/gem_pwrite_pread.c | 1 + tests/gem_tiled_partial_pwrite_pread.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/gem_pwrite

Re: [Intel-gfx] [PATCH v2 05/20] drm/i915/icl: Define PORT_CL_DW_10 register

2018-07-04 Thread Jani Nikula
On Tue, 03 Jul 2018, Madhav Chauhan wrote: > This register used to power down individual lanes for > DDI/DSI ports. Bitfields to power up/down various > combinations of lanes are also added in this patch. > > v2: Review comments from Jani N > - Use override instead of "override" for bitfields

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev2)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev2) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/gtt: Pull global wc page stash under its own locking -O:drivers/gpu

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gtt: Pull global wc page stash under its own locking (rev2)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking (rev2) URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim checkpatch origin/drm-tip de6f8e0dd262 drm/i915/gtt: Pull global wc page stash under its own locking -:289

[Intel-gfx] [PATCH v2] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing the global wc-stash (the per-vm stash conti

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-07-04 14:59:31) > > On 04/07/2018 14:15, Chris Wilson wrote: > > Quoting Chris Wilson (2018-07-04 13:55:13) > >> Quoting Chris Wilson (2018-07-04 13:53:54) > >>> Quoting Tvrtko Ursulin (2018-07-04 13:48:18) > > > > - if (stash.nr) { > > -

[Intel-gfx] [PATCH i-g-t] amdgpu/amd_syslatency: Measure the impact of CS load on the rest of the system

2018-07-04 Thread Chris Wilson
Like benchmarks/gem_syslatency, but to investigate/compare the impact with amdgpu. Signed-off-by: Chris Wilson --- lib/igt_aux.h | 1 + tests/Makefile.am | 2 + tests/Makefile.sources| 1 + tests/amdgpu/amd_syslatency.c | 404

Re: [Intel-gfx] [PATCH i-g-t] amdgpu/amd_prime: Reduce setup time

2018-07-04 Thread Chris Wilson
Quoting Daniel Vetter (2018-07-04 14:57:33) > On Wed, Jul 04, 2018 at 01:38:23PM +0100, Chris Wilson wrote: > > If we allow 5s (+20% systematic error) to construct the fences, we may > > reasonably assume that it will take equally as long to consume them. As > > we only have 10s before the vgem fen

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Tvrtko Ursulin
On 04/07/2018 14:15, Chris Wilson wrote: Quoting Chris Wilson (2018-07-04 13:55:13) Quoting Chris Wilson (2018-07-04 13:53:54) Quoting Tvrtko Ursulin (2018-07-04 13:48:18) - if (stash.nr) { - int nr = min_t(int, stash.nr, pagevec_space(pvec)); - struct page **p

Re: [Intel-gfx] [PATCH i-g-t] amdgpu/amd_prime: Reduce setup time

2018-07-04 Thread Daniel Vetter
On Wed, Jul 04, 2018 at 01:38:23PM +0100, Chris Wilson wrote: > If we allow 5s (+20% systematic error) to construct the fences, we may > reasonably assume that it will take equally as long to consume them. As > we only have 10s before the vgem fence times out, there is no margin of > safety. > > S

Re: [Intel-gfx] [PATCH v4] drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support.

2018-07-04 Thread Daniel Vetter
On Wed, Jul 04, 2018 at 12:41:52PM +0300, StanLis wrote: > From: Stanislav Lisovskiy > > PLANE_CTL_FORMAT_AYUV is already supported, according to hardware > specification. > > v2: Edited commit message, removed redundant whitespaces. > > v3: Fixed fallthrough logic for the format switch cases.

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Quoting Chris Wilson (2018-07-04 13:55:13) > Quoting Chris Wilson (2018-07-04 13:53:54) > > Quoting Tvrtko Ursulin (2018-07-04 13:48:18) > > > > > > > > - if (stash.nr) { > > > > - int nr = min_t(int, stash.nr, pagevec_space(pvec)); > > > > - struct page **pages = sta

Re: [Intel-gfx] [PATCH v7 5/6] mfd: cros_ec_dev: Add CEC sub-device registration

2018-07-04 Thread Lee Jones
On Wed, 04 Jul 2018, Neil Armstrong wrote: > Hi Lee, > > On 04/07/2018 09:47, Lee Jones wrote: > > On Fri, 01 Jun 2018, Neil Armstrong wrote: > > > >> The EC can expose a CEC bus, thus add the cros-ec-cec MFD sub-device > >> when the CEC feature bit is present. > >> > >> Signed-off-by: Neil Arms

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Quoting Chris Wilson (2018-07-04 13:53:54) > Quoting Tvrtko Ursulin (2018-07-04 13:48:18) > > > > > > - if (stash.nr) { > > > - int nr = min_t(int, stash.nr, pagevec_space(pvec)); > > > - struct page **pages = stash.pages + stash.nr - nr; > > > + if (stash->nr &&

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-07-04 13:48:18) > > On 04/07/2018 12:39, Chris Wilson wrote: > > Currently, the wc-stash used for providing flushed WC pages ready for > > constructing the page directories is assumed to be protected by the > > struct_mutex. However, we want to remove this global lock

Re: [Intel-gfx] [PATCH] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Tvrtko Ursulin
On 04/07/2018 12:39, Chris Wilson wrote: Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing

[Intel-gfx] [PATCH i-g-t] amdgpu/amd_prime: Reduce setup time

2018-07-04 Thread Chris Wilson
If we allow 5s (+20% systematic error) to construct the fences, we may reasonably assume that it will take equally as long to consume them. As we only have 10s before the vgem fence times out, there is no margin of safety. Signed-off-by: Chris Wilson --- tests/amdgpu/amd_prime.c | 2 +- 1 file c

Re: [Intel-gfx] [PATCH v7 5/6] mfd: cros_ec_dev: Add CEC sub-device registration

2018-07-04 Thread Neil Armstrong
Hi Lee, On 04/07/2018 09:47, Lee Jones wrote: > On Fri, 01 Jun 2018, Neil Armstrong wrote: > >> The EC can expose a CEC bus, thus add the cros-ec-cec MFD sub-device >> when the CEC feature bit is present. >> >> Signed-off-by: Neil Armstrong >> Reviewed-by: Enric Balletbo i Serra >> Acked-by: Ha

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Remove unecessary dma_fence_ops

2018-07-04 Thread Daniel Vetter
On Wed, Jul 04, 2018 at 01:03:18PM +0100, Emil Velikov wrote: > Hi Daniel, > > On 4 July 2018 at 10:29, Daniel Vetter wrote: > > dma_fence_default_wait is the default now, same for the trivial > > enable_signaling implementation. > > > > v2: Also remove the relase hook, dma_fence_free is the defa

Re: [Intel-gfx] [PATCH v2] drm/i915: Track the last-active inside the i915_vma

2018-07-04 Thread Tvrtko Ursulin
On 04/07/2018 12:47, Chris Wilson wrote: Quoting Tvrtko Ursulin (2018-07-04 12:34:04) On 04/07/2018 10:39, Tvrtko Ursulin wrote: On 04/07/2018 09:34, Chris Wilson wrote: Using a VMA on more than one timeline concurrently is the exception rather than the rule (using it concurrently on multip

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking URL : https://patchwork.freedesktop.org/series/45909/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4425 -> Patchwork_9522 = == Summary - SUCCESS == No regressions found. Extern

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support. (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support. (rev4) URL : https://patchwork.freedesktop.org/series/45774/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4425_full -> Patchwork_9521_full = == Summary - FAILURE == Serious unkn

Re: [Intel-gfx] [PATCH 1/5] drm/i915: Remove unecessary dma_fence_ops

2018-07-04 Thread Emil Velikov
Hi Daniel, On 4 July 2018 at 10:29, Daniel Vetter wrote: > dma_fence_default_wait is the default now, same for the trivial > enable_signaling implementation. > > v2: Also remove the relase hook, dma_fence_free is the default. > > Signed-off-by: Daniel Vetter > Cc: Jani Nikula > Cc: Joonas Lahti

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915/gtt: Pull global wc page stash under its own locking URL : https://patchwork.freedesktop.org/series/45909/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: drm/i915/gtt: Pull global wc page stash under its own locking -O:drivers/gpu/drm/i9

Re: [Intel-gfx] [PATCH v2] drm/i915: Track the last-active inside the i915_vma

2018-07-04 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-07-04 12:34:04) > > On 04/07/2018 10:39, Tvrtko Ursulin wrote: > > > > On 04/07/2018 09:34, Chris Wilson wrote: > >> Using a VMA on more than one timeline concurrently is the exception > >> rather than the rule (using it concurrently on multiple engines). As we > >> e

[Intel-gfx] [PATCH] drm/i915/gtt: Pull global wc page stash under its own locking

2018-07-04 Thread Chris Wilson
Currently, the wc-stash used for providing flushed WC pages ready for constructing the page directories is assumed to be protected by the struct_mutex. However, we want to remove this global lock and so must install a replacement global lock for accessing the global wc-stash (the per-vm stash conti

Re: [Intel-gfx] [PATCH v2] drm/i915: Track the last-active inside the i915_vma

2018-07-04 Thread Tvrtko Ursulin
On 04/07/2018 10:39, Tvrtko Ursulin wrote: On 04/07/2018 09:34, Chris Wilson wrote: Using a VMA on more than one timeline concurrently is the exception rather than the rule (using it concurrently on multiple engines). As we expect to only use one active tracker, store the most recently used tr

[Intel-gfx] ✓ Fi.CI.IGT: success for RESEND: dma-buf cleanup

2018-07-04 Thread Patchwork
== Series Details == Series: RESEND: dma-buf cleanup URL : https://patchwork.freedesktop.org/series/45890/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4425_full -> Patchwork_9520_full = == Summary - WARNING == Minor unknown changes coming with Patchwork_9520_full need

Re: [Intel-gfx] [PATCH v3] drm/i915: Track vma activity per fence.context, not per engine

2018-07-04 Thread Tvrtko Ursulin
On 04/07/2018 10:13, Chris Wilson wrote: In the next patch, we will want to be able to use more flexible request timelines that can hop between engines. From the vma pov, we can then not rely on the binding of this request to an engine and so can not ensure that different requests are ordered th

Re: [Intel-gfx] [PATCH v2 1/2] drm/i915/dsi: rename the current DSI files based on generation

2018-07-04 Thread Ville Syrjälä
On Wed, Jul 04, 2018 at 11:10:06AM +0300, Jani Nikula wrote: > On Tue, 03 Jul 2018, Ville Syrjälä wrote: > > On Tue, Jul 03, 2018 at 04:53:28PM +0300, Jani Nikula wrote: > >> Starting from ICL or gen 11 we have a new DSI block which requires > >> completely different programming from the current i

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/6] drm/i915: Refactor export_fence() after i915_vma_move_to_active() (rev3)

2018-07-04 Thread Patchwork
== Series Details == Series: series starting with [1/6] drm/i915: Refactor export_fence() after i915_vma_move_to_active() (rev3) URL : https://patchwork.freedesktop.org/series/45689/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4425_full -> Patchwork_9519_full = == Summar

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support. (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support. (rev4) URL : https://patchwork.freedesktop.org/series/45774/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4425 -> Patchwork_9521 = == Summary - SUCCESS == No regressions found.

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support. (rev4)

2018-07-04 Thread Patchwork
== Series Details == Series: drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support. (rev4) URL : https://patchwork.freedesktop.org/series/45774/ State : warning == Summary == $ dim checkpatch origin/drm-tip e74c7fdd30c5 drm/i915: Adding YUV444 packed format(DRM_FORMAT_AYUV) support. -

[Intel-gfx] ✓ Fi.CI.BAT: success for RESEND: dma-buf cleanup

2018-07-04 Thread Patchwork
== Series Details == Series: RESEND: dma-buf cleanup URL : https://patchwork.freedesktop.org/series/45890/ State : success == Summary == = CI Bug Log - changes from CI_DRM_4425 -> Patchwork_9520 = == Summary - SUCCESS == No regressions found. External URL: https://patchwork.freedesktop

Re: [Intel-gfx] [PATCH v4] drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.

2018-07-04 Thread Imre Deak
On Tue, Jul 03, 2018 at 01:16:40PM -0700, clinton.a.tay...@intel.com wrote: > From: Clint Taylor > > On GLK NUC platforms the HDMI retiming buffer needs additional disabled > time to correctly sync to a faster incoming signal. > > When measured on a scope the highspeed lines of the HDMI clock tu

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for RESEND: dma-buf cleanup

2018-07-04 Thread Patchwork
== Series Details == Series: RESEND: dma-buf cleanup URL : https://patchwork.freedesktop.org/series/45890/ State : warning == Summary == $ dim checkpatch origin/drm-tip 80713ee8fc35 drm/i915: Remove unecessary dma_fence_ops -:4: WARNING:TYPO_SPELLING: 'unecessary' may be misspelled - perhaps

Re: [Intel-gfx] [PATCH 5/6] drm/i915: Track vma activity per fence.context, not per engine

2018-07-04 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-07-04 10:43:07) > > On 03/07/2018 21:29, Chris Wilson wrote: > > Quoting Tvrtko Ursulin (2018-07-03 18:28:31) > >> > >> On 29/06/2018 23:54, Chris Wilson wrote: > >>>/* > >>> * Add a reference if we're newly entering the active list. > >>> * The

  1   2   >