diff options
author | 2018-06-20 16:03:58 +0300 | |
---|---|---|
committer | 2018-07-09 10:33:45 +0200 | |
commit | 5265f0338bc0feec6c0d544dfe005dec1a93cb93 (patch) | |
tree | 207c3c849a78c3f20cb879794cc774477588f91c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | gpu: host1x: Check whether size of unpin isn't 0 (diff) | |
download | linux-rng-5265f0338bc0feec6c0d544dfe005dec1a93cb93.tar.xz linux-rng-5265f0338bc0feec6c0d544dfe005dec1a93cb93.zip |
drm/tegra: Fix comparison operator for buffer size
Here we are checking for the buffer length, not an offset for writing
to, so using > is correct. The current code incorrectly rejects a
command buffer ending at the memory buffer's end.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions