summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2024-02-26 18:55:54 +0300
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2024-02-29 12:39:02 +0300
commita41f6b0db58fe3cc2686e4065db48ebf44effa36 (patch)
treeaf31a9bb3119719d31219985d98a0b976dbead09 /tools/perf/scripts/python/export-to-postgresql.py
parentccff0b21ebe0cbe3f402edb27b0b1fd22a9d08aa (diff)
downloadlinux-a41f6b0db58fe3cc2686e4065db48ebf44effa36.tar.xz
drm/xe: Use vmalloc for array of bind allocation in bind IOCTL
Use vmalloc in effort to allow a user pass in a large number of binds in an IOCTL (mesa use case). Also use array allocations rather open coding the size calculation. v2: Use __GFP_ACCOUNT for allocations (Thomas) Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240226155554.103384-1-matthew.brost@intel.com (cherry picked from commit 35ed1d2bfff7b1969e7f99f3641a83ea54f037e2) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions