diff options
| author | Paulo Zanoni <[email protected]> | 2016-09-22 18:00:28 -0300 |
|---|---|---|
| committer | Paulo Zanoni <[email protected]> | 2016-09-26 16:50:57 -0300 |
| commit | 56feca91973459d0b62cbb2610b62d341025ed89 (patch) | |
| tree | 321cdbace9e9d31995d90df755d8f89fed31c0ed /tools/perf/scripts/python/syscall-counts.py | |
| parent | 16dcdc4edbcf5cb130004737f2548401776170f1 (diff) | |
drm/i915: introduce intel_has_sagv()
And use it to move knowledge about the SAGV-supporting platforms from
the callers to the SAGV code.
We'll add more platforms to intel_has_sagv(), so IMHO it makes more
sense to move all this to a single function instead of patching all
the callers every time we add SAGV support to a new platform.
v2: Move I915_SAGV_NOT_CONTROLLED to the new function (Lyude).
Cc: [email protected]
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions