mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Going forward, struct intel_display is the main display device data pointer. Convert the intel_tdf.[ch] glue to struct intel_display. Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/26d976f23295713f9a7cda20e32b7ef5aad3dd9e.1740502116.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
25 lines
715 B
C
25 lines
715 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_TDF_H__
|
|
#define __INTEL_TDF_H__
|
|
|
|
/*
|
|
* TDF (Transient-Data-Flush) is needed for Xe2+ where special L3:XD caching can
|
|
* be enabled through various PAT index modes. Idea is to use this caching mode
|
|
* when for example rendering onto the display surface, with the promise that
|
|
* KMD will ensure transient cache entries are always flushed by the time we do
|
|
* the display flip, since display engine is never coherent with CPU/GPU caches.
|
|
*/
|
|
|
|
struct intel_display;
|
|
|
|
#ifdef I915
|
|
static inline void intel_td_flush(struct intel_display *display) {}
|
|
#else
|
|
void intel_td_flush(struct intel_display *display);
|
|
#endif
|
|
|
|
#endif
|