Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2022 Intel Corporation
0004  */
0005 
0006 #ifndef __HSW_IPS_H__
0007 #define __HSW_IPS_H__
0008 
0009 #include <linux/types.h>
0010 
0011 struct intel_atomic_state;
0012 struct intel_crtc;
0013 struct intel_crtc_state;
0014 
0015 bool hsw_ips_disable(const struct intel_crtc_state *crtc_state);
0016 bool hsw_ips_pre_update(struct intel_atomic_state *state,
0017             struct intel_crtc *crtc);
0018 void hsw_ips_post_update(struct intel_atomic_state *state,
0019              struct intel_crtc *crtc);
0020 bool hsw_crtc_supports_ips(struct intel_crtc *crtc);
0021 bool hsw_crtc_state_ips_capable(const struct intel_crtc_state *crtc_state);
0022 int hsw_ips_compute_config(struct intel_atomic_state *state,
0023                struct intel_crtc *crtc);
0024 void hsw_ips_get_config(struct intel_crtc_state *crtc_state);
0025 
0026 #endif /* __HSW_IPS_H__ */