Re: [Intel-gfx] [PATCH 3/3] igt/kms_flip: Use new igt_spin_batch

2016-10-30 Thread Abdiel Janulgue
On 10/28/2016 07:02 PM, Ville Syrjälä wrote: > On Fri, Oct 28, 2016 at 06:47:26PM +0300, Abdiel Janulgue wrote: >> Cc: Chris Wilson >> Cc: Daniel Vetter >> Signed-off-by: Abdiel Janulgue >> --- >> tests/kms_flip.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a

[Intel-gfx] [Regression report] Weekly regression report WW44

2016-10-30 Thread Jairo Miramontes
Total regressions: 47 This week regressions:3 +---+---+++ | BugId | Summary | Created on | Bisect | +---+---+++ | 98462 | [

[Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: Discard objects from mm global_list after being shrunk

2016-10-30 Thread Patchwork
== Series Details == Series: drm/i915: Discard objects from mm global_list after being shrunk URL : https://patchwork.freedesktop.org/series/14581/ State : warning == Summary == Series 14581v1 drm/i915: Discard objects from mm global_list after being shrunk https://patchwork.freedesktop.org/ap

[Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: Track pages pinned due to swizzling quirk

2016-10-30 Thread Patchwork
== Series Details == Series: drm/i915: Track pages pinned due to swizzling quirk URL : https://patchwork.freedesktop.org/series/14580/ State : warning == Summary == Series 14580v1 drm/i915: Track pages pinned due to swizzling quirk https://patchwork.freedesktop.org/api/1.0/series/14580/revisio

[Intel-gfx] [PATCH] drm/i915: Discard objects from mm global_list after being shrunk

2016-10-30 Thread Chris Wilson
In the shrinker, we can safely remove an empty object (obj->mm.pages == NULL) after having discarded the pages because we are holding the struct_mutex. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_shrinker.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i91

[Intel-gfx] [PATCH] drm/i915: Track pages pinned due to swizzling quirk

2016-10-30 Thread Chris Wilson
If we have a tiled object and an unknown CPU swizzle pattern, we pin the pages to prevent the object from being swapped out (and us corrupting the contents as we do not know the access pattern and so cannot convert it to linear and back to tiled on reuse). This requires us to remember to drop the e

[Intel-gfx] ✗ Fi.CI.BAT: warning for drm/i915: Export a function to flush the context upon pinning

2016-10-30 Thread Patchwork
== Series Details == Series: drm/i915: Export a function to flush the context upon pinning URL : https://patchwork.freedesktop.org/series/14579/ State : warning == Summary == Series 14579v1 drm/i915: Export a function to flush the context upon pinning https://patchwork.freedesktop.org/api/1.0/

[Intel-gfx] [PATCH] drm/i915: Export a function to flush the context upon pinning

2016-10-30 Thread Chris Wilson
For legacy contexts we employ an optimisation to only flush the context when binding into the global GTT. This avoids stalling onthe GPU when reloading an active context. Wrap this detail up into a helper and export it for a potential third user. (Longer term, context pinning needs to be reworked a

Re: [Intel-gfx] [PATCH i-g-t 2/4 v4] lib/igt_gvt: Make use of libkmod helpers and fix reading gvt parameter.

2016-10-30 Thread Chris Wilson
On Sun, Oct 30, 2016 at 02:47:56PM +0200, Marius Vlad wrote: > On Fri, Oct 28, 2016 at 11:08:19AM +0100, Chris Wilson wrote: > > On Fri, Oct 28, 2016 at 12:31:27PM +0300, Marius Vlad wrote: > > > Signed-off-by: Marius Vlad > > > --- > > > lib/igt_gvt.c | 42 +++

Re: [Intel-gfx] [PATCH i-g-t 2/4 v4] lib/igt_gvt: Make use of libkmod helpers and fix reading gvt parameter.

2016-10-30 Thread Marius Vlad
On Fri, Oct 28, 2016 at 11:08:19AM +0100, Chris Wilson wrote: > On Fri, Oct 28, 2016 at 12:31:27PM +0300, Marius Vlad wrote: > > Signed-off-by: Marius Vlad > > --- > > lib/igt_gvt.c | 42 +++--- > > tests/gvt_basic.c | 2 +- > > 2 files changed, 36 inserti

Re: [Intel-gfx] [PATCH i-g-t 4/4 v4] tests/kms_sysfs_edid_timing: Convert sh to C version.

2016-10-30 Thread Marius Vlad
On Fri, Oct 28, 2016 at 11:03:44AM +0100, Chris Wilson wrote: > On Fri, Oct 28, 2016 at 12:31:29PM +0300, Marius Vlad wrote: > > v2: > > - don't read cached values (Chris Wilson) > > - warn on per connector, and fail per mean (Chris Wilson) > > > > These are synthetic: 5us per connector, and 600us

Re: [Intel-gfx] [PATCH i-g-t 3/4 v4] tests/drv_module_reload: Convert sh script to C version.

2016-10-30 Thread Marius Vlad
On Fri, Oct 28, 2016 at 10:48:33AM +0100, Chris Wilson wrote: > On Fri, Oct 28, 2016 at 12:31:28PM +0300, Marius Vlad wrote: > > + igt_subtest_group { > > + int fd; > > + > > + igt_fixture > > + fd = __drm_open_driver(DRIVER_INTEL); > > + > > + igt_