Re: [Intel-gfx] [PATCH 1/3] drm/i915: stop registering if drm_dev_register() fails

2020-11-24 Thread Chris Wilson
Quoting Lucas De Marchi (2020-11-24 19:13:14) > If drm_dev_register() fails there is no reason to continue registering > the driver and initializing. > > Signed-off-by: Lucas De Marchi > --- > drivers/gpu/drm/i915/i915_drv.c | 20 +++- > 1 file changed, 11 insertions(+), 9 deleti

[Intel-gfx] [PATCH 1/3] drm/i915: stop registering if drm_dev_register() fails

2020-11-24 Thread Lucas De Marchi
If drm_dev_register() fails there is no reason to continue registering the driver and initializing. Signed-off-by: Lucas De Marchi --- drivers/gpu/drm/i915/i915_drv.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drive