diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-10 00:09:42 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-13 11:16:09 +0000 |
commit | 7f5f95d8aca44661efb4c66d405c21ca703a8e44 (patch) | |
tree | 53d4200162b2f002500345b4de4a6406b425332b /drivers/gpu/drm/i915/selftests | |
parent | 655d49ef77fa8d5788e05966445f9a4a124c8fbd (diff) |
drm/i915: Move whole object to CPU domain for coherent shmem access
If the object is coherent, we can simply update the cache domain on the
whole object rather than calculate the before/after clflushes. The
advantage is that we then get correct tracking of ellided flushes when
changing coherency later.
Testcase: igt/gem_pwrite_snooped
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170310000942.11661-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/selftests')
0 files changed, 0 insertions, 0 deletions