]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Fix gen2 planes B and C max watermark value
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Aug 2014 22:21:53 +0000 (01:21 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:05:02 +0000 (11:05 +0200)
commit9d53910580512207186729c94b39cca9a9778c13
treef634c8f769696faae1601b07dd290dc900622240
parentd1d70677e165826f3fa9966e1b7ec3765d7c0fb7
drm/i915: Fix gen2 planes B and C max watermark value

The max watermark value for gen2 planes B and C is 0x1f, instead of
the 0x3f that plane A uses.

Also check against the max even if the pipe is disabled since the
FIFO size exceeds the plane B and C max watermark value.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Thomas Richter <richter@rus.uni-stuttgart.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c