aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatt Roper <[email protected]>2024-01-11 14:02:38 -0800
committerMatt Roper <[email protected]>2024-01-12 09:09:06 -0800
commitca630876aa98c5118ada07604ed8688ee707ddfa (patch)
tree4a0cecd7a88f1bb58706b84c54b9407a600b5c26 /tools/perf/scripts/python/export-to-sqlite.py
parent1113e52ffee7b45def230d10edb1f2924c7b3f9e (diff)
drm/xe/migrate: Cap PTEs written by MI_STORE_DATA_IMM to 510
Although MI_STORE_DATA_IMM's "length" field is 10-bits, 0x3FE is considered the largest legal value accepted. Since that instruction field is always encoded in (val-2) format, this translates to 0x400 dwords for the true maximum length of the instruction. Subtracting the instruction header (1 dword) and address (2 dwords), that leaves 0x3FD dwords (i.e., 0x1FE qwords) for PTE values. Bspec: 60246, 45753 Reviewed-by: Matthew Brost <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matt Roper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions