aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/i915/i915_request.c
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2021-06-24 10:42:39 +0200
committerMatthew Auld <matthew.auld@intel.com>2021-06-24 18:51:00 +0100
commit3c2b8f326e7f73dd10ae422dc65603a858f6c6b4 (patch)
tree62e6c1784f6b2e93ef788d86126d6faf7fd8859e /drivers/gpu/drm/i915/i915_request.c
parentdrm/i915: Update object placement flags to be mutable (diff)
downloadwireguard-linux-3c2b8f326e7f73dd10ae422dc65603a858f6c6b4.tar.xz
wireguard-linux-3c2b8f326e7f73dd10ae422dc65603a858f6c6b4.zip
drm/i915/ttm: Adjust gem flags and caching settings after a move
After a TTM move or object init we need to update the i915 gem flags and caching settings to reflect the new placement. Currently caching settings are not changed during the lifetime of an object, although that might change moving forward if we run into performance issues or issues with WC system page allocations. Also introduce gpu_binds_iomem() and cpu_maps_iomem() to clean up the various ways we previously used to detect this. Finally, initialize the TTM object reserved to be able to update flags and caching before anyone else gets hold of the object. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210624084240.270219-3-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions