mirror of https://gitee.com/openkylin/linux.git
drm/i915/bdw: Use centralized rc6 info print
Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Deepak S <deepak.s@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
1c79b42fa5
commit
abbf9d2c48
|
@ -3276,7 +3276,7 @@ static void gen8_enable_rps(struct drm_device *dev)
|
||||||
/* 3: Enable RC6 */
|
/* 3: Enable RC6 */
|
||||||
if (intel_enable_rc6(dev) & INTEL_RC6_ENABLE)
|
if (intel_enable_rc6(dev) & INTEL_RC6_ENABLE)
|
||||||
rc6_mask = GEN6_RC_CTL_RC6_ENABLE;
|
rc6_mask = GEN6_RC_CTL_RC6_ENABLE;
|
||||||
DRM_INFO("RC6 %s\n", (rc6_mask & GEN6_RC_CTL_RC6_ENABLE) ? "on" : "off");
|
intel_print_rc6_info(dev, rc6_mask);
|
||||||
I915_WRITE(GEN6_RC_CONTROL, GEN6_RC_CTL_HW_ENABLE |
|
I915_WRITE(GEN6_RC_CONTROL, GEN6_RC_CTL_HW_ENABLE |
|
||||||
GEN6_RC_CTL_EI_MODE(1) |
|
GEN6_RC_CTL_EI_MODE(1) |
|
||||||
rc6_mask);
|
rc6_mask);
|
||||||
|
|
Loading…
Reference in New Issue