commit | 3f8dce3ade6ae025a8a77e7b74ec58a5c26b17e2 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed May 08 10:36:30 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed May 15 01:21:48 2013 +0200 |
tree | c0ca4995248d99ccfd941d30996788f171eeef83 | |
parent | 2fa2fe9a142cf8c8a30916ccf7ca6a27019fd6d2 [diff] |
drm/i915: Use pipe_config state to disable ilk+ pfit No more need to guard the write with a power well check on Haswell now that we have proper pfit state readout: We can simply only clear the pfit if it's actually on. This removes some duplication of knowledge between the haswell pfit disable and pfit state readout code about. While at it extract a little helper for this. Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>