diff options
| author | Arnd Bergmann <[email protected]> | 2018-05-29 16:16:06 +0200 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2019-12-18 18:07:32 +0100 |
| commit | 6cedb8b377bba6520508399b74754b9a0ca06edf (patch) | |
| tree | 023ecedbfacf2a3891a7d02439840e4ebb95a761 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | 4ddfc3dc60a243e9d70e2de0356563c8b547fbfc (diff) | |
drm/msm: avoid using 'timespec'
The timespec structure and associated interfaces are deprecated and will
be removed in the future because of the y2038 overflow.
The use of ktime_to_timespec() in timeout_to_jiffies() does not
suffer from that overflow, but is easy to avoid by just converting
the ktime_t into jiffies directly.
Reviewed-by: Jordan Crouse <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions