diff options
| author | Paulo Zanoni <[email protected]> | 2016-09-22 18:00:30 -0300 |
|---|---|---|
| committer | Paulo Zanoni <[email protected]> | 2016-09-26 16:51:43 -0300 |
| commit | 0727e40a48a1d08cf54ce2c01e120864b92e59bf (patch) | |
| tree | bce587b40451fdf42f153390cfb52b7df4781cf8 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6e3100ec21e7c774a0fc01e36a1e0739530c2f71 (diff) | |
drm/i915/gen9: fix the WaWmMemoryReadLatency implementation
Bspec says:
"The mailbox response data may not account for memory read latency.
If the mailbox response data for level 0 is 0us, add 2 microseconds
to the result for each valid level."
This means we should only do the +2 in case wm[0] == 0, not always.
So split the sanitizing implementation from the WA implementation and
fix the WA implementation.
v2: Add Fixes tag (Maarten).
Fixes: 367294be7c25 ("drm/i915/gen9: Add 2us read latency to WM level")
Cc: [email protected]
Cc: Vandana Kannan <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions