]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/display: perform transient flush
authorMatthew Auld <matthew.auld@intel.com>
Tue, 30 Apr 2024 17:28:49 +0000 (10:28 -0700)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 3 May 2024 20:15:54 +0000 (13:15 -0700)
commit4071ada7ae313da2e6bb2c1ebc097bd12f9da761
treeab6a7145a47836c86820f74ee027e7caa66d7476
parentc01c6066e6fa6f13888f06a210f9a1d600590f42
drm/i915/display: perform transient flush

Perform manual transient cache flush prior to flip and at the end of
frontbuffer_flush. This is needed to ensure display engine doesn't see
garbage if the surface is L3:XD dirty.

Testcase: igt@xe-pat@display-vs-wb-transient
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Acked-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240430172850.1881525-19-radhakrishna.sripada@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_frontbuffer.c
drivers/gpu/drm/i915/display/intel_tdf.h [new file with mode: 0644]
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/display/xe_tdf.c [new file with mode: 0644]