Message ID | 20220117223339.45074-1-sunpeng.li@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: Add PSR version 4 macro | expand |
[Public] From: dri-devel <dri-devel-bounces@lists.freedesktop.org> on behalf of sunpeng.li@amd.com <sunpeng.li@amd.com> Sent: Monday, January 17, 2022 5:33 PM To: amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>; dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org> Cc: Li, Sun peng (Leo) <Sunpeng.Li@amd.com> Subject: [PATCH] drm: Add PSR version 4 macro From: Leo Li <sunpeng.li@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@amd.com> Reviewed-by: David Zhang <dingchen.zhang@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
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