[Intel-gfx] [PATCH] drm/i915: Initialize 'data' in intel_dsi_dcs_backlight.c

2017-08-14 Thread Balasubramaniam, Hari Chand
variable 'data'is used uninitialized in this function. thus, 'function dcs_get_backlight' will return unwanted value/fail. Thus, adding NULL initialized to 'data' variable will solve the return failure happening. v2: Change commit message to reflect upstream with proper message Change-Id: I3e2d

[Intel-gfx] [PATCH 4.12 23/65] drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 5279fc7724ae3a82c9cfe5b09c1fb07ff0e41056 upstream. bdw_load_gamma_lut is writing beyond the array to the maximum value. The intend of the function is to clamp values >

[Intel-gfx] [PATCH 4.9 16/41] drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 5279fc7724ae3a82c9cfe5b09c1fb07ff0e41056 upstream. bdw_load_gamma_lut is writing beyond the array to the maximum value. The intend of the function is to clamp values >

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Don't give up waiting on INVALID_MODE

2017-08-14 Thread Pandiyan, Dhinakaran
On Fri, 2017-08-11 at 18:58 +0530, Shashank Sharma wrote: > Our current logic to read LSPCON's current mode, stops retries and > breaks wait-loop, if it gets LSPCON_MODE_INVALID as return from the > core function. This doesn't allow us to try reading the mode again. > > This patch removes this con

Re: [Intel-gfx] [PATCH] drm/i915/vbt: ignore extraneous child devices for a port

2017-08-14 Thread Manasi Navare
On Fri, Aug 11, 2017 at 02:39:07PM +0300, Jani Nikula wrote: > Ever since we've parsed VBT child devices, starting from 6acab15a7b0d > ("drm/i915: use the HDMI DDI buffer translations from VBT"), we've > ignored the child device information if more than one child device > references the same port.

Re: [Intel-gfx] [PATCH 1/2] drm: add retries for lspcon status check

2017-08-14 Thread Pandiyan, Dhinakaran
On Fri, 2017-08-11 at 18:58 +0530, Shashank Sharma wrote: > It's an observation during some CI tests that few LSPCON chips > respond slow while system is under load, and need some delay Thanks for the patch. Can you please explain what you mean by load here? I can't follow why an external chip wou

[Intel-gfx] [PATCH] drm/i915/HUC: Load HuC on Cannonlake

2017-08-14 Thread Anusha Srivatsa
Load HuC version 6.00.2188 on Cannonlake. Cc: Rodrigo Vivi Cc: Cheng Lyncoln Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/i915/intel_huc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_huc.c b/drivers/gpu/drm/i915/intel_huc.c index 6145fa0..0

Re: [Intel-gfx] [PATCH] drm/i915: Split pin mapping into per platform functions

2017-08-14 Thread Srivatsa, Anusha
>-Original Message- >From: Zanoni, Paulo R >Sent: Monday, August 14, 2017 2:14 PM >To: Srivatsa, Anusha ; intel- >g...@lists.freedesktop.org >Cc: Vivi, Rodrigo >Subject: Re: [Intel-gfx] [PATCH] drm/i915: Split pin mapping into per platform >functions > >Em Qui, 2017-08-10 às 11:42 -0700,

[Intel-gfx] ✓ Fi.CI.BAT: success for tests/kms_flip: fix spin_batch conversion

2017-08-14 Thread Patchwork
== Series Details == Series: tests/kms_flip: fix spin_batch conversion URL : https://patchwork.freedesktop.org/series/28765/ State : success == Summary == IGT patchset tested on top of latest successful build 3685dabb0ab25eb1bc2df867f749701777153056 igt/gem_exec_fence: Exercise syncobj API w

Re: [Intel-gfx] [PATCH igt 03/24] lib: Enable automatic ftrace dumping for suspend failures

2017-08-14 Thread Chris Wilson
Quoting Chris Wilson (2017-08-14 21:18:27) > Supplement dmesg with the function call graph to try and help identify > why the suspend failed. On the other hand, it may be very noisy and > perturb the system due to its overhead... And it appears ftrace is not stable enough to use across CI. Interes

