alistair23-linux/drivers/gpu/drm/msm
Rob Clark 56c2da8338 drm/msm: fix timeout calculation
The 'timeout' value comes from userspace (CLOCK_MONOTONIC), but
converting this directly to jiffies doesn't take into account the
initial jiffies count at boot, which may differ from the base time
of CLOCK_MONOTONIC.

TODO: add ktime_delta_jiffies() when rebasing on 4.1 and use that
instead of ktime_sub/ktime_to_timespec/timespec_to_jiffies combo (as
suggested by Arnd)

v2: switch over from 'struct timespec' to ktime_t throughout, since
'struct timespec' will be deprecated (as suggested by Arnd)
v3: minor cosmetic tweaks

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2015-06-11 13:11:06 -04:00
..
adreno drm/msm: workaround for missing irq on a306/8x16 2015-06-11 13:11:01 -04:00
dsi drm/msm: dsi: fix compile errors when CONFIG_GPIOLIB=n 2015-06-11 13:11:05 -04:00
edp drm/msm: drop redundant debug output 2015-06-11 13:11:03 -04:00
hdmi drm/msm/hdmi: Use pinctrl in HDMI driver 2015-06-11 13:11:06 -04:00
mdp drm/msm/mdp: Add support for more 32-bit RGB formats 2015-06-11 13:11:05 -04:00
Kconfig drm/msm/dsi: Add DSI PLL clock driver support 2015-06-11 13:11:04 -04:00
Makefile drm/msm/dsi: Add DSI PLL clock driver support 2015-06-11 13:11:04 -04:00
msm_atomic.c drm/msm: fix timeout calculation 2015-06-11 13:11:06 -04:00
msm_drv.c drm/msm: fix timeout calculation 2015-06-11 13:11:06 -04:00
msm_drv.h drm/msm: fix timeout calculation 2015-06-11 13:11:06 -04:00
msm_fb.c drm/msm: fix unbalanced DRM framebuffer init/destroy 2015-05-14 11:48:54 -04:00
msm_fbdev.c drm/msm: add support for "stolen" mem 2015-04-01 19:29:33 -04:00
msm_gem.c drm/msm: fix timeout calculation 2015-06-11 13:11:06 -04:00
msm_gem.h drm/msm: add support for "stolen" mem 2015-04-01 19:29:33 -04:00
msm_gem_prime.c drm/msm: Allow exported dma-bufs to be mapped 2014-11-16 14:22:43 -05:00
msm_gem_submit.c drm/msm: add rd logging debugfs 2014-06-02 07:36:11 -04:00
msm_gpu.c drm/msm: adreno a306 support 2015-06-11 13:11:01 -04:00
msm_gpu.h drm/msm: adreno a306 support 2015-06-11 13:11:01 -04:00
msm_iommu.c drm/msm: Fix a couple of 64-bit build warnings 2015-05-14 11:19:25 -04:00
msm_kms.h drm/msm: Use customized function to wait for atomic commit done 2015-06-11 13:11:04 -04:00
msm_mmu.h drm/msm: use upstream iommu 2014-08-04 11:55:29 -04:00
msm_perf.c drm/msm: add perf logging debugfs 2014-06-02 07:36:21 -04:00
msm_rd.c drm/msm: add rd logging debugfs 2014-06-02 07:36:11 -04:00
msm_ringbuffer.c drm/msm: fix locking inconsistencies in gpu->destroy() 2015-05-15 09:28:27 -04:00
msm_ringbuffer.h drm/msm: add a3xx gpu support 2013-08-24 14:57:18 -04:00
NOTES drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00