]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract skl_compute_wm_params()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Mar 2019 20:58:38 +0000 (22:58 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Mar 2019 15:03:27 +0000 (17:03 +0200)
commit5d8602658d9327a80846f8f24aeea37bf16e83c5
tree53e49e5cabe576e0e52ffba86655495314801d47
parentb58b08052ecbd5d047ab761c9ff28bc0f41bd920
drm/i915: Extract skl_compute_wm_params()

Extract the meat of skl_compute_plane_wm_params() into a lower
level helper that doesn't depend on the plane state. We'll
reuse this for the cursor ddb allocation calculations.

Cc: Neel Desai <neel.desai@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190312205844.6339-4-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/intel_pm.c