[Intel-gfx] [PATCH] drm/i915: prevent crash with .disable_display parameter

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 18 09:52:35 UTC 2017


On Tue, Jan 17, 2017 at 04:37:28PM -0800, clinton.a.taylor at intel.com wrote:
> From: Clint Taylor <clinton.a.taylor at intel.com>
> 
> The .disable_display parameter was causing a fatal crash when fbdev was
> dereferenced during driver init.

The other guards are within intel_fbdev.c, it would be consistent to put
this as the start of intel_fbdev_initial_config_async().

Testcase: igt/drv_module_reload/basic-no-display
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list