]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Calculate IPS linetime watermark based on future cdclk
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Apr 2016 14:31:17 +0000 (17:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 May 2016 16:14:11 +0000 (19:14 +0300)
commit1412a403258c16f735a7c907ff39f10821376bf0
tree4acaab5b9c0a53f0b5cb50bd298139e7b3a7fbcd
parent067d8297b80b436e476c3ef55ed7b39b12c55fe0
drm/i915: Calculate IPS linetime watermark based on future cdclk

Use the cdclk we're going to be using when the pipe gets enabled to
compute the IPS linetime watermark. The current cdclk frequency is
irrelevant at this point since it can still change.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461940278-17122-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_pm.c