]> 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)
commit8fe05e4a6d3cb4aec8f2bc7cf4b7addb93f047fd
treec730fbde4672f1823f01187a5e38ff1f2338e186
parentccd7cb8fdf613b443ee12860a779810cef2672f1
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