drm/i915/bdw: don't try to check IPS state on BDW v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 7 Jan 2014 21:30:45 +0000 (13:30 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Jan 2014 14:48:57 +0000 (15:48 +0100)
commite59150dcf7e126ebf89afacd372602f328d4d6fc
treeb2aa2be14d09c3eb5f02afa234aec9dce0c90daa
parent576b259e65baf15f691010353f6ab06f7190c33f
drm/i915/bdw: don't try to check IPS state on BDW v2

According to Art, we don't have a way to read back the state reliably at
runtime, through the control reg or the mailbox, at least not without risking
disabling it again.  So drop the readout and checking on BDW.

v2: drop TODO comment (Paulo)
    move POSTING_READ of control reg under HSW branch in disable (Paulo)
    always report IPS as enabled on BDW (Paulo)

References: https://bugs.freedesktop.org/show_bug.cgi?id=71906
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
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
drivers/gpu/drm/i915/intel_display.c