Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262522
b: refs/heads/master
c: a65e34c
h: refs/heads/master
v: v3
  • Loading branch information
Keith Packard committed Jul 25, 2011
1 parent d3b9a31 commit a120d66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2cab1b24a4ea75a68fa21bfb7d5b1a45121583c
refs/heads/master: a65e34c79c88895766ab1f8a5afa451eed26622b
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ static void i915_hotplug_work_func(struct work_struct *work)
struct drm_mode_config *mode_config = &dev->mode_config;
struct intel_encoder *encoder;

mutex_lock(&mode_config->mutex);
DRM_DEBUG_KMS("running encoder hotplug functions\n");

list_for_each_entry(encoder, &mode_config->encoder_list, base.head)
Expand All @@ -314,6 +315,8 @@ static void i915_hotplug_work_func(struct work_struct *work)

/* Just fire off a uevent and let userspace tell us what to do */
drm_helper_hpd_irq_event(dev);

mutex_unlock(&mode_config->mutex);
}

static void i915_handle_rps_change(struct drm_device *dev)
Expand Down

0 comments on commit a120d66

Please sign in to comment.