diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-09 19:17:59 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-15 10:00:15 +0200 |
commit | a485bfb8d0d70ba24662aab5e00b2914c646220b (patch) | |
tree | 2d116b8a5daa5e958e5034d8dcb0ce2d86b1220d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 198a1e9b1822099f60945a6c46b1f59727347817 (diff) |
drm/i915: Move some computations out from hsw_compute_wm_parameters()
Move the watermark max computations into haswell_update_wm(). This
allows keeping the 1/2 vs. 5/6 split code in one place, and avoid having
to pass around so many things. We also save a bit of stack space by only
requiring one copy of struct hsw_wm_maximums.
Also move the intel_wm_config out from hsw_compute_wm_parameters() and
pass it it. We'll have some need for it in haswell_update_wm() later.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions