diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-30 18:07:02 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-11 00:16:15 +0000 |
commit | cbc1f3cb67b6ec13182117a329b6f03810c03cf6 (patch) | |
tree | a06004a50196379f78ae19fc9e9ff33f92fb1fbc /drivers/gpu/drm/i915/display/intel_hdcp.c | |
parent | 4746fd5c2c132225bdd817ddf04e8454e872f8c2 (diff) | |
download | linux-cbc1f3cb67b6ec13182117a329b6f03810c03cf6.tar.bz2 |
drm/i915: Skip CPU synchronisation on dmabuf attachments
dma-bufs are device coherent, with explicit CPU synchronisation provided
via the begin/end cpu access ioctls. As the coherency of the dma-buf is
explicitly defined to be under user control, flushing any caches on
attach/detach of the dma-buf is additional work that doesn't aide the
user in the slightest.
Suggested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Dongwon Kim <dongwon.kim@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171130180702.29357-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_hdcp.c')
0 files changed, 0 insertions, 0 deletions