[Intel-gfx] [CI 2/2] drm/i915: Show PCI power state under debugfs/i915_runtime_pm_status

2016-04-03 Thread Chris Wilson
As the current PCI power state is an essential feature of runtime pm, include it in the debugfs/i915_runtime_pm_status. v2: Use pci_power_name() Signed-off-by: Chris Wilson Cc: Imre Deak Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_debugfs.c | 9 + 1 file changed, 5 insert

[Intel-gfx] [CI 1/2] drm/i915: Add struct_mutex locking for debugs/i915_gem_framebuffer

2016-04-03 Thread Chris Wilson
Since describe_obj() looks at state guarded by the struct_mutex, we need to be holding it. [ 580.201054] drv_suspend: starting subtest debugfs-reader [ 580.239652] [ cut here ] [ 580.239696] WARNING: CPU: 0 PID: 920 at include/linux/list_check.h:25 describe_obj+0x419/0x

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [CI,1/2] drm/i915: Add struct_mutex locking for debugs/i915_gem_framebuffer

2016-04-03 Thread Patchwork
== Series Details == Series: series starting with [CI,1/2] drm/i915: Add struct_mutex locking for debugs/i915_gem_framebuffer URL : https://patchwork.freedesktop.org/series/5235/ State : success == Summary == Series 5235v1 Series without cover letter http://patchwork.freedesktop.org/api/1.0/s

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

2016-04-03 Thread jairo . daniel . miramontes . caton
WW14 Regression report. Last week regressions +---+---+++ | BugId | Summary | Created on | Bisect | +---+---+++ | 94748 |

[Intel-gfx] [PATCH 2/3] drm/i915/userptr: Hold mmref whilst calling get-user-pages

2016-04-03 Thread Chris Wilson
Holding a reference to the containing task_struct is not sufficient to prevent the mm_struct from being reaped under memory pressure. If this happens whilst we are calling get_user_pages(), explosions errupt - sometimes an immediate GPF, sometimes page flag corruption. To prevent the target mm from

[Intel-gfx] [PATCH 3/3] drm/i915: Store i915 pointer for userptr i915_mm_struct

2016-04-03 Thread Chris Wilson
Since we only ever use the drm_i915_private from the stored i915_mm_struct->dev, save some electons by storing the right backpointer. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Michał Winiarski --- drivers/gpu/drm/i915/i915_gem_userptr.c | 10 +- 1 file changed, 5 insertions(+)

[Intel-gfx] [PATCH 1/3] drm/i915/userptr: Flush cancellations before mmu-notifier invalidate returns

2016-04-03 Thread Chris Wilson
In order to ensure that all invalidations are completed before the operation returns to userspace (i.e. before the mmap() syscall returns) we need to flush the outstanding operations. To this end, we submit all the per-object invalidation work to a private workqueue and then flush the workqueue at

[Intel-gfx] [PATCH] drm/i915/ddi: Silence compiler warning for unknown output type

2016-04-03 Thread Chris Wilson
Silences src/drivers/gpu/drm/i915/intel_ddi.c: warning: 'port' may be used uninitialized in this function [-Wuninitialized] Reported-by: Geert Uytterhoeven Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_ddi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

Re: [Intel-gfx] [PATCH 2/3] drm/i915/userptr: Hold mmref whilst calling get-user-pages

2016-04-03 Thread Michał Winiarski
On Sun, Apr 03, 2016 at 06:14:06PM +0100, Chris Wilson wrote: > Holding a reference to the containing task_struct is not sufficient to > prevent the mm_struct from being reaped under memory pressure. If this > happens whilst we are calling get_user_pages(), explosions errupt - > sometimes an immedi

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Store i915 pointer for userptr i915_mm_struct

2016-04-03 Thread Michał Winiarski
On Sun, Apr 03, 2016 at 06:14:07PM +0100, Chris Wilson wrote: > Since we only ever use the drm_i915_private from the stored > i915_mm_struct->dev, save some electons by storing the right > backpointer. > > Signed-off-by: Chris Wilson > Cc: Tvrtko Ursulin > Cc: Michał Winiarski s/electons/elect

[Intel-gfx] [PATCH i-g-t] Adding tests using COMMIT_ATOMIC path

2016-04-03 Thread Pratik Vishwakarma
From: pvishwak v2: (Marius) Updated commit message https://patchwork.freedesktop.org/patch/76040/ Signed-off-by: Pratik Vishwakarma --- tests/kms_rotation_crc.c | 24 1 file changed, 24 insertions(+) diff --git a/tests/kms_rotation_crc.c b/tests/kms_ro

[Intel-gfx] [PATCH] drm/i915: Set ctx->ppgtt to aliasing PPGTT if full PPGTT mode isn't enabled

2016-04-03 Thread Zhi Wang
In populate_lr_context(), if the ctx->ppgtt == NULL, then it will populate the PDPs with aliasing PPGTT. This patch will directly set the ctx->ppgtt to aliasing PPGTT if full PPGTT mode isn't enabled when creating a context. Signed-off-by: Zhi Wang --- drivers/gpu/drm/i915/i915_gem_context.c | 3

Re: [Intel-gfx] [PATCH] drm/i915/ddi: Silence compiler warning for unknown output type

2016-04-03 Thread Joonas Lahtinen
On su, 2016-04-03 at 21:59 +0100, Chris Wilson wrote: > Silences > > src/drivers/gpu/drm/i915/intel_ddi.c: warning: 'port' may be used > uninitialized in this function [-Wuninitialized] > > Reported-by: Geert Uytterhoeven > Signed-off-by: Chris Wilson > --- >  drivers/gpu/drm/i915/intel_

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915/userptr: Flush cancellations before mmu-notifier invalidate returns

2016-04-03 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915/userptr: Flush cancellations before mmu-notifier invalidate returns URL : https://patchwork.freedesktop.org/series/5240/ State : success == Summary == Series 5240v1 Series without cover letter http://patchwork.freedesktop.org/ap

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/ddi: Silence compiler warning for unknown output type

2016-04-03 Thread Patchwork
== Series Details == Series: drm/i915/ddi: Silence compiler warning for unknown output type URL : https://patchwork.freedesktop.org/series/5247/ State : success == Summary == Series 5247v1 drm/i915/ddi: Silence compiler warning for unknown output type http://patchwork.freedesktop.org/api/1.0/s