mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
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
14 lines
241 B
C
14 lines
241 B
C
// SPDX-License-Identifier: MIT
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#include "xe_device.h"
|
|
#include "intel_display_types.h"
|
|
#include "intel_tdf.h"
|
|
|
|
void intel_td_flush(struct drm_i915_private *i915)
|
|
{
|
|
xe_device_td_flush(i915);
|
|
}
|