diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-01-23 16:05:58 -0800 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-01-24 19:34:25 -0800 |
| commit | 7f92e6c2aecf66f1ccf5d3137aaf1aa9905940d4 (patch) | |
| tree | 259f617de7717384a9b29e20cd329b23123f807a /tools/perf/scripts/python | |
| parent | drm/i915: Update DRIVER_DATE to 20190124 (diff) | |
| download | linux-7f92e6c2aecf66f1ccf5d3137aaf1aa9905940d4.tar.gz linux-7f92e6c2aecf66f1ccf5d3137aaf1aa9905940d4.zip | |
drm/i915: initialize unused MOCS entries to PTE
Instead of initializing them to uncached, let's set them to PTE for
kernel tracking. While at it do some minor adjustments to comments and
coding style.
From Chris: "What it does mean is that the buffer contents are consistent
with our cache tracking; and for userspace the results were always
undefined. So we should at least be able to guarantee that the data
written by userspace from the CPU is visible. After that, your caches
are on your own".
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tomasz Lis <tomasz.lis@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190124000604.18861-2-lucas.demarchi@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
