[PATCH] drm: Add PSR version 3 macro

Jani Nikula jani.nikula at linux.intel.com
Mon Mar 19 08:15:16 UTC 2018


On Fri, 16 Mar 2018, José Roberto de Souza <jose.souza at intel.com> wrote:
> 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 at intel.com>
> ---
>  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 4de97e94ef9d..62903bae0221 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -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.


>  
>  #define DP_PSR_CAPS                         0x071   /* XXX 1.2? */
>  # define DP_PSR_NO_TRAIN_ON_EXIT            1

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the dri-devel mailing list