diff options
author | Yong Zhao <[email protected]> | 2017-09-20 18:10:21 -0400 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2017-09-20 18:10:21 -0400 |
commit | cb1d9967461cdf3b6aac6317c8d954a14f842571 (patch) | |
tree | 50bfb10a76331b899b285ba803f7c03c8090545c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | b22666febf6fc67776d49782057fe4dd06f41552 (diff) |
drm/amdkfd: Fix kernel-queue wrapping bugs
Avoid intermediate negative numbers when doing calculations with a mix
of signed and unsigned variables where implicit conversions can lead
to unexpected results.
When kernel queue buffer wraps around to 0, we need to check that rptr
won't be overwritten by the new packet.
Signed-off-by: Yong Zhao <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions