summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-12-16 16:41:47 +0100
committerThierry Reding <treding@nvidia.com>2014-12-17 14:27:38 +0100
commit73c42c79767a03ae64d11457e3ce80e80e09e514 (patch)
treecfe2babf0f91fadcf5f38ff13810f5e5e108b7d4 /tools/perf/util/scripting-engines/trace-event-python.c
parenta04251fc94b58ec25476e57986dfec727b812c22 (diff)
drm/tegra: gem: Use the proper size for GEM objects
If the requested buffer size wasn't a multiple of the page size, the IOMMU code would round down the size to the next multiple of the page size, thereby causing translation errors. To fix this we no longer pass around the requested size but reuse the computed size of the GEM object. This is already rounded to the next page boundary, so mapping that size works out fine. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions