[PATCH 06/13] drm/amd/display: Update VTEM Infopacket definition
Paul Menzel
pmenzel at molgen.mpg.de
Sat Mar 19 08:37:22 UTC 2022
Dear Alex, dear Leo,
Am 18.03.22 um 22:47 schrieb Alex Hung:
> From: "Leo (Hanghong) Ma" <hanghong.ma at amd.com>
>
> [Why & How]
> The latest HDMI SPEC has updated the VTEM packet structure,
Please add the exact version, as “latest” is relative.
> so change the VTEM Infopacket defined in the driver side to align
> with the SPEC.
Kind regards,
Paul
> Reviewed-by: Chris Park <Chris.Park at amd.com>
> Acked-by: Alex Hung <alex.hung at amd.com>
> Signed-off-by: Leo (Hanghong) Ma <hanghong.ma at amd.com>
> ---
> .../gpu/drm/amd/display/modules/info_packet/info_packet.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c b/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c
> index b691aa45e84f..79bc207415bc 100644
> --- a/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c
> +++ b/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c
> @@ -100,7 +100,8 @@ enum vsc_packet_revision {
> //PB7 = MD0
> #define MASK_VTEM_MD0__VRR_EN 0x01
> #define MASK_VTEM_MD0__M_CONST 0x02
> -#define MASK_VTEM_MD0__RESERVED2 0x0C
> +#define MASK_VTEM_MD0__QMS_EN 0x04
> +#define MASK_VTEM_MD0__RESERVED2 0x08
> #define MASK_VTEM_MD0__FVA_FACTOR_M1 0xF0
>
> //MD1
> @@ -109,7 +110,7 @@ enum vsc_packet_revision {
> //MD2
> #define MASK_VTEM_MD2__BASE_REFRESH_RATE_98 0x03
> #define MASK_VTEM_MD2__RB 0x04
> -#define MASK_VTEM_MD2__RESERVED3 0xF8
> +#define MASK_VTEM_MD2__NEXT_TFR 0xF8
>
> //MD3
> #define MASK_VTEM_MD3__BASE_REFRESH_RATE_07 0xFF
More information about the amd-gfx
mailing list