linux/drivers/gpu/drm/vc4
Mario Kleiner ee7c10e10b drm/vc4: Fix drm_vblank_put/get imbalance in page flip path.
The async page flip path was missing drm_crtc_vblank_get/put
completely. The sync flip path was missing a vblank put, so async
flips only reported proper pageflip completion events by chance,
and vblank irq's never turned off after a first vsync'ed page flip
until system reboot.

Tested against Raspian kernel 4.4.8 tree on RPi 2B.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Fixes: b501bacc60 ("drm/vc4: Add support for async pageflips.")
2016-05-31 15:15:35 -07:00
..
Kconfig drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
Makefile drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_bo.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
vc4_crtc.c drm/vc4: Fix drm_vblank_put/get imbalance in page flip path. 2016-05-31 15:15:35 -07:00
vc4_debugfs.c drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_dpi.c drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_drv.c drm/vc4: Fix get_vblank_counter with proper no-op for Linux 4.4+ 2016-05-31 15:15:29 -07:00
vc4_drv.h drm/vc4: Add DPI driver 2016-04-14 12:22:53 -07:00
vc4_gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
vc4_hdmi.c drm/vc4: Fix NULL deref in HDMI init error path 2016-04-14 12:23:11 -07:00
vc4_hvs.c drm/vc4: Add support for scaling of display planes. 2016-02-16 11:24:08 -08:00
vc4_irq.c drm/vc4: improve throughput by pipelining binning and rendering jobs 2016-03-13 17:05:05 -07:00
vc4_kms.c drm: Nuke ->vblank_disable_allowed 2016-05-21 07:03:31 +10:00
vc4_packet.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_plane.c drm: Drop plane argument from __drm_atomic_helper_plane_destroy_state 2016-05-17 08:56:55 +02: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: Add support for gamma ramps. 2016-05-02 16:17:10 -07: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_points.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_trace.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_v3d.c drm/vc4: Recognize a more specific compatible string for V3D. 2016-03-13 18:54:24 -07: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
vc4_validate.c drm/vc4: Return an ERR_PTR from BO creation instead of NULL. 2016-02-16 12:20:58 -08:00