[Intel-gfx] [PULL] drm-misc-fixes for 4.11

2017-04-11 Thread Sean Paul
Hi Dave, I have a lonely pull request for you. Just the patch you asked me to pick up this morning. drm-misc-fixes-2017-04-11: Core changes: - None Driver changes - udl: Fix unaligned memory access on SPARC (Jonathan) Cheers, Sean The following changes since commit a71c9a1c779f2499fb2afc0

Re: [Intel-gfx] [PATCH] drm/i915: Fix use after free in lpe_audio_platdev_destroy()

2017-04-11 Thread Chris Wilson
On Wed, Mar 01, 2017 at 06:59:18PM +, Chris Wilson wrote: > [31908.547136] BUG: KASAN: use-after-free in > intel_lpe_audio_teardown+0x78/0xb0 [i915] at addr 8801f7788358 > [31908.547297] Read of size 8 by task drv_selftest/3781 > [31908.547405] CPU: 0 PID: 3781 Comm: drv_selftest Tainted:

[Intel-gfx] [PATCH v4] drm/i915: Eliminate lots of iterations over the execobjects array

2017-04-11 Thread Chris Wilson
The major scaling bottleneck in execbuffer is the processing of the execobjects. Creating an auxiliary list is inefficient when compared to using the execobject array we already have allocated. Reservation is then split into phases. As we lookup up the VMA, we try and bind it back into active loca

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [01/13] drm/i915: Reinstate reservation_object zapping for batch_pool objects (rev2)

2017-04-11 Thread Patchwork
== Series Details == Series: series starting with [01/13] drm/i915: Reinstate reservation_object zapping for batch_pool objects (rev2) URL : https://patchwork.freedesktop.org/series/22099/ State : failure == Summary == LD drivers/acpi/built-in.o LD drivers/scsi/scsi_mod.o LD

Re: [Intel-gfx] [PATCH] drm/i915: Fix use after free in lpe_audio_platdev_destroy()

2017-04-11 Thread Takashi Iwai
On Tue, 11 Apr 2017 22:41:12 +0200, Chris Wilson wrote: > > On Wed, Mar 01, 2017 at 06:59:18PM +, Chris Wilson wrote: > > [31908.547136] BUG: KASAN: use-after-free in > > intel_lpe_audio_teardown+0x78/0xb0 [i915] at addr 8801f7788358 > > [31908.547297] Read of size 8 by task drv_selftest/

Re: [Intel-gfx] [PATCH] drm/i915: Fix use after free in lpe_audio_platdev_destroy()

2017-04-11 Thread Chris Wilson
On Tue, Apr 11, 2017 at 11:01:57PM +0200, Takashi Iwai wrote: > On Tue, 11 Apr 2017 22:41:12 +0200, > Chris Wilson wrote: > > > > On Wed, Mar 01, 2017 at 06:59:18PM +, Chris Wilson wrote: > > > [31908.547136] BUG: KASAN: use-after-free in > > > intel_lpe_audio_teardown+0x78/0xb0 [i915] at add

Re: [Intel-gfx] [PATCH] drm/i915: Fix use after free in lpe_audio_platdev_destroy()

2017-04-11 Thread Chris Wilson
On Tue, Apr 11, 2017 at 10:20:56PM +0100, Chris Wilson wrote: > On Tue, Apr 11, 2017 at 11:01:57PM +0200, Takashi Iwai wrote: > > On Tue, 11 Apr 2017 22:41:12 +0200, > > Chris Wilson wrote: > > Oh, this fell into a crack as it was sent just before my vacation. > > > > About the change: > > > > >

[Intel-gfx] [PATCH 2/3] drm/i915: Pretend the engine is always idle when mocking

2017-04-11 Thread Chris Wilson
If we have a mock engine and it has no more requests in flight, report it as idle as there is no hardware to contradict us! Otherwise we attempt to query the hw that doesn't exist and find that the hw hasn't set its idle bit and we get upset. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/

[Intel-gfx] [PATCH 3/3] drm/i915: Wake device for emitting request during selftest

2017-04-11 Thread Chris Wilson
igt_mmap_offset_exhaustion() selftest was using live requests to make an object busy, but we did not hold a runtime pm wakeref for submitting the requests. Acquire it to avoid triggering "RPM wakelock ref not held during HW access" warnings. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/s

[Intel-gfx] [PATCH 1/3] drm/i915: Add stub mmio read/write routines to mock device

2017-04-11 Thread Chris Wilson
Provide dummy function pointers for the mock device in case we do hit mmio during testing. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_uncore.c | 1 + drivers/gpu/drm/i915/selftests/mock_gem_device.c | 2 + drivers/gpu/drm/i915/selftests/mock_uncore.c | 52 +

[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915: Add stub mmio read/write routines to mock device

2017-04-11 Thread Patchwork
== Series Details == Series: series starting with [1/3] drm/i915: Add stub mmio read/write routines to mock device URL : https://patchwork.freedesktop.org/series/22891/ State : success == Summary == Series 22891v1 Series without cover letter https://patchwork.freedesktop.org/api/1.0/series/22

Re: [Intel-gfx] [PATCH] drm/i915: Fix use after free in lpe_audio_platdev_destroy()

2017-04-11 Thread Takashi Iwai
On Tue, 11 Apr 2017 23:27:07 +0200, Chris Wilson wrote: > > On Tue, Apr 11, 2017 at 10:20:56PM +0100, Chris Wilson wrote: > > On Tue, Apr 11, 2017 at 11:01:57PM +0200, Takashi Iwai wrote: > > > On Tue, 11 Apr 2017 22:41:12 +0200, > > > Chris Wilson wrote: > > > Oh, this fell into a crack as it was

<    1   2