aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-08-18 17:17:13 +0100
committerChris Wilson <[email protected]>2016-08-18 22:36:59 +0100
commited13033f0287051577bc1678cde63a42fa419f3c (patch)
treeeb373a58eaa673846e9fc24f324b62cc7587a6ca /lib/mpi/mpi-bit.c
parent0b5372727be37944239100ff05a63df9771c8484 (diff)
drm/i915/cmdparser: Only cache the dst vmap
For simplicity, we want to continue using a contiguous mapping of the command buffer, but we can reduce the number of vmappings we hold by switching over to a page-by-page copy from the user batch buffer to the shadow. The cost for saving one linear mapping is about 5% in trivial workloads - which is more or less the overhead in calling kmap_atomic(). Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions