History

Merge tag 'drm-fixes-2024-07-12' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie: "Oh I screwed up last week's fixes pull, and forgot to send.. Back to work, thanks to Sima for last week, not too many fixes as expected getting close to release [ sic - Linus ], amdgpu and xe have a couple each, and then some other misc ones. amdgpu: - PSR-SU fix - Reseved VMID fix xe: - Use write-back caching mode for system memory on DGFX - Do not leak object when finalizing hdcp gsc bridge: - adv7511 EDID irq fix gma500: - NULL mode fixes. meson: - fix resource leak" * tag 'drm-fixes-2024-07-12' of https://gitlab.freedesktop.org/drm/kernel: Revert "drm/amd/display: Reset freesync config before update new state" drm/xe/display/xe_hdcp_gsc: Free arbiter on driver removal drm/xe: Use write-back caching mode for system memory on DGFX drm/amdgpu: reject gang submit on reserved VMIDs drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes drm/meson: fix canvas release in bind function drm/bridge: adv7511: Fix Intermittent EDID failures

Linus Torvalds committed 2 years ago

Commit 2ffd45d2 parents 5e04975 8b6878814 files · +122 −60Browse files

Showing the changes to include/uapi (1 of 14 files). Show all

Unified · Split

include/uapi/drm/xe_drm.h+7−1
@@ -776,7 +776,13 @@ struct drm_xe_gem_create { · 775 unmodified lines
776776 #define DRM_XE_GEM_CPU_CACHING_WC 2
777777 /**
778778 * @cpu_caching: The CPU caching mode to select for this object. If
779− * mmaping the object the mode selected here will also be used.
779+ * mmaping the object the mode selected here will also be used. The
780+ * exception is when mapping system memory (including data evicted
781+ * to system) on discrete GPUs. The caching mode selected will
782+ * then be overridden to DRM_XE_GEM_CPU_CACHING_WB, and coherency
783+ * between GPU- and CPU is guaranteed. The caching mode of
784+ * existing CPU-mappings will be updated transparently to
785+ * user-space clients.
780786 */
781787 __u16 cpu_caching;
782788 /** @pad: MBZ */