Re: [Intel-gfx] [PATCH i-g-t] tests/kms_flip: fix spin_batch conversion

2017-08-14 Thread Chris Wilson
Quoting Daniel Vetter (2017-08-14 21:32:00) > The goal of these subtests was just to delay a kms operation a little > bit. The goal wasn't to > - spin until the operation was completed. That results in a gpu hang, > and gpu hangs need igt_hang for safety. > - complete it before the operation. Tha

[Intel-gfx] [PATCH i-g-t] tests/kms_flip: fix spin_batch conversion

2017-08-14 Thread Daniel Vetter
The goal of these subtests was just to delay a kms operation a little bit. The goal wasn't to - spin until the operation was completed. That results in a gpu hang, and gpu hangs need igt_hang for safety. - complete it before the operation. That's just pointless. Fix it by using the timeout suppo

[Intel-gfx] [PATCH igt 22/24] igt: Add vgem_syncobj

2017-08-14 Thread Chris Wilson
Exercise the drm_syncobj / vGEM coupling. Signed-off-by: Chris Wilson --- lib/igt_vgem.c | 68 +++- lib/igt_vgem.h | 15 +++- tests/Makefile.sources | 1 + tests/vgem_syncobj.c | 212 + 4 files changed, 276 inserti

[Intel-gfx] [PATCH igt 16/24] igt/gem_eio: i915.reset is no longer a boolean

2017-08-14 Thread Chris Wilson
Signed-off-by: Chris Wilson --- tests/gem_eio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_eio.c b/tests/gem_eio.c index 3c826626..15120842 100644 --- a/tests/gem_eio.c +++ b/tests/gem_eio.c @@ -53,7 +53,7 @@ static bool i915_reset_control(bool enable) f

[Intel-gfx] [PATCH igt 20/24] lib/core: Don't leak dummyloads between subtests

2017-08-14 Thread Chris Wilson
If a test fails or skips early, it may not clean up after itself. In lieu of having a framework for test deconstructors, hook igt_terminate_spin_batches() into exit_subtest() itself so that we don't allow a recursive batch from an earlier test to leak into the next and cause an unexpected GPU hang.

[Intel-gfx] [PATCH igt 24/24] igt: Add a test to precheck status of kernel taints

2017-08-14 Thread Chris Wilson
Many times an error may occur before the start of igt, leaving the system in a less-than-optimal debugging state (e.g. an oops turning off lockdep). Flag such occasions by checking /proc/sys/kernel/tainted. Signed-off-by: Chris Wilson --- tests/Makefile.sources | 1 + tests/kernel_taint.c | 7

[Intel-gfx] [PATCH igt 10/24] igt/gem_ctx_switch: Exercise all engines at once

2017-08-14 Thread Chris Wilson
Just a small variant to apply a continuous context-switch load to all engines. --- tests/gem_ctx_switch.c | 80 ++ 1 file changed, 80 insertions(+) diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c index b6ea71cf..df22efec 100644 --- a/te

[Intel-gfx] [PATCH igt 18/24] lib/kms: Clear unused fields for getproperty ioctl

2017-08-14 Thread Chris Wilson
==24749== Syscall param ioctl(generic) points to uninitialised byte(s) ==24749==at 0x6A8ADC7: ioctl (syscall-template.S:84) ==24749==by 0x5067687: drmIoctl (in /opt/xorg/lib64/libdrm.so.2.4.0) ==24749==by 0x138531: kmstest_set_connector_dpms (igt_kms.c:1022) ==24749==by 0x112937: se

[Intel-gfx] [PATCH igt 17/24] igt/kms_flip: Warn if the setup between iterations misses a vblank

2017-08-14 Thread Chris Wilson
During the kms_flip test we repeat the test over a short period of time, and the setup of each iteration should not itself be inducing a vblank miss. Warn if we do encounter any missed vblanks during the event setup. Signed-off-by: Chris Wilson --- tests/kms_flip.c | 13 + 1 file cha

[Intel-gfx] [PATCH igt 11/24] igt/drv_hangman: Skip if resets are disallowed

2017-08-14 Thread Chris Wilson
If we tell the machine to reset but they are disallowed, we will leave the system in a wedged state, preventing the majority of subsequent tests. --- tests/drv_hangman.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/drv_hangman.c b/tests/drv_hangman.c index 0551ec16..de57e128 100644

[Intel-gfx] [PATCH igt 07/24] igt/gem_exec_fence: Exercise syncobj API (The forgotten tests)

2017-08-14 Thread Chris Wilson
Due to premature patch pushing, lots of tests remain outstanding. Signed-off-by: Chris Wilson --- tests/gem_exec_fence.c | 331 + 1 file changed, 308 insertions(+), 23 deletions(-) diff --git a/tests/gem_exec_fence.c b/tests/gem_exec_fence.c index

[Intel-gfx] [PATCH igt 12/24] igt/gem_ringfill: Prime execbuf before measuring ring size

2017-08-14 Thread Chris Wilson
Make sure that our buffers are ready and loaded to reduce the initial stall. --- tests/gem_ringfill.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c index b52996a4..01cbd0a9 100644 --- a/tests/gem_ringfill.c +++ b/tests/ge

[Intel-gfx] [PATCH igt 09/24] igt/gem_mmap_gtt: Simulate gdb inspecting a GTT mmap using ptrace()

2017-08-14 Thread Chris Wilson
gdb uses ptrace() to peek and poke bytes of the target's address space. The kernel must implement an vm_ops->access() handler or else gdb will be unable to inspect the pointer and report it as out-of-bounds. Worse than useless as it causes immediate suspicion of the valid GTT pointer. Signed-off-b

[Intel-gfx] [PATCH igt 13/24] igt/gem_exec_suspend: Try to suspend with a pending GPU hang

2017-08-14 Thread Chris Wilson
Ensure that we can suspend the GPU even if it is currently busy in an indefinite loop, requiring us to declare the task hung. --- tests/gem_exec_suspend.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/tests/gem_exec_suspend.c b/tests/gem_exec_suspend.c index 763cb108..bc

[Intel-gfx] [PATCH igt 08/24] tests/prime_rw: Add basic tests for reading/writing to a dmabuf

2017-08-14 Thread Chris Wilson
The idea is to implement read(dmabuf) and write(dambuf) so provide some tests. Signed-off-by: Chris Wilson --- tests/Makefile.sources | 1 + tests/prime_rw.c | 179 + 2 files changed, 180 insertions(+) create mode 100644 tests/prime_rw.c

[Intel-gfx] [PATCH igt 05/24] igt/gem_exec_schedule: Exercise reordering with many priority levels

2017-08-14 Thread Chris Wilson
Apply a little more stress to the scheduler. --- lib/igt_rand.h| 6 +++ tests/gem_exec_schedule.c | 108 +- 2 files changed, 113 insertions(+), 1 deletion(-) diff --git a/lib/igt_rand.h b/lib/igt_rand.h index f664af41..c9cb3243 100644 ---

[Intel-gfx] [PATCH igt 06/24] igt/gem_exec_schedule: Basic tests for preemption

2017-08-14 Thread Chris Wilson
We queue N low priority hanging batches across the engines and check that out high priority write over takes them. Signed-off-by: Chris Wilson --- lib/igt_dummyload.c | 20 -- lib/igt_dummyload.h | 10 ++- tests/gem_busy.c | 4 +- tests/gem_exec_fence.c| 2 +-

[Intel-gfx] [PATCH igt 03/24] lib: Enable automatic ftrace dumping for suspend failures

2017-08-14 Thread Chris Wilson
Supplement dmesg with the function call graph to try and help identify why the suspend failed. On the other hand, it may be very noisy and perturb the system due to its overhead... Signed-off-by: Chris Wilson --- lib/igt_aux.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-

