aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2021-07-23 12:21:35 -0500
committerMatthew Auld <[email protected]>2021-07-26 16:37:30 +0100
commitf3170ba8c907e9936822ad9e0b2eee8e2281615b (patch)
treeaca73cf33de82a7b6dd8315cdbba9e4d072bf2c3 /tools/perf/scripts/python
parent816753c06f23773c83763cfef3ded32a387e54e1 (diff)
drm/i915/gem: Check object_can_migrate from object_migrate
We don't roll them together entirely because there are still a couple cases where we want a separate can_migrate check. For instance, the display code checks that you can migrate a buffer to LMEM before it accepts it in fb_create. The dma-buf import code also uses it to do an early check and return a different error code if someone tries to attach a LMEM-only dma-buf to another driver. However, no one actually wants to call object_migrate when can_migrate has failed. The stated intention is for self-tests but none of those actually take advantage of this unsafe migration. Signed-off-by: Jason Ekstrand <[email protected]> Cc: Daniel Vetter <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Signed-off-by: Matthew Auld <[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