[Intel-gfx] [PATCH] drm/i915: Propagate error from drm_gem_object_init()

2016-04-25 Thread Matthew Auld
From: Chris Wilson Propagate the real error from drm_gem_object_init(). Note this also fixes some confusion in the error return from i915_gem_alloc_object... v2: (Matthew Auld) - updated new users of gem_alloc_object from latest drm-nightly - replaced occurrences

Re: [Intel-gfx] [PATCH] drm/i915: Propagate error from drm_gem_object_init()

2016-04-22 Thread Joonas Lahtinen
On pe, 2016-04-22 at 12:59 +0100, Dave Gordon wrote: > On 22/04/16 11:57, Matthew Auld wrote: > > > > From: Chris Wilson > > > > Propagate the real error from drm_gem_object_init(). Note this also > > fixes some confusion in the error return from

Re: [Intel-gfx] [PATCH] drm/i915: Propagate error from drm_gem_object_init()

2016-04-22 Thread Dave Gordon
On 22/04/16 11:57, Matthew Auld wrote: From: Chris Wilson Propagate the real error from drm_gem_object_init(). Note this also fixes some confusion in the error return from i915_gem_alloc_object... v2: (Matthew Auld) - updated new users of gem_alloc_object from

[Intel-gfx] [PATCH] drm/i915: Propagate error from drm_gem_object_init()

2016-04-22 Thread Matthew Auld
From: Chris Wilson Propagate the real error from drm_gem_object_init(). Note this also fixes some confusion in the error return from i915_gem_alloc_object... v2: (Matthew Auld) - updated new users of gem_alloc_object from latest drm-nightly - replaced occurrences

[Intel-gfx] [PATCH] drm/i915: Propagate error from drm_gem_object_init()

2015-09-23 Thread Chris Wilson
Propagate the real error from drm_gem_object_init(). Note this also fixes some confusion in the error return from i915_gem_alloc_object... Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem.c | 12 +++- drivers/gpu/drm/i915/i915_gem_context.c