diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-09-05 19:55:43 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-09-07 18:27:13 +0300 |
commit | 3bd68529c46401630467b85e5a8f1a3902280834 (patch) | |
tree | a2ff6fa0969b3ffca7fec1835c28372619908cf1 /lib/drmtest.c | |
parent | 7d89cc39dde3b4881d85ace45d504cc098fa3684 (diff) |
lib/igt_fb: Add missing set_domain calls
We're missing some set_domain calls around the ggtt mmap paths. This
means we never tell the kernel that we've dirtied the object. And
then at some point down the line the kernel throws the pages into
/dev/null instead of hanging on to them/swapping them out because
they were never marked as dirty.
Throw in the missing set_domains(GTT,GTT) calls and rip out the old
bogus set_domain(CPU,CPU).
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/drmtest.c')
0 files changed, 0 insertions, 0 deletions