diff options
| author | Paulo Zanoni <[email protected]> | 2013-05-03 17:23:40 -0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2013-05-21 11:26:52 +0200 |
| commit | eaa591ec528ad75bb4c77606c5cb671f05e04db6 (patch) | |
| tree | 3021f454514d44379ecf9f9b5d57c24341f64b36 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 7366937312d4e406539b1cf70e1562358bdd560e (diff) | |
drm/i915: fix haswell linetime watermarks calculation
Move the "*8" calculation to the left side so we don't propagate
rounding errors. Also use DIV_ROUND_CLOSEST because that's what the
spec says we need to do.
Signed-off-by: Paulo Zanoni <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions