diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-10-11 17:20:13 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-10-13 00:34:50 +0200 |
commit | 25e1a79874eb3821d93310c908cc0a81b47af060 (patch) | |
tree | 3081b7fc5f68805e9ff376ad8cb6976c8fda1216 /drivers/gpu/drm/drm_internal.h | |
parent | drm: vblank: use ktime_t instead of timeval (diff) | |
download | linux-25e1a79874eb3821d93310c908cc0a81b47af060.tar.xz linux-25e1a79874eb3821d93310c908cc0a81b47af060.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_internal.h')
-rw-r--r-- | drivers/gpu/drm/drm_internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h index fbc3f308fa19..edd921adcf33 100644 --- a/drivers/gpu/drm/drm_internal.h +++ b/drivers/gpu/drm/drm_internal.h @@ -55,7 +55,6 @@ int drm_clients_info(struct seq_file *m, void* data); int drm_gem_name_info(struct seq_file *m, void *data); /* drm_vblank.c */ -extern unsigned int drm_timestamp_monotonic; void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe); void drm_vblank_cleanup(struct drm_device *dev); |