Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3345183pxb; Mon, 18 Apr 2022 23:43:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJws7/EYOq+XILfxsl+pQD4rxjqJ6vofaW3jnQ216xvB30zEaAyH4UI0/MG649PpgeCL+mJ3 X-Received: by 2002:a62:7bc9:0:b0:508:2e2a:c36c with SMTP id w192-20020a627bc9000000b005082e2ac36cmr16203576pfc.67.1650350630812; Mon, 18 Apr 2022 23:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650350630; cv=none; d=google.com; s=arc-20160816; b=j6lCl/7Ads9N3ZmPUpb/2T7BRVqcekbI6GPHtS4tKN7fD7SbxiYGpz0h8SUJlsIaKA C7I4Ke6XnS80rLmOJe8HmfSGsbiga/9oUljfZwOky75Xplq/zw7wGYWAI5DSVoBY3EpM LHopQe/5Y03re0VAYxA6hd5ND3ZvelOm+kDPPL8ZZNw7wOZxWvOmlxwJ/iPAq2ZzURi0 d2LbBvJsJAs/1CYBG0E4faRR3qElVbbL/nlM4poSikTFDoV4mJhRIGxtXEe8Vf0aCObJ c41Uhlq0cN6kR7e1knFjfDgbKKwhd5h9ntCY+vajHjOhG+GuKNlJGTx+QksfqqElIsu4 xegA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WebLkS+iLzkRVL+wJee3PgNIOkygG6qixtua4nP/Hlk=; b=ySbFpVYtTdbmsYRIJk4e/4z432EhNwXHHR439Og0RxFZJXl/H5nZfThLPye9V4zZ6S AKr8lNhC1pgtolqg2QMD7Oja+XINyyYFPMOqwoOTZLrAFZ9n2r3w6T7TwX8MvlX6/yKd up08wOysuUtqhgLBLYXU8EJZBqjVLp+6D1l1gbywMPCoAX9uF0JHx0SNMVaw47HC/omg RUlUrukCiYaKdP6tkWPDnY/GSlguxTlPVZA/6YjfVSYFGWd53abLzYWWNlKEPeMIsgBJ QRnk4Oo4x5+16D9/QeqwIpMMsEpm+DcylEP4SbbDyWucvyN1VJpQHjSbpzi/mmFF4Zpe C28A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ljHpefv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ob17-20020a17090b391100b001c680dc9e6asi1480545pjb.61.2022.04.18.23.43.36; Mon, 18 Apr 2022 23:43:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ljHpefv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239322AbiDRMhO (ORCPT + 99 others); Mon, 18 Apr 2022 08:37:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238966AbiDRMac (ORCPT ); Mon, 18 Apr 2022 08:30:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36DA24F07; Mon, 18 Apr 2022 05:23:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 700CCB80EDC; Mon, 18 Apr 2022 12:23:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C89B7C385A1; Mon, 18 Apr 2022 12:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650284631; bh=okAbp2v/Y4eqFaui4seYNyJOzyps1nqQznQq5s+nF1Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ljHpefv4PrYqWCTYfQ2T0gHD2/ee6K/mSsCTDhkj4mlNK8mbG8jrxvLT72ADLcISJ DBhIwJlbwxPm4tlm0aQ9v0pKFnZ+//wcWx/NUQb1Qw/k0tyXfNLr4fAnah141OdLbV Q6izd0OekOeMaIH4WU1lCM4JC3Rq2A8tyr6CDJug= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Park , Alex Hung , "Leo (Hanghong) Ma" , Daniel Wheeler , Alex Deucher , Sasha Levin Subject: [PATCH 5.17 137/219] drm/amd/display: Update VTEM Infopacket definition Date: Mon, 18 Apr 2022 14:11:46 +0200 Message-Id: <20220418121210.728543143@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121203.462784814@linuxfoundation.org> References: <20220418121203.462784814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leo (Hanghong) Ma [ Upstream commit c9fbf6435162ed5fb7201d1d4adf6585c6a8c327 ] [Why & How] The latest HDMI SPEC has updated the VTEM packet structure, so change the VTEM Infopacket defined in the driver side to align with the SPEC. Reviewed-by: Chris Park Acked-by: Alex Hung Signed-off-by: Leo (Hanghong) Ma Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- .../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 57f198de5e2c..4e075b01d48b 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 -- 2.35.1