]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: calculate watermarks for devices that have 3 pipes
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Wed, 9 May 2012 18:37:11 +0000 (15:37 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 19 May 2012 20:39:44 +0000 (22:39 +0200)
commitdd8c567439c2048636f67d7dea583263e7364301
tree4d29d88481c0c10af0bcfb34c433b31298ca1b03
parentb60ec07b0bca6131552914e009a2aac6d161189f
drm/i915: calculate watermarks for devices that have 3 pipes

This adds proper support for calculating those watermarks, checking for
number of available pipes instead of specific GPU variants when deciding
if watermarks for 3rd pipe are necessary.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c