diff options
author | 2017-04-21 21:14:27 +0300 | |
---|---|---|
committer | 2017-05-10 16:48:31 +0300 | |
commit | baf69ca8a51c8a5ef6ef869f684764459a9b6fa2 (patch) | |
tree | 5a2979759fdf2d022b869a623fab16336004c84f /drivers/gpu/drm/i915/intel_atomic_plane.c | |
parent | drm/i915: Refactor the g4x TLB miss w/a to a helper (diff) | |
download | linux-dev-baf69ca8a51c8a5ef6ef869f684764459a9b6fa2.tar.xz linux-dev-baf69ca8a51c8a5ef6ef869f684764459a9b6fa2.zip |
drm/i915: Refactor wm calculations
All platforms until SKL compute their watermarks essentially
using the same method1/small buffer and method2/large buffer
formulas. Most just open code it in slightly different ways.
Let's pull it all into common helpers. This makes it a little
easier to spot the actual differences.
While at it try to add some docs explainign what the formulas
are trying to do.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170421181432.15216-11-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_atomic_plane.c')
0 files changed, 0 insertions, 0 deletions