Quoting Chris Wilson (2018-10-02 12:18:49)
> Quoting Andi Shyti (2018-10-02 10:20:47)
> > During driver load it's considered that the i915_driver_create()
> > function fails only in case of insufficient memory. Indeed, in
> > case of failure of i915_driver_create(), the load function
> > returns indiscriminately -ENOMEM ignoring the real cause of
> > failure.
> 
> Though if it is not ENOMEM, some stern words will be addressed to
> whomever at fault.
>  
> > In i915_driver_create() get the consistent error value from
> > drm_dev_init() and embed it in the pointer return value.
> > 
> > Signed-off-by: Andi Shyti <andi.sh...@intel.com>
> Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk>

And pushed, thanks for the patch.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to