]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/skl+: Perform wm level calculations in separate function
authorKumar, Mahesh <mahesh1.kumar@intel.com>
Wed, 17 May 2017 11:58:28 +0000 (17:28 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 17 May 2017 21:33:07 +0000 (14:33 -0700)
commitd2f5e36df61f4f06b9a52605fba23b3c3608efca
tree5293d7ed4001167bf868a30438d7b2ec1a69a52f
parenteb2fdcdf821c5658813899de18eb6d9475f822df
drm/i915/skl+: Perform wm level calculations in separate function

Instead of iterating over planes & wm levels in a single function use
skl_compute_wm_level function to interate over WM levels.
Change name of function to skl_compute_wm_levels (Matt).

These changes are to clean-up WM code & will help in making only new
ddb algorithm related changes in later patch in series.

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170517115831.13830-10-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/intel_pm.c