]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't re-compute pipe watermarks except for the affected pipe
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 9 Oct 2013 16:17:56 +0000 (19:17 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Oct 2013 07:56:41 +0000 (09:56 +0200)
commit65787f07a87a4677d53e826fe9089fd4658f9198
tree8d05ab2aae612c75b0b9d4483ca1ddaf762eabbe
parent6b104eea58e47df47617045f3ad47ad95cecbf7f
drm/i915: Don't re-compute pipe watermarks except for the affected pipe

No point in re-computing the watermarks for all pipes, when only one
pipe has changed. The watermarks stored under intel_crtc.wm.active are
still valid for the other pipes. We just need to redo the merging.

We can also skip the merge/update procedure completely if the new
watermarks for the affected pipe come out unchanged.

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>
drivers/gpu/drm/i915/intel_pm.c