Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174571
b: refs/heads/master
c: 28cf798
h: refs/heads/master
i:
  174569: 540467d
  174567: f63d88d
v: v3
  • Loading branch information
Chris Wilson authored and Eric Anholt committed Dec 1, 2009
1 parent 848791a commit 565de96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 38b3037ee47fbd65a36bc7c39f60a900fbbe3b8e
refs/heads/master: 28cf798f5a9bd894ee90b27667b0d36b4933ae23
9 changes: 7 additions & 2 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -4052,8 +4052,13 @@ void intel_mark_busy(struct drm_device *dev, struct drm_gem_object *obj)
if (!drm_core_check_feature(dev, DRIVER_MODESET))
return;

dev_priv->busy = true;
intel_increase_renderclock(dev, true);
if (!dev_priv->busy) {
dev_priv->busy = true;
intel_increase_renderclock(dev, true);
} else {
mod_timer(&dev_priv->idle_timer, jiffies +
msecs_to_jiffies(GPU_IDLE_TIMEOUT));
}

list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
if (!crtc->fb)
Expand Down

0 comments on commit 565de96

Please sign in to comment.