From patchwork Thu Feb 6 06:32:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kandpal, Suraj" X-Patchwork-Id: 13962291 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 26843C02196 for ; Thu, 6 Feb 2025 06:33:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BED6510E42D; Thu, 6 Feb 2025 06:33:13 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="h4ffWexu"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 156E310E42C; Thu, 6 Feb 2025 06:33: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=1738823592; x=1770359592; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AxVjKrGt7lFch1AHXL0EKcb8cyryluaX8/E+kxJnyK8=; b=h4ffWexuc2pCaxwZAj8/1D7N1YRXjaz2IcPbBhYFfluZmnmil60iG5+A GNZU9jWc1ivgBt3csBhJkBBPfaE/B/x+dWf0VwBDqBM9F4sCZgFpyZcs1 gF/DR6HbdCyDGmA13bvL8CE66BxNaGRE/DPzBLR1I2ZrABcqssuhL88Tk 15BqTVZaS3bvf4DtLXC9CMEFknPTrKHNI1p7I9G9dLfXKhMRUMLf6AoYv VlDRrdSZR14444ct8KFOjEQ3R685mSU2o/EjanRJlpkRtuJRysVFWr/NW 55FpzUXk790pnVDTmHlZYCM2donLexE7c6hLAkQeUPghqqSYEO0IV3h6Z g==; X-CSE-ConnectionGUID: ZdznImWxScG6AXpaqHoUKQ== X-CSE-MsgGUID: E1YDa7wdQCC7o5OWBpCa3A== X-IronPort-AV: E=McAfee;i="6700,10204,11336"; a="27014215" X-IronPort-AV: E=Sophos;i="6.13,263,1732608000"; d="scan'208";a="27014215" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2025 22:33:11 -0800 X-CSE-ConnectionGUID: W+P7OYj2Q3qP87lEf0Q5MQ== X-CSE-MsgGUID: AQfoX/GtSdGTy2uHiY2V+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="112013677" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.10]) by orviesa008.jf.intel.com with ESMTP; 05 Feb 2025 22:33:10 -0800 From: Suraj Kandpal To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: uma.shankar@intel.com, arun.r.murthy@intel.com, ben.kao@intel.com, Suraj Kandpal Subject: [PATCH 2/8] drm/dp: Increase eDP display control capability size Date: Thu, 6 Feb 2025 12:02:47 +0530 Message-Id: <20250206063253.2827017-3-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250206063253.2827017-1-suraj.kandpal@intel.com> References: <20250206063253.2827017-1-suraj.kandpal@intel.com> MIME-Version: 1.0 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Increase the eDP display control capability size to take into account the general capability register 703 and 704 that have recently been added. Signed-off-by: Suraj Kandpal Reviewed-by: Arun R Murthy Acked-by: Maarten Lankhorst --- include/drm/display/drm_dp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h index 05e16f0144ff..784a32bfbad8 100644 --- a/include/drm/display/drm_dp.h +++ b/include/drm/display/drm_dp.h @@ -1670,7 +1670,7 @@ enum drm_dp_phy { #define DP_RECEIVER_CAP_SIZE 0xf #define DP_DSC_RECEIVER_CAP_SIZE 0x10 /* DSC Capabilities 0x60 through 0x6F */ #define EDP_PSR_RECEIVER_CAP_SIZE 2 -#define EDP_DISPLAY_CTL_CAP_SIZE 3 +#define EDP_DISPLAY_CTL_CAP_SIZE 5 #define DP_LTTPR_COMMON_CAP_SIZE 8 #define DP_LTTPR_PHY_CAP_SIZE 3