[PATCH v3 02/23] drm: remove drm_vblank_no_hw_counter assignment from driver code

Eric Anholt eric at anholt.net
Wed Feb 8 19:58:18 UTC 2017


Shawn Guo <shawnguo at kernel.org> writes:

> From: Shawn Guo <shawn.guo at linaro.org>
>
> Core code already makes drm_driver.get_vblank_counter hook optional by
> letting drm_vblank_no_hw_counter be the default implementation for the
> function hook.  So the drm_vblank_no_hw_counter assignment in the driver
> code becomes redundant and can be removed now.

Thanks.  Missing this hook was actually a problem in vc4 for a while, so
it's nice to have sensible defaults.  For vc4:

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


More information about the dri-devel mailing list