Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218143
b: refs/heads/master
c: 7b4f399
h: refs/heads/master
i:
  218141: 5ec61e2
  218139: 1ab0c20
  218135: 869bbf7
  218127: 5894825
  218111: 66d32e6
v: v3
  • Loading branch information
Chris Wilson committed Oct 4, 2010
1 parent e89caad commit c93c8e0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c6be944111a873ce96865f1a6033056bdf0d0e2
refs/heads/master: 7b4f3990a22fbe800945f12001bc30db374d0af5
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -2106,6 +2106,7 @@ int i915_driver_unload(struct drm_device *dev)
acpi_video_unregister();

if (drm_core_check_feature(dev, DRIVER_MODESET)) {
intel_fbdev_fini(dev);
intel_modeset_cleanup(dev);

/*
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -6130,8 +6130,6 @@ void intel_modeset_cleanup(struct drm_device *dev)
drm_kms_helper_poll_fini(dev);
mutex_lock(&dev->struct_mutex);

intel_fbdev_fini(dev);

list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
/* Skip inactive CRTCs */
if (!crtc->fb)
Expand Down
8 changes: 3 additions & 5 deletions trunk/drivers/gpu/drm/i915/intel_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ static struct drm_fb_helper_funcs intel_fb_helper_funcs = {
.fb_probe = intel_fb_find_or_create_single,
};

static int intel_fbdev_destroy(struct drm_device *dev,
struct intel_fbdev *ifbdev)
static void intel_fbdev_destroy(struct drm_device *dev,
struct intel_fbdev *ifbdev)
{
struct fb_info *info;
struct intel_framebuffer *ifb = &ifbdev->ifb;
Expand All @@ -225,9 +225,7 @@ static int intel_fbdev_destroy(struct drm_device *dev,

drm_framebuffer_cleanup(&ifb->base);
if (ifb->obj)
drm_gem_object_unreference(ifb->obj);

return 0;
drm_gem_object_unreference_unlocked(ifb->obj);
}

int intel_fbdev_init(struct drm_device *dev)
Expand Down

0 comments on commit c93c8e0

Please sign in to comment.