[PATCH] drm: Add PSR version 4 macro

Zhang, Dingchen (David) Dingchen.Zhang at amd.com
Thu Jan 20 18:59:27 UTC 2022


[Public]

From: dri-devel <dri-devel-bounces at lists.freedesktop.org> on behalf of sunpeng.li at amd.com <sunpeng.li at amd.com>
Sent: Monday, January 17, 2022 5:33 PM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>; dri-devel at lists.freedesktop.org <dri-devel at lists.freedesktop.org>
Cc: Li, Sun peng (Leo) <Sunpeng.Li at amd.com>
Subject: [PATCH] drm: Add PSR version 4 macro

From: Leo Li <sunpeng.li at amd.com>


eDP 1.5 specification defines PSR version 4.

It defines PSR1 and PSR2 support with selective-update (SU)
capabilities, with additional support for Y-coordinate and Early
Transport of the selective-update region.

This differs from PSR version 3 in that early transport is supported
for version 4, but not for version 3.

Signed-off-by: Leo Li <sunpeng.li at amd.com>
Reviewed-by: David Zhang <dingchen.zhang at amd.com>

Thanks
David Zhang
---
 include/drm/drm_dp_helper.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 3f2715eb965f..05268c51acaa 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -360,6 +360,7 @@ struct drm_dp_aux;
 # define DP_PSR_IS_SUPPORTED                1
 # define DP_PSR2_IS_SUPPORTED               2        /* eDP 1.4 */
 # define DP_PSR2_WITH_Y_COORD_IS_SUPPORTED  3       /* eDP 1.4a */
+# define DP_PSR2_WITH_ET_IS_SUPPORTED       4      /* eDP 1.5 (eDP 1.4b SCR) */

 #define DP_PSR_CAPS                         0x071   /* XXX 1.2? */
 # define DP_PSR_NO_TRAIN_ON_EXIT            1
--
2.34.1


More information about the dri-devel mailing list