diff options
author | Dave Gordon <[email protected]> | 2015-12-10 18:51:24 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-12-11 18:20:19 +0100 |
commit | 9e7d18c08a4ec3b76b6a0994e93258decb250fbe (patch) | |
tree | 60077e145dbafefaa287eb6d31f6bbec73324c0f /tools/perf/scripts/python/syscall-counts.py | |
parent | 033908aed5a596f6202c848c6bbc8a40fb1a8490 (diff) |
drm/i915: mark a newly-created GEM object dirty when filled with data
When creating a new (pageable) GEM object and filling it with data, we
must mark it as 'dirty', i.e. backing store is out-of-date w.r.t. the
newly-written content. This ensures that if the object is evicted under
memory pressure, its pages in the pagecache will be written to backing
store rather than discarded.
Based on an original version by Alex Dai.
Signed-off-by: Alex Dai <[email protected]>
Signed-off-by: Dave Gordon <[email protected]>
Cc: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions