[Intel-gfx] [PATCH 5/5] drm/i915/gtt: Setup vm callbacks late

Chris Wilson chris at chris-wilson.co.uk
Wed Feb 22 17:20:17 UTC 2017


On Wed, Feb 22, 2017 at 06:54:25PM +0200, Mika Kuoppala wrote:
> If we manage to tangle errorpaths and get call to callbacks,
> it is better to defensively keep them as null until object init is
> finished so that we get clean null deref on callsite,
> instead of more cryptic wreckage with partly initialized vm objects.
> 
> Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>

Series looks ok, but you opened a can of bikeshed! :)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list