summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_alpm.h
diff options
context:
space:
mode:
authorAnimesh Manna <animesh.manna@intel.com>2024-05-30 01:37:38 +0530
committerAnimesh Manna <animesh.manna@intel.com>2024-05-31 10:47:23 +0530
commit8bdbde7c4c84286aff55c0af37bcf0a72828d98f (patch)
tree483f714f29aa16929ba7891732f8a295084b1eb4 /drivers/gpu/drm/i915/display/intel_alpm.h
parentdd73925e3b84bcf2b29c20d6276843e7ed7cd771 (diff)
drm/i915/alpm: Move alpm related code to a new file
Move ALPM feature related code as it will be used for non-psr panel also thorugh LOBF feature. v1: Initial version. v2: Correct ordering in makefile. [Jani] 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-3-animesh.manna@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_alpm.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_alpm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_alpm.h b/drivers/gpu/drm/i915/display/intel_alpm.h
new file mode 100644
index 000000000000..c45d078e5a6b
--- /dev/null
+++ b/drivers/gpu/drm/i915/display/intel_alpm.h
@@ -0,0 +1,18 @@
+/* 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;
+
+bool intel_alpm_compute_params(struct intel_dp *intel_dp,
+ struct intel_crtc_state *crtc_state);
+void intel_alpm_configure(struct intel_dp *intel_dp);
+
+#endif