diff options
author | Matthew Auld <matthew.auld@intel.com> | 2021-10-18 18:45:04 +0100 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-10-20 16:50:21 +0100 |
commit | 63430347713a5ba48617687cc8b2aa1f01514432 (patch) | |
tree | 9a5116173468ccdad35c18a4e857f5b1c2e3c4b9 /drivers/gpu/drm/amd/display/dc/inc/resource.h | |
parent | a035154da45d19e09dc68454673ff257a660aece (diff) | |
download | linux-63430347713a5ba48617687cc8b2aa1f01514432.tar.gz linux-63430347713a5ba48617687cc8b2aa1f01514432.tar.bz2 linux-63430347713a5ba48617687cc8b2aa1f01514432.zip |
drm/i915/userptr: add paranoid flush-on-acquire
Even though userptr objects are always coherent with the GPU, with no
way for userspace to change this with the set_caching ioctl, even on
non-LLC platforms, there is still the 'Bypass LCC' mocs setting, which
might permit reading the contents of main memory directly.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211018174508.2137279-5-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/resource.h')
0 files changed, 0 insertions, 0 deletions