[Intel-gfx] ✗ Fi.CI.BAT: failure for igt/gem_exec_fence: Exercise syncobj API (The forgotten tests)

2017-08-14 Thread Patchwork
== Series Details == Series: igt/gem_exec_fence: Exercise syncobj API (The forgotten tests) URL : https://patchwork.freedesktop.org/series/28763/ State : failure == Summary == IGT patchset build failed on latest successful build 3685dabb0ab25eb1bc2df867f749701777153056 igt/gem_exec_fence: Exer

[Intel-gfx] [PATCH igt] igt/gem_exec_fence: Exercise syncobj API (The forgotten tests)

2017-08-14 Thread Chris Wilson
Due to premature patch pushing, lots of tests remain outstanding. Signed-off-by: Chris Wilson --- tests/gem_exec_fence.c | 331 + 1 file changed, 308 insertions(+), 23 deletions(-) diff --git a/tests/gem_exec_fence.c b/tests/gem_exec_fence.c index

[Intel-gfx] [PATCH v3 4/4] drm/i915: Acquire PUNIT->PMIC bus for intel_uncore_forcewake_reset()

2017-08-14 Thread Hans de Goede
intel_uncore_forcewake_reset() does forcewake puts and gets as such we need to make sure that no-one tries to access the PUNIT->PMIC bus (on systems where this bus is shared) while it runs, otherwise bad things happen. Normally this is taken care of by the i915_pmic_bus_access_notifier() which doe

[Intel-gfx] [PATCH v3 1/4] drm/i915: Fix false-positive assert_rpm_wakelock_held in i915_pmic_bus_access_notifier

2017-08-14 Thread Hans de Goede
assert_rpm_wakelock_held is triggered from i915_pmic_bus_access_notifier even though it gets unregistered on (runtime) suspend, this is caused by a race happening under the following circumstances: intel_runtime_pm_put does: atomic_dec(&dev_priv->pm.wakeref_count); pm_runtime_mark_last_bus

Re: [Intel-gfx] [PATCH v4 i-g-t] tests/kms: increase max threshold time for edid read

2017-08-14 Thread Clint Taylor
On 08/14/2017 07:40 AM, Daniel Vetter wrote: On Thu, Aug 10, 2017 at 10:50:19AM -0700, clinton.a.tay...@intel.com wrote: From: Clint Taylor Current 50ms max threshold timing for an EDID read is very close to the actual time for a 2 block HDMI EDID read. Adjust the timings base on connector t

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Don't use MI_STORE_DWORD_IMM on Sandybridge/vcs

2017-08-14 Thread Patchwork
== Series Details == Series: drm/i915: Don't use MI_STORE_DWORD_IMM on Sandybridge/vcs URL : https://patchwork.freedesktop.org/series/28754/ State : success == Summary == Series 28754v1 drm/i915: Don't use MI_STORE_DWORD_IMM on Sandybridge/vcs https://patchwork.freedesktop.org/api/1.0/series/2

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915: Work around GCC anonymous union initialization bug

2017-08-14 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915: Work around GCC anonymous union initialization bug URL : https://patchwork.freedesktop.org/series/28753/ State : failure == Summary == Series 28753v1 Series without cover letter https://patchwork.freedesktop.org/api/1.0/series/

Re: [Intel-gfx] [PATCH v4 i-g-t] tests/kms: increase max threshold time for edid read

2017-08-14 Thread Daniel Vetter
On Mon, Aug 14, 2017 at 5:30 PM, Jani Nikula wrote: > On Mon, 14 Aug 2017, Daniel Vetter wrote: >> On Mon, Aug 14, 2017 at 11:43:34AM +0300, Jani Nikula wrote: >>> On Fri, 11 Aug 2017, Clint Taylor wrote: >>> > On 08/11/2017 12:49 AM, Lofstedt, Marta wrote: >>> >> We can't have this lspcon as an

[Intel-gfx] [PATCH 1/2] drm/i915: Work around GCC anonymous union initialization bug

