drm/nouveau: add helper functions for allocating pinned/cpu-mapped bos
Replace some awkward sequences that are repeated in a number of places with helper functions. Signed-off-by:Ben Skeggs <bskeggs@nvidia.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Timur Tabi <ttabi@nvidia.com> Tested-by:
Timur Tabi <ttabi@nvidia.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
Loading
Please sign in to comment