linux-hardened/drivers/gpu/drm/vc4
Eric Anholt 001bdb55d9 drm/vc4: Enable runtime PM.
This may actually get us a feature that the closed driver didn't have:
turning off the GPU in between rendering jobs, while the V3D device is
still opened by the client.

There may be some tuning to be applied here to use autosuspend so that
we don't bounce the device's power so much, but in steady-state
GPU-bound rendering we keep the power on (since we keep multiple jobs
outstanding) and even if we power cycle on every job we can still
manage at least 680 fps.

More importantly, though, runtime PM will allow us to power off the
device to do a GPU reset.

v2: Switch #ifdef to CONFIG_PM not CONFIG_PM_SLEEP (caught by kbuild
    test robot)

Signed-off-by: Eric Anholt <eric@anholt.net>
2016-02-16 12:21:00 -08:00
..
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Makefile drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_bo.c drm/vc4: Return an ERR_PTR from BO creation instead of NULL. 2016-02-16 12:20:58 -08:00
vc4_crtc.c drm/atomic: Remove drm_atomic_connectors_for_crtc. 2016-01-06 16:37:39 +01:00
vc4_debugfs.c drm/vc4: Bind and initialize the V3D engine. 2015-12-07 20:05:10 -08:00
vc4_drv.c drm: use dev_name as default unique name in drm_dev_alloc() 2015-12-15 13:56:06 +01:00
vc4_drv.h drm/vc4: Enable runtime PM. 2016-02-16 12:21:00 -08:00
vc4_gem.c drm/vc4: Enable runtime PM. 2016-02-16 12:21:00 -08:00
vc4_hdmi.c drm: Pass 'name' to drm_encoder_init() 2015-12-11 09:13:20 +01:00
vc4_hvs.c drm/vc4: Fix some failure to track __iomem decorations on pointers. 2015-11-17 12:26:59 -08:00
vc4_irq.c drm/vc4: Return an ERR_PTR from BO creation instead of NULL. 2016-02-16 12:20:58 -08:00
vc4_kms.c drm/vc4: Add support for async pageflips. 2015-12-07 20:10:03 -08:00
vc4_packet.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_plane.c Merge tag 'drm-vc4-next-2015-12-11' of http://github.com/anholt/linux into drm-next 2015-12-15 10:43:27 +10:00
vc4_qpu_defines.h drm/vc4: Add an API for creating GPU shaders in GEM BOs. 2015-12-07 20:05:09 -08:00
vc4_regs.h drm/vc4: Fix a typo in a V3D debug register. 2015-12-07 20:05:09 -08:00
vc4_render_cl.c drm/vc4: Return an ERR_PTR from BO creation instead of NULL. 2016-02-16 12:20:58 -08:00
vc4_trace.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_trace_points.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_v3d.c drm/vc4: Enable runtime PM. 2016-02-16 12:21:00 -08:00
vc4_validate.c drm/vc4: Return an ERR_PTR from BO creation instead of NULL. 2016-02-16 12:20:58 -08:00
vc4_validate_shaders.c drm/vc4: Add an API for creating GPU shaders in GEM BOs. 2015-12-07 20:05:09 -08:00