2017-08-14 Thread Imre Deak
GCC 4.4 can't cope with anonymous union initializers which seems to be a bug in that version (see the Reference) and is fixed since GCC version 4.6. A workaround which is also used elsewhere in the kernel for the same purpose is to wrap the initialization in curly braces, so do the same here. Fixe

[Intel-gfx] [PATCH 2/2] drm/i915/hsw+: Add support for multiple power well regs

2017-08-14 Thread Imre Deak
Future platforms increase the number of power wells which require additional control registers. A convenient way to select the correct register is to use the high bits of the power well ID as index. This patch only prepares for this, while upcoming platform enabling patches will add the actual new

Re: [Intel-gfx] [PATCH] drm/i915: Disconnect 32 and 48 bit ppGTT support

2017-08-14 Thread Zhi Wang
Glad to see this happen. :) After this patch landed, some code pieces in i915 which are specifically for disabling dynamic PDP update via LRIs under 32 bit PPGTT could also be removed. For example, gen8_preallocate_top_level_pdp() in i915_gem_gtt.c Thanks, Zhi. On 08/11/17 18:30, Chris Wils

Re: [Intel-gfx] [PATCH v4 i-g-t] tests/kms: increase max threshold time for edid read

2017-08-14 Thread Daniel Vetter
On Mon, Aug 14, 2017 at 11:43:34AM +0300, Jani Nikula wrote: > On Fri, 11 Aug 2017, Clint Taylor wrote: > > On 08/11/2017 12:49 AM, Lofstedt, Marta wrote: > >> We can't have this lspcon as an argument to the test, it will not work > >> with automated testing using piglit as we do for CI. > >> The

Re: [Intel-gfx] [PATCH 3/3] drm/i915: More surgically unbreak the modeset vs reset deadlock

2017-08-14 Thread Michel Thierry
On 8/8/2017 1:08 AM, Daniel Vetter wrote: There's no reason to entirely wedge the gpu, for the minimal deadlock bugfix we only need to unbreak/decouple the atomic commit from the gpu reset. The simplest way to fix that is by replacing the unconditional fence wait a the top of commit_tail by a wai

Re: [Intel-gfx] [PATCH 2/8] drm: Don't update property values for atomic drivers

2017-08-14 Thread Daniel Vetter
On Mon, Aug 14, 2017 at 01:32:07PM +0300, Laurent Pinchart wrote: > On Monday 14 Aug 2017 09:25:47 Daniel Vetter wrote: > > On Sat, Aug 12, 2017 at 12:20 AM, Laurent Pinchart > > > > wrote: > > > On Tuesday 25 Jul 2017 10:01:16 Daniel Vetter wrote: > > >> diff --git a/drivers/gpu/drm/drm_mode_obj

Re: [Intel-gfx] [PATCH i-g-t 1/4] lib: Add igt_can_fail()

2017-08-14 Thread Petri Latvala
On Mon, Aug 14, 2017 at 12:48:54PM +0300, Petri Latvala wrote: > The series LGTM. > > Can you resend the whole series and slap a revert of > 1385b31d9371fae02af2fd8adb0d9ea86a5bb0f2 at the end? With a pass of > CI on such a bunch this series is > > Reviewed-by: Petri Latvala > Did a manual bu

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/4] lib: Add igt_can_fail()

2017-08-14 Thread Patchwork
== Series Details == Series: series starting with [1/4] lib: Add igt_can_fail() URL : https://patchwork.freedesktop.org/series/28745/ State : success == Summary == IGT patchset tested on top of latest successful build 0c514b0cb876fb578afb2bb0297579bc896251d8 configure.ac: bump libdrm requireme

[Intel-gfx] ✓ Fi.CI.BAT: success for tests/kms_frontbuffer_tracking: convert macros to functions (rev3)

2017-08-14 Thread Patchwork
== Series Details == Series: tests/kms_frontbuffer_tracking: convert macros to functions (rev3) URL : https://patchwork.freedesktop.org/series/28389/ State : success == Summary == IGT patchset tested on top of latest successful build 0c514b0cb876fb578afb2bb0297579bc896251d8 configure.ac: bump

