]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: return context from etnaviv_iommu_context_get
authorLucas Stach <l.stach@pengutronix.de>
Fri, 20 Aug 2021 20:18:23 +0000 (22:18 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 16 Sep 2021 08:34:59 +0000 (10:34 +0200)
commit78edefc05e41352099ffb8f06f8d9b2d091e29cd
tree851b9498bd5a4ac80b50082b35d98925082eaae0
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
drm/etnaviv: return context from etnaviv_iommu_context_get

Being able to have the refcount manipulation in an assignment makes
it much easier to parse the code.

Cc: stable@vger.kernel.org # 5.4
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Michael Walle <michael@walle.cc>
Tested-by: Marek Vasut <marex@denx.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_buffer.c
drivers/gpu/drm/etnaviv/etnaviv_gem.c
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/gpu/drm/etnaviv/etnaviv_mmu.h