]> 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)
commitcdd6f4e74f4d17bdef5a07274ae1bea4e82ddb9c
tree851b9498bd5a4ac80b50082b35d98925082eaae0
parent4ce062870c70d404088bf50de34ea03772413b4e
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