2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/gpu/drm/etnaviv
Russell King 41db12df64 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>
2016-03-07 15:36:59 +01:00
..
cmdstream.xml.h
common.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00
etnaviv_buffer.c drm: etnaviv: improve readability of command insertion to ring buffer 2016-03-07 15:36:59 +01:00
etnaviv_cmd_parser.c
etnaviv_drv.c drm/etnaviv: remove owner assignment from platform_driver 2016-01-25 14:23:46 +01:00
etnaviv_drv.h drm/etnaviv: rename etnaviv_gem_vaddr to etnaviv_gem_vmap 2016-01-26 18:54:01 +01:00
etnaviv_dump.c drm/etnaviv: rename etnaviv_gem_vaddr to etnaviv_gem_vmap 2016-01-26 18:54:01 +01:00
etnaviv_dump.h
etnaviv_gem_prime.c drm/etnaviv: call correct function when trying to vmap a DMABUF 2016-01-26 18:54:01 +01:00
etnaviv_gem_submit.c
etnaviv_gem.c drm/etnaviv: call correct function when trying to vmap a DMABUF 2016-01-26 18:54:01 +01:00
etnaviv_gem.h drm/etnaviv: call correct function when trying to vmap a DMABUF 2016-01-26 18:54:01 +01:00
etnaviv_gpu.c drm: etnaviv: track current execution state 2016-03-07 15:36:54 +01:00
etnaviv_gpu.h drm: etnaviv: track current execution state 2016-03-07 15:36:54 +01:00
etnaviv_iommu_v2.c
etnaviv_iommu_v2.h
etnaviv_iommu.c
etnaviv_iommu.h
etnaviv_mmu.c
etnaviv_mmu.h
Kconfig
Makefile
state_3d.xml.h drm: etnaviv: flush all GPU caches when stopping GPU 2016-03-07 15:36:56 +01:00
state_hi.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00
state.xml.h