diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-07-08 18:37:46 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-07-08 22:05:49 +0100 |
commit | 59c94b9d26dfee413238b012238837e7028e40cc (patch) | |
tree | 17645547ea76068a8f9fc7940f7fa268f9a429e4 /drivers/opp/ti-opp-supply.c | |
parent | 09137e94543761154f464433c019d51d6ac32fcf (diff) |
drm/i915/gt: Replace opencoded i915_gem_object_pin_map()
As we have a pin_map interface, that knows how to flush the data to the
device, use it. The only downside is that we keep the kmap around, as
once acquired we keep the mapping cached until the object's backing
store is released.
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/20200708173748.32734-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/opp/ti-opp-supply.c')
0 files changed, 0 insertions, 0 deletions