Skip to content

Commit

Permalink
drm/i915: do dynamic clock freq control only in kernel modesetting
Browse files Browse the repository at this point in the history
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
Zhenyu Wang authored and Eric Anholt committed Sep 4, 2009
1 parent 57cdaf9 commit 5e17ee7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5e17ee7

Please sign in to comment.