drm: vblank: remove drm_timestamp_monotonic parameter
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Oct 2017 15:20:13 +0000 (17:20 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Oct 2017 22:34:50 +0000 (08:34 +1000)
commit25e1a79874eb3821d93310c908cc0a81b47af060
tree3081b7fc5f68805e9ff376ad8cb6976c8fda1216
parent67680d3c046450b3901aa4e5a9cf2f8fbd7ed9a2
drm: vblank: remove drm_timestamp_monotonic parameter

There is a risk of overflowing vblank timestamps in 2038 or 2106 if
someone sets the drm_timestamp_monotonic module parameter to zero.

I found no indication of anyone ever setting the parameter, or
complaining about the default being wrong, after it was introduced
as a way to handle backwards-compatibility with linux prior to
c61eef726a78 ("drm: add support for monotonic vblank timestamps"),
so it's probably safer to just remove the parameter completely
and only allowing the default behavior.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_internal.h
drivers/gpu/drm/drm_ioctl.c
drivers/gpu/drm/drm_vblank.c