]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't pretend ips is always enabled on BDW.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 30 Jun 2014 11:45:01 +0000 (04:45 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 16:13:22 +0000 (18:13 +0200)
commitca75bca1f2f9fb5f0473bc73b2211daac072b4a0
treef2785d14a01fc5a114c9e8bb30297f1a80363fcc
parent111672f1a30b5be1da783ef78930998e68ad486f
drm/i915: Don't pretend ips is always enabled on BDW.

As pointed out before we don't have a reliable way to read back ips
status on BDW without the risk to disable it when reading.
However now we are pretending that IPS on BDW is always on and getting
people confused about it.

So this patch allows people to know if ips was ever attempted to be enabled.
Even if the current status is impossible to be ascertain.

v2: (spotted by Paulo):
     * A version that at least compiles
     * with more clear messages
     * let Cheryview on the safe side until we aren't sure that checking ips
       state on ips won't disable it.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c