diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-06-20 00:45:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-06-20 09:57:09 +0100 |
commit | 033ef711bbfb671ae58a1acb0f8440889c6000c6 (patch) | |
tree | cee8a692489c8e9a52068ef43b50307c4f159dc7 /lib/test_overflow.c | |
parent | 4fb33953438bf3c67c655a4d187f1645446863fb (diff) | |
download | lwn-033ef711bbfb671ae58a1acb0f8440889c6000c6.tar.gz lwn-033ef711bbfb671ae58a1acb0f8440889c6000c6.zip |
drm/i915/gvt: Drop redundant prepare_write/pin_pages
Since gvt calls pin_map for the shadow batch buffer, this makes the
action of prepare_write [+pin_pages] redundant. We can write into the
obj->mm.mapping directory and the flush_map routine knows when it has to
flush the cpu cache afterwards.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200619234543.17499-1-chris@chris-wilson.co.uk
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions