drm/i915/skl: Updated watermark programming
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 27 Feb 2015 11:15:22 +0000 (11:15 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Feb 2015 17:10:55 +0000 (18:10 +0100)
commitd4c2aa60dee023c66444533930030a63561f6354
tree11ea3595633ba5026021c01e9182f83aad67726d
parent40f4628391755b5406c46e55262b9a0bd4d5d4a7
drm/i915/skl: Updated watermark programming

Recent BSpect updates have changed the watermark calculation to avoid
display flickering in some cases.

v2: Fix check against DDB allocation and tidy the code a bit. (Damien Lespiau)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c