aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDamien Lespiau <[email protected]>2014-11-04 17:06:55 +0000
committerDaniel Vetter <[email protected]>2014-11-07 18:42:11 +0100
commite6d6617152def4f9d46fb9c5cba3e322bedc27c2 (patch)
treebd2747363ba976c5df5a04eb30edb5c036ad8ee3 /tools/perf/scripts/python/netdev-times.py
parent21fca258bc09b951b66ff5c501a37b56be4d4310 (diff)
drm/i915/skl: Make res_blocks/lines intermediate values 32 bits
To align with the ilk WM code and because it makes sense to test against the upper bounds as soon as possible on variables that are bigger than the number of bits in the register, let's move the maximum checks from skl_compute_wm_results() to skl_compute_plane_wm(). v2: Leave the result values to 0 when overflowing the limits (Ville) Use 32 bits intermediate variables (Damien) Instead of using the 16 and 8 bits space we have in the result structure, use 32 bits local variables until we're sure they fit into the constraints. Suggested-by: Ville Syrjälä <[email protected]> Signed-off-by: Damien Lespiau <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions