diff options
author | 2017-09-20 11:35:24 -0700 | |
---|---|---|
committer | 2017-09-26 13:02:44 -0700 | |
commit | 4e9767bc28e93139442847f023ff2fc0c2a21d34 (patch) | |
tree | 9a5fd8afce32d9f6baae006b3321146763bfc890 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Compact device info access by a small re-ordering (diff) | |
download | linux-dev-4e9767bc28e93139442847f023ff2fc0c2a21d34.tar.xz linux-dev-4e9767bc28e93139442847f023ff2fc0c2a21d34.zip |
drm/i915/cnl: Add support slice/subslice/eu configs
Cannonlake Slice and Subslice information has changed.
This patch initially provided by Ben adds the proper sseu
initialization.
v2: This v2 done by Rodrigo includes:
- Fix on Total slices count by avoiding [1][2] and [2][2].
- Inclusion of EU Per Subslice.
- Commit message.
v3: This v3 done by Rodrigo includes:
- Handle all possible bits and extra fuse register.
- Use INTEL_GEN macro.
- Fully assume uniform distribution so remove union
with eu_per_subslice and add proper the comment.
v4: This v4 done by Rodrigo includes:
- Consider all bits available: 6 bits for slices [27:22]
and 4 for subslices [21:18].
v5: This v5 done by Rodrigo includes:
- sseu->subslice_mask = (1 << 4) - 1 - missed on previous
versions and noticed by Oscar.
Cc: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Oscar Mateo <oscar.mateo@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170920183525.20530-1-rodrigo.vivi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions