]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/intel_pm.c
drm/i915: Add cherryview_update_wm()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Jun 2014 14:03:06 +0000 (17:03 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:43:56 +0000 (17:43 +0200)
commit3c2777fd2faa5d1c1d5867baa086f2fd8b05479e
treec35144bee0fecff94d20ab982c1213011da3f2eb
parent41aad816d7061f6cc3d92f39fc655f034bbfb1c0
drm/i915: Add cherryview_update_wm()

CHV has a third pipe so we need to compute the watermarks for its
planes. Add cherryview_update_wm() to do just that.

v2: Rebase on top of Imre's cxsr changes
v3: Pass crtc to vlv_update_drain_latency()

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>
drivers/gpu/drm/i915/intel_pm.c