From patchwork Wed Jun 5 17:01:07 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: 13687151 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 5A0CFC25B76 for ; Wed, 5 Jun 2024 17:12:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CF32410E6D5; Wed, 5 Jun 2024 17:12:05 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="PCnKuTVK"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 044BF10E64E; Wed, 5 Jun 2024 17:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717607496; x=1749143496; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=E9j6q8PCJEm9kMj4BuzX9ZCmgnl1BJhdUlLOTaeEitk=; b=PCnKuTVKJgzKTa0viKES9ycKo+BjmPrXLcP5XkffJIjk5YUd2sjrsyHd Mm8LIbBlqYv+GBRDJLF/0qabtW68eILBvakaWZuVKe4v9R8cSFiI52zoX twvtNZz7kt4/Wxyz6cgM9nkqeXzrGu2QLsUFhYf210seH0nnN8v7yuegx Nz5G9H8jkLHDXp0GVsRgInjpace89TO2wuh1kVHWhT8j5+cesGkQnjNU6 Sd9slIbMrZs8r1XMSRokh6icm4wOyilGYqdVygiFx1/RmsVAHbDrPtlwJ A24zvUwaOuCLyMWHXBLc0I4VtnTR1wJl5/NLwWtO01seK/3nhHYe4enN/ A==; X-CSE-ConnectionGUID: z+cilNyxSkyOKOJVCNLVtA== X-CSE-MsgGUID: PGV+NUYfSTadtxvFwxBT/A== X-IronPort-AV: E=McAfee;i="6600,9927,11094"; a="14452447" X-IronPort-AV: E=Sophos;i="6.08,217,1712646000"; d="scan'208";a="14452447" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2024 10:11:36 -0700 X-CSE-ConnectionGUID: 2Ms2QbDhTq6OsAZ3Cu83pQ== X-CSE-MsgGUID: VQeMbZufTMeUZafLSm7s1w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,217,1712646000"; d="scan'208";a="60848407" Received: from mgolanimitul-x299-ud4-pro.iind.intel.com ([10.190.239.114]) by fmviesa002.fm.intel.com with ESMTP; 05 Jun 2024 10:11:35 -0700 From: Mitul Golani To: intel-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Subject: [PATCH v13 5/9] drm/dp: Add refresh rate divider to struct representing AS SDP Date: Wed, 5 Jun 2024 22:31:07 +0530 Message-Id: <20240605170111.494784-6-mitulkumar.ajitkumar.golani@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240605170111.494784-1-mitulkumar.ajitkumar.golani@intel.com> References: <20240605170111.494784-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 Acked-by: Maxime Ripard --- 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; };