xref: /linux/drivers/gpu/drm/i915/display/intel_display_rps.h (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef __INTEL_DISPLAY_RPS_H__
7 #define __INTEL_DISPLAY_RPS_H__
8 
9 #include <linux/types.h>
10 
11 struct dma_fence;
12 struct drm_crtc;
13 struct drm_i915_private;
14 struct intel_atomic_state;
15 
16 void intel_display_rps_boost_after_vblank(struct drm_crtc *crtc,
17 					  struct dma_fence *fence);
18 void intel_display_rps_mark_interactive(struct drm_i915_private *i915,
19 					struct intel_atomic_state *state,
20 					bool interactive);
21 
22 #endif /* __INTEL_DISPLAY_RPS_H__ */
23