From patchwork Tue Mar 4 08:19:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ankit Nautiyal X-Patchwork-Id: 14000160 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 860F6C021B8 for ; Tue, 4 Mar 2025 08:32:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 16BB610E302; Tue, 4 Mar 2025 08:32:03 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="W1hdi1i4"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 968E910E519; Tue, 4 Mar 2025 08:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1741077120; x=1772613120; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=buu1amdupeffLg71up5fXbkAKjtcttX81xfBF6pNmKQ=; b=W1hdi1i4RELt56W44IxdrT3V4ujZoiEpMkX+82zSAevNsTMl/kASnwzr HmaBNdzMgUuuYMsIufJxVbLxipnkqAjcTGTuU3bODem51FgIPphyidI9K dU39FUCPrHHkPNFfDQI1FOrbaVOci5haEtGr2NE952CdY2bYck/vxi1yx PFrqGuJVQadhXNQ4eS29VCoZaUC9lwV0iH5YA2TA/XhQpxkG2Z3VsPLCE xaB6RkoMeLseNan10dNDutkciNym3tFv8Ys1Er7L05I3DphyC7VzXGfqU 7K4Zy1CFudEYAbVWkby9MfVnT4T7pFFx2+6PdSkCgqzof0tuHXmAvAbPR A==; X-CSE-ConnectionGUID: 047u96krTmqJR7KclfePcw== X-CSE-MsgGUID: 9lBfQKUXQMScH6OtdNFkxw== X-IronPort-AV: E=McAfee;i="6700,10204,11362"; a="45910125" X-IronPort-AV: E=Sophos;i="6.13,331,1732608000"; d="scan'208";a="45910125" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2025 00:31:56 -0800 X-CSE-ConnectionGUID: rDfuW0K1QhCKB2GIjEJO2Q== X-CSE-MsgGUID: shGMre97SB6YJ9Gcf7PQsQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="155492129" Received: from srr4-3-linux-103-aknautiy.iind.intel.com ([10.223.34.160]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2025 00:31:54 -0800 From: Ankit Nautiyal To: intel-gfx@lists.freedesktop.org Cc: intel-xe@lists.freedesktop.org, jani.nikula@linux.intel.com, ville.syrjala@linux.intel.com, mitulkumar.ajitkumar.golani@intel.com Subject: [PATCH 01/22] drm/i915/vrr: Remove unwanted comment Date: Tue, 4 Mar 2025 13:49:27 +0530 Message-ID: <20250304081948.3177034-2-ankit.k.nautiyal@intel.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250304081948.3177034-1-ankit.k.nautiyal@intel.com> References: <20250304081948.3177034-1-ankit.k.nautiyal@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" The comment about fixed average vtotal is incorrect. Remove it. Signed-off-by: Ankit Nautiyal Reviewed-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_vrr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c b/drivers/gpu/drm/i915/display/intel_vrr.c index cac49319026d..106bfaf6649b 100644 --- a/drivers/gpu/drm/i915/display/intel_vrr.c +++ b/drivers/gpu/drm/i915/display/intel_vrr.c @@ -276,11 +276,6 @@ intel_vrr_compute_config(struct intel_crtc_state *crtc_state, */ crtc_state->vrr.vmin -= intel_vrr_flipline_offset(display); - /* - * When panel is VRR capable and userspace has - * not enabled adaptive sync mode then Fixed Average - * Vtotal mode should be enabled. - */ if (crtc_state->uapi.vrr_enabled) { crtc_state->vrr.enable = true; crtc_state->mode_flags |= I915_MODE_FLAG_VRR;