NULL pointer dereference in i915_gem_request_alloc()

2017-01-01 Thread vcap...@pengaru.com
Hi Chris, I've uncovered a bug in i915_gem_request_alloc(): https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/i915/i915_gem_request.c?h=v4.9#n425 ctx here may be NULL, and i915_gem_context_get() is unconditionally adding a reference to the supplied ctx, which ma

RFC: fb restore on drm master close

2017-01-04 Thread vcap...@pengaru.com
On Wed, Jan 04, 2017 at 12:38:04AM -0800, St??phane Marchesin wrote: > On Wed, Jan 4, 2017 at 12:30 AM, Daniel Vetter wrote: > > On Wed, Dec 21, 2016 at 12:13:06PM -0600, vcaputo at pengaru.com wrote: > >> Hello list, > >> > >> I've been playing with an unaccelerated drm program[1] and have been >

4.10-rc2 i915 LVDS display noise on X61s thinkpad

2017-01-08 Thread vcap...@pengaru.com
Hi All, Booted 4.10-rc2 today, and the display shows random spots of flickering short horizontal bars 1px tall, maybe 8 or 16px wide. Machine is the venerable X61s thinkpad, 1.8ghz, XGA. Problem was not present on 4.9.0, same kernel config. I'll see if I can get around to bisecting, consider th

NULL pointer dereference in i915_gem_request_alloc()

2017-01-09 Thread vcap...@pengaru.com
On Mon, Jan 02, 2017 at 10:09:35AM +, Chris Wilson wrote: > On Sun, Jan 01, 2017 at 03:16:31PM -0600, vcaputo at pengaru.com wrote: > > Hi Chris, > > > > I've uncovered a bug in i915_gem_request_alloc(): > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/i

RFC: fb restore on drm master close

2016-12-21 Thread vcap...@pengaru.com
Hello list, I've been playing with an unaccelerated drm program[1] and have been annoyed that whenever this program exits the fbcon isn't restored, with the display left completely off. This seems to happen because Xorg is still running from a different VT. Upon further investigation, it seems l