fix modeset cleanup for LVDS and reenable it in i915.
parent
dd00aa5851
commit
cc7faa4de8
|
@ -314,7 +314,8 @@ out:
|
|||
|
||||
static void intel_lvds_destroy(struct drm_output *output)
|
||||
{
|
||||
drm_output_destroy(output);
|
||||
if (output->driver_private)
|
||||
kfree(output->driver_private);
|
||||
}
|
||||
|
||||
static const struct drm_output_funcs intel_lvds_output_funcs = {
|
||||
|
|
|
@ -179,7 +179,7 @@ int i915_driver_unload(drm_device_t *dev)
|
|||
struct drm_framebuffer *fb;
|
||||
|
||||
/* FIXME: remove framebuffer */
|
||||
//intel_modeset_cleanup(dev);
|
||||
intel_modeset_cleanup(dev);
|
||||
drm_free(dev_priv, sizeof(*dev_priv), DRM_MEM_DRIVER);
|
||||
|
||||
dev->dev_private = NULL;
|
||||
|
|
Loading…
Reference in New Issue