aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2017-11-10 14:26:27 +0000
committerChris Wilson <[email protected]>2017-11-10 17:20:24 +0000
commit1803fcbca2e444f7972430c4dc1c3e98c6ee1bc9 (patch)
tree9eb996fba2ac3ebb1356768d63c432fbdb90959f /tools/perf/scripts/python
parent9511ce1ce7299029acc985ce5f96a1e2e703f084 (diff)
drm/i915: Define an engine class enum for the uABI
We want to be able to report back to userspace details about an engine's class, and in return for userspace to be able to request actions regarding certain classes of engines. To isolate the uABI from any variations between hw generations, we define an abstract class for the engines and internally map onto the hw. v2: Remove MAX from the uABI; keep it internal if we need it, but don't let userspace make the mistake of using it themselves. v3: s/OTHER/INVALID/ The use of OTHER is ill-defined, so remove it from the uABI as any future new type of engine can define a class to suit it. But keep a reserved value for an invalid class, so that we can always unambiguously express when something doesn't belong to the classification. Signed-off-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Lionel Landwerlin <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> #v2 Reviewed-by: Lionel Landwerlin <[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