diff options
author | Anshuman Gupta <[email protected]> | 2023-02-23 15:35:03 +0530 |
---|---|---|
committer | Anshuman Gupta <[email protected]> | 2023-03-03 19:38:08 +0530 |
commit | 4d14d7717f19fb1125496b1fd836ca89f11d540f (patch) | |
tree | 204183dc1ed36a89d3e24b88081d7fbeaf63f4cd /drivers/gpu/drm/i915/selftests/i915_request.c | |
parent | 29b41cf707b5ecc55cab12bfa04fbd9811f4fd04 (diff) |
drm/i915/selftest: Fix ktime_get() and h/w access order
Use ktime_get() after accessing the mmio or any driver resource,
while using wall time for various calculation that depends on
the inserted delay in order to account any mmio and resource
access latency.
Cc: Chris Wilson <[email protected]>
Signed-off-by: Anshuman Gupta <[email protected]>
Reviewed-by: Badal Nilawar <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions