aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2017-09-07 17:32:03 +0300
committerVille Syrjälä <[email protected]>2017-09-07 20:12:36 +0300
commit750fae232480fee9d799eaced198ec98c20769a3 (patch)
tree5eec6e3bdfc996a15c5965b3e0d7c73421435a4e /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd7a133d886b45651e36e7065998b1413d379ac1f (diff)
i915: Fix obj size vs. alignment for drm_pci_alloc()
drm_pci_alloc() refuses to cooperate if the passed alignment exceeds the object size. So round up the obj size to the next power of two as well to make this actually work. Obviously things work just fine as long as the size was a power of two to begin with. However kms_cursor_crc doesn't always use power of two sizes so we hit a failure when we try to allocate the phys memory. Testcase: igt/kms_cursor_crc Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions