Skip to contentSkip to conversation

drm: Add PSR version 4 macro

PATCH In review [email protected] 2 participants 2 messages Jan 17, 2022 – Jan 20, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: Add PSR version 4 macro

From: Leo Li <[email protected]>

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.

---
 include/drm/drm_dp_helper.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/drm_dp_helper.h +1 -0
index 3f2715eb965f..05268c51acaa 100644
@@ -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
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

[Public]

From: dri-devel <[email protected]> on behalf of [email protected] <[email protected]>
Sent: Monday, January 17, 2022 5:33 PM
To: [email protected] <[email protected]>; [email protected] <[email protected]>
Cc: Li, Sun peng (Leo) <[email protected]>
Subject: [PATCH] drm: Add PSR version 4 macro

From: Leo Li <[email protected]>

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.

Thanks
David Zhang

---
 include/drm/drm_dp_helper.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/drm_dp_helper.h +1 -0
index 3f2715eb965f..05268c51acaa 100644
@@ -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