From patchwork Wed Jun 5 12:28:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Golani, Mitulkumar Ajitkumar" X-Patchwork-Id: 13686791 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 F042CC27C53 for ; Wed, 5 Jun 2024 12:38:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0010F10E785; Wed, 5 Jun 2024 12:38:39 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ANL0409w"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id B605610E630; Wed, 5 Jun 2024 12:38:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717591113; x=1749127113; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=E9j6q8PCJEm9kMj4BuzX9ZCmgnl1BJhdUlLOTaeEitk=; b=ANL0409w/UevaNywlJffZeJr37rTwOZPJ6jhz/Vkn18KIKo3nYA2dhSL 8+uCo/NIjmraxx80PgcsEwW8UGGpnoMvFT6wF2DTyZcTHaGuID3uchWsE wZlH5nPhWz7ALremT13kyh9P9qAdVH3y8lA7+pmrTHuhuIMGlj+ZQhToN xEo2VrHL2nqf/V2q8nCXwXx5neXl8aB46aetN8I+aOC+mzY01rNQUruSh w5HPVExFs5A35N4ns+LdKP6ScwW5NMeg/g74NLbF5t7B/SQ32VLp6s3mS 0wlOGmfI1iYYMdL83PsKEuxJmG+JGmOVV8zbrm680w/mFIs2Hy1iWpqDF g==; X-CSE-ConnectionGUID: mwI1oiwnQk+wyue4ZNOgmA== X-CSE-MsgGUID: gocVqh33TaqFQYz0af472Q== X-IronPort-AV: E=McAfee;i="6600,9927,11093"; a="36728175" X-IronPort-AV: E=Sophos;i="6.08,216,1712646000"; d="scan'208";a="36728175" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2024 05:38:33 -0700 X-CSE-ConnectionGUID: v3HIJC2YSZ6OhAf55ztAwA== X-CSE-MsgGUID: 6P4q0KdkTkGxmZaroGYuDg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,216,1712646000"; d="scan'208";a="38216695" Received: from mgolanimitul-x299-ud4-pro.iind.intel.com ([10.190.239.114]) by orviesa007.jf.intel.com with ESMTP; 05 Jun 2024 05:38:32 -0700 From: Mitul Golani To: intel-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org, ankit.k.nautiyal@intel.com, jani.nikula@intel.com Subject: [PATCH v12 7/9] drm/dp: Add refresh rate divider to struct representing AS SDP Date: Wed, 5 Jun 2024 17:58:00 +0530 Message-Id: <20240605122802.488124-8-mitulkumar.ajitkumar.golani@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240605122802.488124-1-mitulkumar.ajitkumar.golani@intel.com> References: <20240605122802.488124-1-mitulkumar.ajitkumar.golani@intel.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add target_rr_divider to structure representing AS SDP. It is valid only in FAVT mode, sink device ignores the bit in AVT mode. --v2: - Update commit header and send patch to dri-devel. Signed-off-by: Mitul Golani Reviewed-by: Arun R Murthy --- include/drm/display/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/display/drm_dp_helper.h b/include/drm/display/drm_dp_helper.h index 8defcc399f42..ea03e1dd26ba 100644 --- a/include/drm/display/drm_dp_helper.h +++ b/include/drm/display/drm_dp_helper.h @@ -122,6 +122,7 @@ struct drm_dp_as_sdp { int target_rr; int duration_incr_ms; int duration_decr_ms; + bool target_rr_divider; enum operation_mode mode; };