OSDN Git Service

drm/i915: Print RC6 info less often
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 18 Oct 2013 19:32:07 +0000 (12:32 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Oct 2013 08:03:39 +0000 (10:03 +0200)
commitdc39fff7229c01550cad1ee8fa0309dfafdcd2e7
treef9f7c390671054355efc57d17ca98670253b488d
parent6da7f10d296f4ac625f96b39eef22c41398727e3
drm/i915: Print RC6 info less often

Since we use intel_enable_rc6() now for more than just when we're
enabling RC6, we'll see this message many times, and it is just
confusing.

As an example, calc_residency calls this function whenever poked via
sysfs. This leaves the impression in dmesg that we're constantly
re-enabling RC6.

While at it, move the defines and description from drv.h to intel_pm.c,
since these are only ever used in that code.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c