drm: Add PSR version 3 macro
authorJosé Roberto de Souza <jose.souza@intel.com>
Sat, 17 Mar 2018 01:38:28 +0000 (18:38 -0700)
committerJani Nikula <jani.nikula@intel.com>
Mon, 19 Mar 2018 07:53:57 +0000 (09:53 +0200)
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 <jose.souza@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180317013828.24182-1-jose.souza@intel.com
include/drm/drm_dp_helper.h

index 4de97e9..62903ba 100644 (file)
 #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