1
0
Fork 0
alistair23-linux/drivers/gpu
Ville Syrjälä f37fcc2a26 drm/i915: Call intel_update_watermarks() in specific place during modeset
Make the call to intel_update_watermarks() just once or twice during
modeset. Ideally it should happen independently when each plane gets
enabled/disabled, but for now it seems better to keep it in central
place. We can improve things when we get all the planes sorted out
in a better way.

When enabling set up the watermarks just before the pipe is enabled.
And when disabling we need to wait until we've marked the crtc as
inactive, as otherwise intel_crtc_active() would still think the pipe
is enabled and the computed watermarks would reflect that.

v2: Pimp up the commit message a bit

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-09-10 11:15:47 +02:00
..
drm drm/i915: Call intel_update_watermarks() in specific place during modeset 2013-09-10 11:15:47 +02:00
host1x drm/tegra: fix up page flip flags. 2013-09-02 09:47:56 +10:00
vga vgaarb: Fix VGA decodes changes 2013-09-03 19:17:59 +02:00
Makefile gpu: host1x: Add host1x driver 2013-04-22 12:32:40 +02:00