]> git.baikalelectronics.ru Git - kernel.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)
commit8aa1d71de701175566d087fa16c26912f4f8ef6b
tree5293d7ed4001167bf868a30438d7b2ec1a69a52f
parented5f4b2656965f4162d844ca41db42fe065b6641
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