diff options
| author | Matthew Auld <[email protected]> | 2024-04-30 17:28:49 +0000 |
|---|---|---|
| committer | Radhakrishna Sripada <[email protected]> | 2024-05-03 20:15:54 +0000 |
| commit | 4071ada7ae313da2e6bb2c1ebc097bd12f9da761 (patch) | |
| tree | ab6a7145a47836c86820f74ee027e7caa66d7476 /drivers/gpu/drm/i915/display/intel_frontbuffer.c | |
| parent | drm/xe/device: implement transient flush (diff) | |
| download | kernel-4071ada7ae313da2e6bb2c1ebc097bd12f9da761.tar.gz kernel-4071ada7ae313da2e6bb2c1ebc097bd12f9da761.zip | |
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 <[email protected]>
Signed-off-by: Balasubramani Vivekanandan <[email protected]>
Acked-by: Nirmoy Das <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Signed-off-by: Radhakrishna Sripada <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_frontbuffer.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_frontbuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_frontbuffer.c b/drivers/gpu/drm/i915/display/intel_frontbuffer.c index 2ea37c0414a9..4923c340a0b6 100644 --- a/drivers/gpu/drm/i915/display/intel_frontbuffer.c +++ b/drivers/gpu/drm/i915/display/intel_frontbuffer.c @@ -65,6 +65,7 @@ #include "intel_fbc.h" #include "intel_frontbuffer.h" #include "intel_psr.h" +#include "intel_tdf.h" /** * frontbuffer_flush - flush frontbuffer @@ -93,6 +94,7 @@ static void frontbuffer_flush(struct drm_i915_private *i915, trace_intel_frontbuffer_flush(i915, frontbuffer_bits, origin); might_sleep(); + intel_td_flush(i915); intel_drrs_flush(i915, frontbuffer_bits); intel_psr_flush(i915, frontbuffer_bits, origin); intel_fbc_flush(i915, frontbuffer_bits, origin); |
