[PATCH 1/2] drm/vc4: Fix get_vblank_counter with proper no-op for Linux 4.4+

Eric Anholt eric at anholt.net
Tue May 10 00:42:31 UTC 2016


Mario Kleiner <mario.kleiner.de at gmail.com> writes:

> 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.

These are both:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160509/835cc45b/attachment.sig>


More information about the dri-devel mailing list