Age | Commit message (Collapse) | Author |
|
Try harder to reset the GPU at probe time by allowing the GPU to enter
runtime PM even if it indicates that it is busy. Where platforms
implement PM domains, this allows the GPU domain to be power cycled,
which can recover a hung GPU.
This can't be done in normal operation as we need to drop the mutex,
and dropping the mutex will permit GPU submissions which will keep the
GPU from idling.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
Parsing the command buffer is an expensive operation, as the command
buffer is uncached. Work-around this by providing a control to allow
the command buffer parsing to be skipped.
A better solution would be to move to cached buffers between userspace
and kernelspace, and copying the data in kernel space to the final
command buffer.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
Each Vivante GPU contains a clock divider which can divide the GPU clock
by 2^n, which can lower the power dissipation from the GPU. It has been
suggested that the GC600 on Dove can be responsible for 20-30% of the
power dissipation from the SoC.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
|
|
Currently, we scan the list of mappings each time we want to operate on
the vram_mapping struct. Rather than repeatedly scanning these, look
them up once in the submission path, and then use _reference and
_unreference methods as necessary to manage this object.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
|
|
Add tracking of the current execution state (iow, active GPU pipe).
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
|
|
Export further minor feature bitmasks and the varyings count from
the GPU specifications registers to userspace.
Acked-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
|
|
This adds the etnaviv DRM driver and hooks it up in Makefiles
and Kconfig.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|