aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/vc4_validate_shaders.c
diff options
context:
space:
mode:
authorMario Kleiner <[email protected]>2016-05-06 17:26:05 +0000
committerEric Anholt <[email protected]>2016-05-31 22:15:29 +0000
commit792293cfd516a173bbd687b4b26da0f97f97abd2 (patch)
tree30e94637c6d650e1ef362c1802b7f72fa2e98412 /drivers/gpu/drm/vc4/vc4_validate_shaders.c
parentLinux 4.7-rc1 (diff)
downloadkernel-792293cfd516a173bbd687b4b26da0f97f97abd2.tar.gz
kernel-792293cfd516a173bbd687b4b26da0f97f97abd2.zip
drm/vc4: Fix get_vblank_counter with proper no-op for Linux 4.4+
get_vblank_counter hooked up to drm_vblank_count() which alway was non-sensical but didn't hurt in the past. Since Linux 4.4 it triggers a WARN_ON_ONCE in drm_update_vblank_count on first vblank irq disable, so fix it by hooking to drm_vblank_no_hw_counter(). Tested against Raspian kernel 4.4.8 tree on RPi 2B. Signed-off-by: Mario Kleiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Fixes: c8b75bca92cb ("drm/vc4: Add KMS support for Raspberry Pi.")
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_validate_shaders.c')
0 files changed, 0 insertions, 0 deletions