diff options
| author | Umesh Nerlige Ramappa <[email protected]> | 2025-05-09 16:12:01 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-05-14 16:03:29 +0000 |
| commit | 66c8f7b435bddb7d8577ac8a57e175a6cb147227 (patch) | |
| tree | 2ec91d5ce9edb88979a235f4b0387032823d6647 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | drm/xe: Timeslice GPU on atomic SVM fault (diff) | |
| download | kernel-66c8f7b435bddb7d8577ac8a57e175a6cb147227.tar.gz kernel-66c8f7b435bddb7d8577ac8a57e175a6cb147227.zip | |
drm/xe: Save CTX_TIMESTAMP mmio value instead of LRC value
For determining actual job execution time, save the current value of the
CTX_TIMESTAMP register rather than the value saved in LRC since the
current register value is the closest to the start time of the job.
v2: Define MI_STORE_REGISTER_MEM to fix compile error
v3: Place MI_STORE_REGISTER_MEM sorted by MI_INSTR (Lucas)
Fixes: 65921374c48f ("drm/xe: Emit ctx timestamp copy in ring ops")
Signed-off-by: Umesh Nerlige Ramappa <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit 38b14233e5deff51db8faec287b4acd227152246)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
