diff options
author | Lionel Landwerlin <[email protected]> | 2018-06-02 12:29:45 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-06-04 18:12:54 +0100 |
commit | 218b5000982b7c5e7433b86819be92f95984a1ae (patch) | |
tree | 3a5762a402305f37d9cddd87f25153cf5441ef36 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 30aacd3fe7f16bc577c612b710de8f047c2c492a (diff) |
drm/i915: drop one bit on the hw_id when using guc
We currently using GuC as a proxy to the hardware. When Guc is used in
such mode, it consumes the bit 20 of the hw_id to indicate that the
workload was submitted by proxy.
So far we probably haven't seen the issue because we need to allocate
1048576+ contexts to hit this issue. Still, we should avoid allocating
the hw_id on that bit and restriction to bits [0:19] (i.e 20bits
instead of 21).
v2: Leave the max hw_id computation in i915_gem_context.c (Michel)
v3: Be consistent on if/else usage (Chris)
Signed-off-by: Lionel Landwerlin <[email protected]>
BSpec: 1237
Reviewed-by: Michel Thierry <[email protected]>
Acked-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions