diff options
| author | Matthew Brost <[email protected]> | 2024-02-26 07:55:54 -0800 |
|---|---|---|
| committer | Matthew Brost <[email protected]> | 2024-02-26 12:11:19 -0800 |
| commit | 35ed1d2bfff7b1969e7f99f3641a83ea54f037e2 (patch) | |
| tree | 9237b981bc7695d860fa6319072a5df0b7fab235 /tools/perf/scripts/python | |
| parent | b2121f2bd2232cd0556b2182078d159d81497885 (diff) | |
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 <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions