]> git.baikalelectronics.ru Git - 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)
commit35513bfb5156756bb8d0b9e097651818145ca0fa
treec730fbde4672f1823f01187a5e38ff1f2338e186
parent2d8955e4835942d6f1d3f081a0688d6bfb79c3c6
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