projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57cdaf9
)
drm/i915: do dynamic clock freq control only in kernel modesetting
author
Zhenyu Wang
<zhenyuw@linux.intel.com>
Thu, 3 Sep 2009 01:30:06 +0000
(09:30 +0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 4 Sep 2009 20:05:46 +0000
(13:05 -0700)
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index d7c7fa489872511426888ef019ff2ae1b09c1e40..9aa1d2de8a84b5f402fb17f715bec617ae2668ee 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-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);