summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/etnaviv/etnaviv_mmu.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-01-21 15:20:40 +0000
committerLucas Stach <l.stach@pengutronix.de>2016-03-07 15:36:59 +0100
commit41db12df64ace13c98865340b5c076cdf9a99a93 (patch)
tree379ae0559ff43b5d03887fc252fb614518bd064d /drivers/gpu/drm/etnaviv/etnaviv_mmu.c
parent33b1be99fb4cfd0d7d483a9947f9c95d6d17ede9 (diff)
downloadop-kernel-dev-41db12df64ace13c98865340b5c076cdf9a99a93.zip
op-kernel-dev-41db12df64ace13c98865340b5c076cdf9a99a93.tar.gz
drm: etnaviv: improve readability of command insertion to ring buffer
Improve the readibility of the function which inserts command buffers and other maintanence commands into the GPUs ring buffer. We do this by splitting the ring buffer reservation in two: one chunk for any commands that need to be issued prior to the command buffer, and a separate chunk for commands issued after the buffer. The result is a much more obvious code flow in this function, and localisation of the conditional maintanence commands prior to the command buffer. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_mmu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud