diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-12 10:43:27 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-12 12:22:36 +0100 |
| commit | 6239901c576d4df87d6463c4f163bd432995d540 (patch) | |
| tree | 24231c2cd55fa1719f65aff0dd339f3a128ce1e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | drm/i915/gtt: Convert vm->scratch into an array (diff) | |
| download | linux-6239901c576d4df87d6463c4f163bd432995d540.tar.gz linux-6239901c576d4df87d6463c4f163bd432995d540.zip | |
drm/i915/gtt: Use NULL to encode scratch shadow entries
We can simplify our gtt walking code by comparing against NULL for
scratch entries as opposed to looking up the distinct per-level scratch
pointer.
The only caveat is to remember to protect external parties and map the
NULL to the scratch top pd.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712094327.24437-6-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
