Skip to content
Snippets Groups Projects
Commit 8a0a5b5e authored by Donald Robson's avatar Donald Robson Committed by drobson-imgtec
Browse files

drm/gpuvm: Helper to get range of unmap from a remap op.


Determining the start and range of the unmap stage of a remap op is a
common piece of code currently implemented by multiple drivers. Add a
helper for this.

Changes since v7:
- Renamed helper to drm_gpuva_op_remap_to_unmap_range()
- Improved documentation

Changes since v6:
- Remove use of __always_inline

Signed-off-by: default avatarDonald Robson <donald.robson@imgtec.com>
Signed-off-by: default avatarSarah Walker <sarah.walker@imgtec.com>
Reviewed-by: default avatarDanilo Krummrich <dakr@redhat.com>
parent 58b227d9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment