mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-17 22:23:45 -04:00
Link Off Between Active Frames, is a new feature for eDP that allows the panel to go to lower power state after transmission of data. This is a feature on top of ALPM, AS SDP. Add compute config during atomic-check phase. v1: RFC version. v2: Add separate flag for auxless-alpm. [Jani] v3: - intel_dp->lobf_supported replaced with crtc_state->has_lobf. [Jouni] - Add DISPLAY_VER() check. [Jouni] - Modify function name of get_aux_less_status. [Jani] v4: Add enum alpm_mode to hold the aux-wake/less capability. v5: Add alpm_dpcd to intel_dp and use aux_wake_supported()/ aux_less_wake_supported() instead of enum alpm_mode. [Jouni] Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Signed-off-by: Animesh Manna <animesh.manna@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240529200742.1694401-5-animesh.manna@intel.com
24 lines
600 B
C
24 lines
600 B
C
/* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_ALPM_H
|
|
#define _INTEL_ALPM_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct intel_dp;
|
|
struct intel_crtc_state;
|
|
struct drm_connector_state;
|
|
|
|
void intel_alpm_init_dpcd(struct intel_dp *intel_dp);
|
|
bool intel_alpm_compute_params(struct intel_dp *intel_dp,
|
|
struct intel_crtc_state *crtc_state);
|
|
void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
|
|
struct intel_crtc_state *crtc_state,
|
|
struct drm_connector_state *conn_state);
|
|
void intel_alpm_configure(struct intel_dp *intel_dp);
|
|
|
|
#endif
|