]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use the mode->htotal to calculate linetime watermarks
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 3 May 2013 20:23:39 +0000 (17:23 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 May 2013 09:26:20 +0000 (11:26 +0200)
commit9582445c296eba7e62a214079f27646e01305084
treec65ef4fe1370dcedeee82c8052e829a1e2b44e30
parentfd2228487f1432f1f0a83ee16506b08e266de11b
drm/i915: use the mode->htotal to calculate linetime watermarks

... instead of mode->crtc_display. The spec says "pipe horizontal
total number of pixels" and the "Haswell Watermark Calculator" tool
uses the "Pipe H Total" instead of "Pipe H Src" as the value.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c