]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use crtc_htotal in watermark calculations to match fastboot v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 27 Nov 2013 19:10:26 +0000 (11:10 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Nov 2013 19:34:48 +0000 (20:34 +0100)
commit1d33c1e46f9adffe9083d3e4f757711c52539d2b
tree5725a98be9586d1cc3f7b7231b0e0b9a644af89e
parent493578c5565f6e61201ede0a65ffd6812491f6e7
drm/i915: use crtc_htotal in watermark calculations to match fastboot v2

This value is more correct, and matches what we read out in the fastboot
code.  Without this, the watermark code will panic after the first mode
setting activity after a fastboot.

v2: fix up HSW ->clock usage too (Ville)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
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