diff options
author | Thomas Hellström <[email protected]> | 2021-09-22 08:25:19 +0200 |
---|---|---|
committer | Thomas Hellström <[email protected]> | 2021-09-24 08:19:09 +0200 |
commit | 0d9388635a22331d39989b96d5830b486d9c8900 (patch) | |
tree | a7c0ebb2884106fb074f790097c7f137ff7a90d2 /fs/jbd2/commit.c | |
parent | 2dfa597d249cbe16962ac142c882b30f7ff385e5 (diff) |
drm/i915/ttm: Implement a function to copy the contents of two TTM-based objects
When backing up or restoring contents of pinned objects at suspend /
resume time we need to allocate a new object as the backup. Add a function
to facilitate copies between the two. Some data needs to be copied before
the migration context is ready for operation, so make sure we can
disable accelerated copies.
v2:
- Fix a missing return value check (Matthew Auld)
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions