mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Reduce the conditional compilation in i915 by building intel_display_rps.c as part of the xe module. This doesn't actually enable RPS on xe, because there's no parent interface implementation on xe side, but it's a step in the right direction. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/93df0bb727fce14aa9a542dbd2c0826a0fa0a16f.1763370931.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
26 lines
714 B
C
26 lines
714 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_DISPLAY_RPS_H__
|
|
#define __INTEL_DISPLAY_RPS_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct dma_fence;
|
|
struct drm_crtc;
|
|
struct intel_atomic_state;
|
|
struct intel_display;
|
|
|
|
void intel_display_rps_boost_after_vblank(struct drm_crtc *crtc,
|
|
struct dma_fence *fence);
|
|
void intel_display_rps_mark_interactive(struct intel_display *display,
|
|
struct intel_atomic_state *state,
|
|
bool interactive);
|
|
void ilk_display_rps_enable(struct intel_display *display);
|
|
void ilk_display_rps_disable(struct intel_display *display);
|
|
void ilk_display_rps_irq_handler(struct intel_display *display);
|
|
|
|
#endif /* __INTEL_DISPLAY_RPS_H__ */
|