Re: [Intel-gfx] [PATCH v2] drm/i915: Handle full s64 precision for wait-ioctl

2017-08-14 Thread Joonas Lahtinen
On Fri, 2017-08-11 at 11:57 +0100, Chris Wilson wrote: > The wait-ioctl is optionally supplied a timeout with nanosecond > precision in a s64 field. We use nsecs_to_jiffies64() to convert that > into the jiffies consumed by the scheduler, but internally > nsecs_to_jiffies64() does not guard against

Re: [Intel-gfx] [PATCH v10 1/3] drm/i915: Disconnect 32 and 48 bit ppGTT support

2017-08-14 Thread Chris Wilson
Quoting Zhenyu Wang (2017-08-14 08:41:38) > From: Joonas Lahtinen > > Configurations like virtualized environments may support only 48 bit > ppGTT without supporting 32 bit ppGTT. Support this by disconnecting > the relationship of the two feature bits. > > Cc: Tina Zhang > Cc: Chris Wilson >

Re: [Intel-gfx] [RFC] Introduce dynamic PPAT allocation for GVT-g

2017-08-14 Thread Chris Wilson
Quoting Zhi Wang (2017-08-14 13:04:34) > [ BACKGROUND ] > > Due to different guests will have different PPAT configuration under > virtualization environment, for example, Windows guest vs Linux guest, a > possible idea to handle this open is > > 1)Letting host have the PPAT entries needed by g

Re: [Intel-gfx] [PATCH 2/8] drm: Don't update property values for atomic drivers

2017-08-14 Thread Laurent Pinchart
On Monday 14 Aug 2017 09:25:47 Daniel Vetter wrote: > On Sat, Aug 12, 2017 at 12:20 AM, Laurent Pinchart > > wrote: > > On Tuesday 25 Jul 2017 10:01:16 Daniel Vetter wrote: > >> diff --git a/drivers/gpu/drm/drm_mode_object.c > >> b/drivers/gpu/drm/drm_mode_object.c index da9a9adbcc98..92743a796bf

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/atomic: Handle -EDEADLK with out-fences correctly

2017-08-14 Thread Patchwork
== Series Details == Series: drm/atomic: Handle -EDEADLK with out-fences correctly URL : https://patchwork.freedesktop.org/series/28747/ State : success == Summary == Series 28747v1 drm/atomic: Handle -EDEADLK with out-fences correctly https://patchwork.freedesktop.org/api/1.0/series/28747/rev

Re: [Intel-gfx] [PATCH v10 0/3] vGPU full 48bit ppgtt support

2017-08-14 Thread Zhang, Tina
> -Original Message- > From: Zhenyu Wang [mailto:zhen...@linux.intel.com] > Sent: Monday, August 14, 2017 6:12 PM > To: Zhang, Tina > Cc: intel-gfx@lists.freedesktop.org; Joonas Lahtinen > ; intel-gvt-...@lists.freedesktop.org > Subject: Re: [PATCH v10 0/3] vGPU full 48bit ppgtt support

Re: [Intel-gfx] [PATCH v10 0/3] vGPU full 48bit ppgtt support

2017-08-14 Thread Zhenyu Wang
On 2017.08.14 10:09:38 +, Zhang, Tina wrote: > > Just refresh against Joonas's disconnect 32/48bit ppgtt support patch and > > give > > full view on this series. If ok, I'll include them for gvt-next pull. > Thanks Zhenyu. Looks like one patch is missing: > https://lists.freedesktop.org/archiv

Re: [Intel-gfx] [PATCH v10 0/3] vGPU full 48bit ppgtt support

