diff options
| author | Chris Wilson <[email protected]> | 2017-03-24 16:54:18 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-03-27 12:48:45 +0100 |
| commit | 71cc2b184c0c1b7b4983091e65f102c6817aada9 (patch) | |
| tree | 9fa6408d9e9aa1d7c95d01ecd303b26f0819dfc3 /tools/lib/api/fs/tracing_path.h | |
| parent | e2a2aa36a5090e38bdbdd3f85a216a19c334a6de (diff) | |
drm/i915: Limit number of reads to stabilize rc6 counter reads
We have only 8bits of precise timestamps in which to complete our
upper/load reads, along with the switch between precision. This is not
always enough time to read the upper counter twice within the same time
slice, leading to hard lockups. Limit the number of times to prevent
an inifite loop (my fault for assuming we would have no trouble doing
the write + reads fast enough).
Fixes: 47c21d9a1a7b ("drm/i915: Extend vlv/chv residency resolution")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100377
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.h')
0 files changed, 0 insertions, 0 deletions