]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/etnaviv: remove switch_context member from etnaviv_gpu
authorLucas Stach <l.stach@pengutronix.de>
Fri, 17 Nov 2017 16:19:50 +0000 (17:19 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 2 Jan 2018 16:21:37 +0000 (17:21 +0100)
commit4375ffffbf099f14815380a3d9e5784ffc55bf31
tree2aae9fd53fcba2d81140c5c11edd585854a7da33
parentfa67ac84a33eeb5a3702970fe75083be79f460f9
drm/etnaviv: remove switch_context member from etnaviv_gpu

There is no need to store this in the gpu struct. MMU flushes are triggered
correctly in reaction to MMU maps and unmaps, independent of the current ctx.
Any required pipe switches can be infered from the current and the desired
GPU exec state.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_buffer.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.h