aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-02-28 13:17:11 +0000
committerChris Wilson <[email protected]>2020-02-28 22:03:35 +0000
commit6e57cc39420c1d13d92c46ea662a7f9f5368f2ee (patch)
treeaf002a19a396db8a2ecc4279fdb6250b7339f1b8 /tools/perf/scripts/python
parent4ec76dbeb62b5f897641af502b8309808e4e2d82 (diff)
drm/i915/gt: Expose engine->mmio_base via sysfs
Use the per-engine sysfs directory to let userspace discover the mmio_base of each engine. Prior to recent generations, the user accessible registers on each engine are at a fixed offset relative to each engine -- but require absolute addressing. As the absolute address depends on the actual physical engine, this is not always possible to determine from userspace (for example icl may expose vcs1 or vcs2 as the second vcs engine). Make this easy for userspace to discover by providing the mmio_base in sysfs. Signed-off-by: Chris Wilson <[email protected]> Acked-by: Lionel Landwerlin <[email protected]> Reviewed-by: Steve Carbonari <[email protected]> Tested-by: Steve Carbonari <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions