diff options
author | Ville Syrjälä <[email protected]> | 2020-03-02 16:39:42 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-05-14 20:04:02 +0300 |
commit | 802a5820fc0c0f12b40280db3dbaaf8359b07243 (patch) | |
tree | 2a3cdb0537a79899356f3e34de3e2aa1464dbdfa /lib/debugobjects.c | |
parent | 56f1b31f1dd60db4b02024a13eea45b5bbccc44e (diff) |
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 <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions