]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm: i915: remove timeval users
authorArnd Bergmann <arnd@arndb.de>
Wed, 17 Jan 2018 15:48:53 +0000 (16:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 Jan 2018 18:03:44 +0000 (18:03 +0000)
commitc6270dbce9b01b465875ee4200623887f9399a21
treec730fbde4672f1823f01187a5e38ff1f2338e186
parentba02f4c26b37102ab030aa81d42d8021c81a43ab
drm: i915: remove timeval users

struct timeval is deprecated because it cannot represent times
past 2038. In this driver, the only use of this structure is
to capture debug information. This is easily changed to ktime_t,
which we then format as needed when printing it later.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180117154916.219273-1-arnd@arndb.de
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c