diff options
author | Mark Brown <broonie@kernel.org> | 2015-08-27 20:30:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-27 20:30:46 +0100 |
commit | 2002e90412df17ef7f714be62ed96a3c80b2f907 (patch) | |
tree | 3dd03684f7436320ec64f9c702b5d057a25dca17 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 02a9547e9b3f10d73fde66f52fc8b2a375a300cd (diff) | |
parent | 3b7ce99748f0d006f9d1aa85709872e7b46787f7 (diff) |
Merge branch 'topic/ics43432' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-gtm601
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 975edb1000a2..ae43b58c9733 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -352,7 +352,7 @@ unsigned long amdgpu_gem_timeout(uint64_t timeout_ns) if (((int64_t)timeout_ns) < 0) return MAX_SCHEDULE_TIMEOUT; - timeout = ktime_sub_ns(ktime_get(), timeout_ns); + timeout = ktime_sub(ns_to_ktime(timeout_ns), ktime_get()); if (ktime_to_ns(timeout) < 0) return 0; |