drm: Add PSR version 3 macro
Subsystems (2)
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.
Signed-off-by José Roberto de Souza <[email protected]>
--- include/drm/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+)
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 */ #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
Jani Nikula
AppliedQuoted 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.
Signed-off-by José Roberto de Souza <[email protected]>--- include/drm/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_dp_helper.h +0
-0
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