aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2022-03-23 17:08:23 +0100
committerLucas Stach <l.stach@pengutronix.de>2022-04-06 10:01:36 +0200
commit11ad6a1f181f28dccbe47a7fb41f56557573941a (patch)
tree4d4476a6e9d74309a5d7511bb101c79510c08ffb /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem (diff)
downloadlinux-dev-11ad6a1f181f28dccbe47a7fb41f56557573941a.tar.xz
linux-dev-11ad6a1f181f28dccbe47a7fb41f56557573941a.zip
drm/etnaviv: move MMU context ref/unref into map/unmap_gem
This makes it a little more clear that the mapping holds a reference to the context once the buffer has been successfully mapped into that context and simplifies the error handling a bit. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Tested-by: Guido Günther <agx@sigxcpu.org> Acked-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions