Split out the RPS parts so they can be conditionally compiled out later. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230302164936.3034161-1-jani.nikula@intel.com
22 lines
531 B
C
22 lines
531 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 drm_i915_private;
|
|
struct intel_atomic_state;
|
|
|
|
void intel_display_rps_boost_after_vblank(struct drm_crtc *crtc,
|
|
struct dma_fence *fence);
|
|
void intel_display_rps_mark_interactive(struct drm_i915_private *i915,
|
|
struct intel_atomic_state *state,
|
|
bool interactive);
|
|
|
|
#endif /* __INTEL_DISPLAY_RPS_H__ */
|