2017-08-14 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Zhenyu Wang > Sent: Monday, August 14, 2017 3:42 PM > To: intel-gfx@lists.freedesktop.org > Cc: Joonas Lahtinen ; intel-gvt- > d...@lists.freedesktop.org > Subject: [PATCH v10 0/

Re: [Intel-gfx] [PATCH] drm/i915/gen9: Send all components in VF state

2017-08-14 Thread Mika Kuoppala
Chris Wilson writes: > Quoting Mika Kuoppala (2017-08-10 12:04:51) >> Update gen9 renderstate to account the, long overdue, changes for >> igt commit 5c07135b7bd2 ("tools/null_state/gen9: Send all >> components in VF state"). >> >> Signed-off-by: Mika Kuoppala > > Does what it says on the tin,

[Intel-gfx] [PATCH i-g-t 2/4] lib/kms: Add for_each_pipe_static

2017-08-14 Thread Daniel Vetter
for_each_pipe cannot be used for enumerating testcases, so provide something that can. Signed-off-by: Daniel Vetter --- lib/igt_kms.h | 16 tests/kms_busy.c| 3 ++- tests/kms_concurrent.c | 3 ++- tests/kms_cursor_legacy.c | 3 ++- tests/kms_p

[Intel-gfx] [PATCH i-g-t 3/4] tests/kms_ccs: Fix subtest enumeration:

2017-08-14 Thread Daniel Vetter
- We can't enumerate planes, push that into the subtest. - pipe enumeration needs to use for_each_pipe_static. This fells our CI since the test enumeration/sharding happens on the build server, which has no gfx nor does the job run as root ... Cc: Daniel Stone Cc: Jason Ekstrand Signed-off-by:

[Intel-gfx] [PATCH i-g-t 1/4] lib: Add igt_can_fail()

2017-08-14 Thread Daniel Vetter
Useful to make sure folks use library helpers correctly. Signed-off-by: Daniel Vetter --- lib/igt_core.c | 20 +-- lib/igt_core.h | 2 ++ lib/tests/.gitignore| 2 ++ lib/tests/Makefile.sources | 2 ++ lib/tests/igt_can_fail.c

[Intel-gfx] ✗ Fi.CI.BAT: failure for tests/kms_frontbuffer_tracking: convert macros to functions (rev2)

2017-08-14 Thread Patchwork
== Series Details == Series: tests/kms_frontbuffer_tracking: convert macros to functions (rev2) URL : https://patchwork.freedesktop.org/series/28389/ State : failure == Summary == IGT patchset build failed on latest successful build 1385b31d9371fae02af2fd8adb0d9ea86a5bb0f2 tests/igt_command_li

[Intel-gfx] [PATCH i-g-t] tests/kms_frontbuffer_tracking: convert macros to functions

2017-08-14 Thread Daniel Vetter
Macros that should be C functions but aren't are really hard to read and confusing. Convert them over. v2: Clean up commit message and keep printing the line numbers (Paulo). v3: Actually git add (silly me). Cc: Paulo Zanoni Signed-off-by: Daniel Vetter --- tests/kms_frontbuffer_tracking.c |

[Intel-gfx] [PATCH i-g-t] tests/kms_frontbuffer_tracking: convert macros to functions

2017-08-14 Thread Daniel Vetter
Macros that should be C functions but aren't are really hard to read and confusing. Convert them over. v2: Clean up commit message and keep printing the line numbers (Paulo). Cc: Paulo Zanoni Signed-off-by: Daniel Vetter --- tests/kms_frontbuffer_tracking.c | 166 --

Re: [Intel-gfx] [maintainer-tools PATCH 1/4] doc: add documentation for dim commit-add-tag

2017-08-14 Thread Jani Nikula
On Fri, 11 Aug 2017, Rodrigo Vivi wrote: > Reviewed-by: Rodrigo Vivi Thanks, pushed the lot. BR, Jani. > > On Fri, Aug 11, 2017 at 06:03:22PM +0300, Jani Nikula wrote: >> Reported by 'make mancheck'. >> >> Signed-off-by: Jani Nikula >> --- >> dim.rst | 4 >> 1 file changed, 4 insertion

Re: [Intel-gfx] [PATCH v4 i-g-t] tests/kms: increase max threshold time for edid read

2017-08-14 Thread Jani Nikula
On Fri, 11 Aug 2017, Clint Taylor wrote: > On 08/11/2017 12:49 AM, Lofstedt, Marta wrote: >> We can't have this lspcon as an argument to the test, it will not work with >> automated testing using piglit as we do for CI. >> Theoretically we could add a "has_lspcon" to debugfs, but I believe that

[Intel-gfx] ✓ Fi.CI.BAT: success for vGPU full 48bit ppgtt support

2017-08-14 Thread Patchwork
== Series Details == Series: vGPU full 48bit ppgtt support URL : https://patchwork.freedesktop.org/series/28741/ State : success == Summary == Series 28741v1 vGPU full 48bit ppgtt support https://patchwork.freedesktop.org/api/1.0/series/28741/revisions/1/mbox/ Test kms_cursor_legacy:

[Intel-gfx] [PATCH v10 0/3] vGPU full 48bit ppgtt support

2017-08-14 Thread Zhenyu Wang
Just refresh against Joonas's disconnect 32/48bit ppgtt support patch and give full view on this series. If ok, I'll include them for gvt-next pull. Thanks Joonas Lahtinen (1): drm/i915: Disconnect 32 and 48 bit ppGTT support Tina Zhang (2): drm/i915: Enable guest i915 full ppgtt functionali

[Intel-gfx] [PATCH v10 3/3] drm/i915/gvt: Fix guest i915 full ppgtt blocking issue

2017-08-14 Thread Zhenyu Wang
From: Tina Zhang Guest i915 full ppgtt functionality was blocking by an issue, which would lead to gpu hardware hang. Guest i915 driver may update the ppgtt table just before this workload is going to be submitted to the hardware by device model. This case wasn't handled well by device model befo

[Intel-gfx] [PATCH v10 1/3] drm/i915: Disconnect 32 and 48 bit ppGTT support

2017-08-14 Thread Zhenyu Wang
From: Joonas Lahtinen Configurations like virtualized environments may support only 48 bit ppGTT without supporting 32 bit ppGTT. Support this by disconnecting the relationship of the two feature bits. Cc: Tina Zhang Cc: Chris Wilson Cc: Zhi Wang Signed-off-by: Joonas Lahtinen --- drivers/g

Re: [Intel-gfx] [PATCH 2/8] drm: Don't update property values for atomic drivers

2017-08-14 Thread Daniel Vetter
On Sat, Aug 12, 2017 at 12:20 AM, Laurent Pinchart wrote: > On Tuesday 25 Jul 2017 10:01:16 Daniel Vetter wrote: >> diff --git a/drivers/gpu/drm/drm_mode_object.c >> b/drivers/gpu/drm/drm_mode_object.c index da9a9adbcc98..92743a796bf0 100644 >> --- a/drivers/gpu/drm/drm_mode_object.c >> +++ b/driv

Re: [Intel-gfx] [PATCH] drm/i915: Disconnect 32 and 48 bit ppGTT support

2017-08-14 Thread Wang, Zhi A
Thanks! LGTM. :) -Original Message- From: Zhenyu Wang [mailto:zhen...@linux.intel.com] Sent: Monday, August 14, 2017 3:01 PM To: Wang, Zhi A Cc: Joonas Lahtinen ; Intel graphics driver community testing & development Subject: Re: [Intel-gfx] [PATCH] drm/i915: Disconnect 32 and 48 bit p

Re: [Intel-gfx] [PATCH] drm/i915: Disconnect 32 and 48 bit ppGTT support

2017-08-14 Thread Zhenyu Wang
On 2017.08.14 20:34:48 +0800, Zhi Wang wrote: > Looks has_full_48bit_ppgtt is tied to has_full_ppgtt now. Will that be > disconnected also in future? > That's what this is for. So for gvt, we just set has_full_48bit_ppgtt but not has_full_ppgtt. > On 08/11/17 17:51, Joonas Lahtinen wrote: > > Con