Re: [Intel-gfx] [PATCH] drm/i915/guc: Skip cleaning up the doorbells on error-before-allocate

2018-07-12 Thread Chris Wilson
Quoting Michał Winiarski (2018-07-12 14:12:48) > On Thu, Jul 12, 2018 at 11:58:30AM +0100, Chris Wilson wrote: > > If we fail the module load, we may try and cleanup before we even > > allocate the GuC clients. KISS in order to try and re-enable > > drv_module_reload for BAT. > > > > Testcase: igt

Re: [Intel-gfx] [PATCH] drm/i915/guc: Skip cleaning up the doorbells on error-before-allocate

2018-07-12 Thread Michał Winiarski
On Thu, Jul 12, 2018 at 11:58:30AM +0100, Chris Wilson wrote: > If we fail the module load, we may try and cleanup before we even > allocate the GuC clients. KISS in order to try and re-enable > drv_module_reload for BAT. > > Testcase: igt/drv_module_reload/basic-reload-inject > Signed-off-by: Chr

[Intel-gfx] [PATCH] drm/i915/guc: Skip cleaning up the doorbells on error-before-allocate

2018-07-12 Thread Chris Wilson
If we fail the module load, we may try and cleanup before we even allocate the GuC clients. KISS in order to try and re-enable drv_module_reload for BAT. Testcase: igt/drv_module_reload/basic-reload-inject Signed-off-by: Chris Wilson Cc: Michał Winiarski Cc: Michal Wajdeczko --- drivers/gpu/dr