]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Store the new WM state at the very end of the update
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 4 Nov 2014 17:06:48 +0000 (17:06 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:42:07 +0000 (18:42 +0100)
commit4053472eb7e91379c4c3d93c2ea91a04e5432ded
treef03a09b55ebf9f2fceb7459275d5edb0609235df
parentbf8a63abd4cdeea28855c0e7ca8762a2f3d053c5
drm/i915/skl: Store the new WM state at the very end of the update

We're going to add a new step, let's not hide the copy of the new WM
state inside one inner function, but as a 1st level operation in the WM
update.

v2: Split the staging results structure to not exceed the 1Kb stack
    allocation in skl_update_wm()

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c