aboutsummaryrefslogtreecommitdiff
path: root/drivers/idle
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-11 19:39:52 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-15 19:00:51 +0200
commit49a687c471396d063bb3d3cf04d62568efe7ec5e (patch)
tree83e76b551cb445068212f8a451ddd860a8b3d20c /drivers/idle
parent609cedef6a9d5d90574903c71e81bd1c1f311f06 (diff)
drm/i915: Improve watermark dirtyness checks
Currently hsw_write_vm_values() may write to certain watermark registers needlessly. For instance if only, say, LP3 changes, the current code will again disable all LP1+ watermarks even though only LP3 needs to be reconfigured. Add an easy to read function that will compute the dirtyness of the watermarks, and use that information to further optimize the watermark programming. v2: Disable LP1+ watermarks around changing LP0 watermarks for Paulo Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions