]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/display: Add missing aux less alpm wake related bits
authorJouni Högander <jouni.hogander@intel.com>
Wed, 29 May 2024 20:07:39 +0000 (01:37 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Fri, 31 May 2024 05:25:14 +0000 (10:55 +0530)
eDP1.5 adds some more bits into DP_RECEIVER_ALPM_CAP and
DP_RECEIVER_ALPM_CONFIG registers. Add definitions for these.

Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-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-4-animesh.manna@intel.com
include/drm/display/drm_dp.h

index 79bde372b1529275f6c75c3e1293dc9a544fb19d..f246fa03a3cbf3cd60c169135d73f4777080d9f9 100644 (file)
 
 #define DP_RECEIVER_ALPM_CAP               0x02e   /* eDP 1.4 */
 # define DP_ALPM_CAP                       (1 << 0)
+# define DP_ALPM_PM_STATE_2A_SUPPORT       (1 << 1) /* eDP 1.5 */
+# define DP_ALPM_AUX_LESS_CAP              (1 << 2) /* eDP 1.5 */
 
 #define DP_SINK_DEVICE_AUX_FRAME_SYNC_CAP   0x02f   /* eDP 1.4 */
 # define DP_AUX_FRAME_SYNC_CAP             (1 << 0)
 
 #define DP_RECEIVER_ALPM_CONFIG                    0x116   /* eDP 1.4 */
 # define DP_ALPM_ENABLE                            (1 << 0)
-# define DP_ALPM_LOCK_ERROR_IRQ_HPD_ENABLE  (1 << 1)
+# define DP_ALPM_LOCK_ERROR_IRQ_HPD_ENABLE  (1 << 1) /* eDP 1.5 */
+# define DP_ALPM_MODE_AUX_LESS             (1 << 2) /* eDP 1.5 */
 
 #define DP_SINK_DEVICE_AUX_FRAME_SYNC_CONF  0x117   /* eDP 1.4 */
 # define DP_AUX_FRAME_SYNC_ENABLE          (1 << 0)