Ville Syrjälä 802a5820fc drm/i915: Extract i915_cs_timestamp_{ns_to_ticks,tick_to_ns}()
Pull the code to do the CS timestamp ns<->ticks conversion into
helpers and use them all over.

The check in i915_perf_noa_delay_set() seems a bit dubious,
so we switch it to do what I assume it wanted to do all along
(ie. make sure the resulting delay in CS timestamp ticks
doesn't exceed 32bits)?

Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200302143943.32676-5-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2020-05-14 20:04:02 +03:00
..
2020-03-02 09:22:43 +01:00
2020-03-31 15:15:47 +10:00
2020-03-11 07:27:21 +10:00
2020-02-21 05:44:40 +10:00
2020-04-02 15:50:04 -07:00
2020-03-02 09:22:49 +01:00
2020-04-08 11:00:00 -07:00
2020-04-07 20:24:34 -07:00
2020-04-03 15:05:35 -07:00
2020-03-12 12:42:56 +10:00
2020-03-02 09:22:56 +01:00
2020-04-03 14:25:02 -07:00
2020-03-11 07:27:21 +10:00
2020-03-19 10:11:09 +10:00
2020-04-10 12:38:28 -07:00
2020-03-27 13:38:47 +01:00
2020-03-16 09:26:18 +01:00
2020-03-11 07:27:21 +10:00
2020-01-14 16:22:17 -05:00
2019-10-08 18:29:00 +02:00
2020-03-31 15:15:47 +10:00
2020-01-14 16:22:17 -05:00
2019-07-22 21:24:10 +02:00
2020-01-14 16:22:17 -05:00
2020-03-16 09:27:09 +01:00
2020-03-09 09:22:50 +00:00
2020-03-16 09:25:22 +01:00