mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 09:18:04 +02:00
fix modeset cleanup for LVDS and reenable it in i915.
This commit is contained in:
parent
dd00aa5851
commit
cc7faa4de8
2 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue