From patchwork Thu Nov 30 23:15:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Almahallawy, Khaled" X-Patchwork-Id: 13475150 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7564C4167B for ; Thu, 30 Nov 2023 23:15:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BBDA810E4EE; Thu, 30 Nov 2023 23:15:15 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 65B2D10E328; Thu, 30 Nov 2023 23:15:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701386113; x=1732922113; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ErtMadopJW5hKi3Y92MzIAX8qLaBI2oLVI9n11YeycI=; b=Q1dYdUnMn12xYTrJOHyaTXemxYcftBy7nGXBR1OByJcjooL+/tmbOE37 2TDsfjmZTf47RDFrS02UpRd5Msp6YX287orU/v+JWnhWA8ixSFo0ymxiV +6KZ+v+4gEm1RQhszXWTwm7qQnyyLQkbWI6H01n/AEbZPba0GZhPLVlhs /WnPPECzBYZ+un8omZTFC0SlDbNfCQ7YGnqPmG+3vezLqPTJFUNRTNAvq yDj97Roa9ALrmlvtkLaIrZ6g9DQTmu3DQ0XPLr3Rh+GfQcFBKkH0NqRfe QgizFtS4TaQuoN6SD+xzrwy8pTzQHUbw4ate02blqSbckc4DlPGe0Cl6j g==; X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="12119157" X-IronPort-AV: E=Sophos;i="6.04,240,1695711600"; d="scan'208";a="12119157" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2023 15:15:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,240,1695711600"; d="scan'208";a="17554104" Received: from kialmah1-mobl1.jf.intel.com ([10.24.12.142]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2023 15:15:12 -0800 From: Khaled Almahallawy To: dri-devel@lists.freedesktop.org Date: Thu, 30 Nov 2023 15:15:10 -0800 Message-Id: <20231130231510.221143-1-khaled.almahallawy@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v2] drm/display/dp: Add the remaining Square PHY patterns DPCD register definitions X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jani Nikula , intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" DP2.1 Specs added new DPCDs definitions for square pattern configs[1] These new definitions are used for UHBR Source Transmitter Equalizations tests[2]. Add the 3 new values for square pattern. v2: rebase [1]: DP2.1 Specs - 2.12.3.6.5 Square Pattern [2]: DP2.1 PHY CTS specs - 4.3 UHBR Source Transmitter Equalization Cc: Jani Nikula Cc: Imre Deak Cc: Lee Shawn C Signed-off-by: Khaled Almahallawy --- include/drm/display/drm_dp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h index 83d2039c018b..3731828825bd 100644 --- a/include/drm/display/drm_dp.h +++ b/include/drm/display/drm_dp.h @@ -651,6 +651,9 @@ # define DP_LINK_QUAL_PATTERN_PRSBS31 0x38 # define DP_LINK_QUAL_PATTERN_CUSTOM 0x40 # define DP_LINK_QUAL_PATTERN_SQUARE 0x48 +# define DP_LINK_QUAL_PATTERN_SQUARE_PRESHOOT_DISABLED 0x49 +# define DP_LINK_QUAL_PATTERN_SQUARE_DEEMPHASIS_DISABLED 0x4a +# define DP_LINK_QUAL_PATTERN_SQUARE_PRESHOOT_DEEMPHASIS_DISABLED 0x4b #define DP_TRAINING_LANE0_1_SET2 0x10f #define DP_TRAINING_LANE2_3_SET2 0x110