commit | e0313db047c2f2e368c95a8f03653f9723678e82 | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Fri Jan 15 15:11:12 2016 +0000 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Mon Jan 18 09:58:29 2016 +0000 |
tree | 5ecfce683773be4a0d1cbf28495c1dde3d938ac8 | |
parent | 2da80b57c69a2a5ae0e16dead8cdbfab46f970bc [diff] |
drm/i915: Only grab timestamps when needed No need to call ktime_get_raw_ns twice per unlimited wait and can also elimate a local variable. v2: Added comment about silencing the compiler warning. (Daniel Vetter) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Dave Gordon <david.s.gordon@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1452870672-13901-1-git-send-email-tvrtko.ursulin@linux.intel.com