]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pass crtc state to vlv_compute_wm_level()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Nov 2016 17:37:17 +0000 (19:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 5 Dec 2016 14:23:28 +0000 (16:23 +0200)
commite339d67eeb0270d6520eb299655fec573409159c
tree89c962cc3d9ba48caa901ca836ef1d569bb5bef2
parentfa292a4be9914a4f0dbfe9b2f8f1f8b5af942dc3
drm/i915: Pass crtc state to vlv_compute_wm_level()

Rather than accessing crtc->config in vlv_compute_wm_level() let's
pass in the crtc state explicitly. One step closer to atomic.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1480354637-14209-16-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_pm.c