Skip to contentSkip to conversation

drm: Add PSR version 3 macro

PATCH Applied José Roberto de Souza 2 participants 2 messages Mar 17, 2018 – Mar 19, 2018

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

PATCH 1/1 drm: Add PSR version 3 macro

eDP 1.4a specification defines PSR version 3, it PSR2 with the addition of Y-coordinate support when doing selective update.

---
 include/drm/drm_dp_helper.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/drm_dp_helper.h +1 -0
index 4de97e94ef9d..62903bae0221 100644
@@ -288,6 +288,7 @@
 #define DP_PSR_SUPPORT                      0x070   /* XXX 1.2? */
 # 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_PSR_CAPS                         0x071   /* XXX 1.2? */
 # define DP_PSR_NO_TRAIN_ON_EXIT            1
Signature · 6 lines
2.16.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Applied
#1 lore raw
Quoted 13 lines · José Roberto de Souza

eDP 1.4a specification defines PSR version 3, it PSR2 with the addition of Y-coordinate support when doing selective update.

---
 include/drm/drm_dp_helper.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/drm_dp_helper.h +0 -0
index 4de97e94ef9d..62903bae0221 100644

include/drm/drm_dp_helper.h line 291

Quoted 4 lines
include/drm/drm_dp_helper.h +1 -0
@@ -288,6 +288,7 @@
 #define DP_PSR_SUPPORT                      0x070   /* XXX 1.2? */
 # 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 */

I wish the spec would give us sensible names to work with... We can't call it PSR3, so we might as well go with this.

Pushed to drm-misc-next, thanks for the patch.

BR,
Jani.

Quoted 3 lines
include/drm/drm_dp_helper.h +0 -0
 #define DP_PSR_CAPS                         0x071   /* XXX 1.2? */
 # define DP_PSR_NO_TRAIN_ON_EXIT            1
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel