diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-03 10:01:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-03 10:01:09 +0300 |
commit | afc8302647471de22eebee598a206a001d57c15a (patch) | |
tree | 69d621c9dc119d32f29fe3a8d3a0c9ee3ef31797 /include/uapi/drm/xe_drm.h | |
parent | bbaf4576734694ba33bc6c3d098a23f66a5b1e21 (diff) | |
parent | d29de02effd4e8816333582ed8230d41e14a73dc (diff) | |
download | linux-rolling-stable.tar.xz |
Merge v6.10.3linux-rolling-stable
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/drm/xe_drm.h')
-rw-r--r-- | include/uapi/drm/xe_drm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h index 1446c3bae515..d425b83181df 100644 --- a/include/uapi/drm/xe_drm.h +++ b/include/uapi/drm/xe_drm.h @@ -776,7 +776,13 @@ struct drm_xe_gem_create { #define DRM_XE_GEM_CPU_CACHING_WC 2 /** * @cpu_caching: The CPU caching mode to select for this object. If - * mmaping the object the mode selected here will also be used. + * mmaping the object the mode selected here will also be used. The + * exception is when mapping system memory (including data evicted + * to system) on discrete GPUs. The caching mode selected will + * then be overridden to DRM_XE_GEM_CPU_CACHING_WB, and coherency + * between GPU- and CPU is guaranteed. The caching mode of + * existing CPU-mappings will be updated transparently to + * user-space clients. */ __u16 cpu_caching; /** @pad: MBZ */ |