dect
/
linux-2.6
Archived
13
0
Fork 0

drm/i915: do dynamic clock freq control only in kernel modesetting

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Zhenyu Wang 2009-09-03 09:30:06 +08:00 committed by Eric Anholt
parent 57cdaf90f5
commit 5e17ee74b5
1 changed files with 3 additions and 0 deletions

View File

@ -3472,6 +3472,9 @@ void intel_mark_busy(struct drm_device *dev, struct drm_gem_object *obj)
struct intel_framebuffer *intel_fb;
struct intel_crtc *intel_crtc;
if (!drm_core_check_feature(dev, DRIVER_MODESET))
return;
dev_priv->busy = true;
intel_increase_renderclock(dev, true);