OSDN Git Service

drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 21 Apr 2021 22:02:23 +0000 (15:02 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 26 Apr 2021 20:08:04 +0000 (13:08 -0700)
commitd5b5f63cc5b0e7cf9b16b694215bc43fb6b71441
treecb7511256a1b29327aafc5c6ce53c84f786d74c2
parent7a6e95f375bb17d917a8213f0cfe9b55b882f342
drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec

DP_PSR_EN_CFG bit 5 aka "Selective Update Region Scan Line Capture
Indication" in eDP spec has a ambiguous name, so renaming to better
match specification.

While at it, replacing bit shit by BIT() macro and adding the version
some registers were added to eDP specification.

Cc: <dri-devel@lists.freedesktop.org>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210421220224.200729-1-jose.souza@intel.com
include/drm/drm_dp_helper.h