CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/09/26 16:00:00
Modified files:
sys/dev/pci/drm: drm_linux.h
sys/dev/pci/drm/i915: i915_drv.c intel_i2c.c
Log message:
Try a little bit harder to clean up if attaching inteldrm(4) fails.
The crucial bit is that we now clear dev->dev_priv, which prevents the X
server from opening /dev/drmN and crashing the kernel because the driver
isn't fully initialized.
While there, try a little bit harder to print error messages the proper way.
Things will still look ugly though if the failure is somewhere in the Linux
code.