diff options
author | Matthew Auld <[email protected]> | 2021-04-29 11:30:53 +0100 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2021-05-04 10:58:56 +0100 |
commit | 2459e56fd8af0b47fcbfbdff2fdc02e4077680ec (patch) | |
tree | b35cc5f4c8e42715c7c80319747a3f09ea566a4c /drivers/gpu/drm/i915/selftests/intel_memory_region.c | |
parent | ebcb40298947bdb0622e53c69734e6b4fb64b348 (diff) |
drm/i915/uapi: implement object placement extension
Add new extension to support setting an immutable-priority-list of
potential placements, at creation time.
If we use the normal gem_create or gem_create_ext without the
extensions/placements then we still get the old behaviour with only
placing the object in system memory.
v2(Daniel & Jason):
- Add a bunch of kernel-doc
- Simplify design for placements extension
Testcase: igt/gem_create/create-ext-placement-sanity-check
Testcase: igt/gem_create/create-ext-placement-each
Testcase: igt/gem_create/create-ext-placement-all
Signed-off-by: Matthew Auld <[email protected]>
Signed-off-by: CQ Tang <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Cc: Jordan Justen <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Kenneth Graunke <[email protected]>
Cc: Jason Ekstrand <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Kenneth Graunke <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/intel_memory_region.c')
0 files changed, 0 insertions, 0 deletions