From mboxrd@z Thu Jan 1 00:00:00 1970 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 A8D9FEA3C22 for ; Thu, 9 Apr 2026 10:08:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6366910E787; Thu, 9 Apr 2026 10:08:50 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="CaZslYP8"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id EB93D10E77D; Thu, 9 Apr 2026 10:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775729330; x=1807265330; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=P+joVdMaW1c1ICMkWSi7XQATcgtvvPtPrvX6UQdZ2xQ=; b=CaZslYP8IL85ihmZPktKHVERiPIhKY6J7VXZ+Em2ncv8bFBRBL4qqME6 IWFENafrQya57t/ngJDdKrui0Tj+tfxBc7EZji2ZM99FjXFCzuZ+Lrn46 tBoYCWTnQ+8YlWHRydMAqt1IPWoeMA8vTxcIGxdLwJOcogn0JTgLAU+VF 7KvB3W5nH2FFWR0rfPrh/ekrniuTf26pKm58HP4nVgrDL7DzZZhaFOEUc DnP/BGe1vBSK4ph3TreUAYXpf+IoVjUYbwxlr1FJgek5JHMtVc4jcOUoQ Yumb+vY8Wr7OTIxk5RTGVw4Iu1dIDCl9cFwCVz44Hqxtka9+9mjCFdxMf w==; X-CSE-ConnectionGUID: Gm/Tw/Y1Qnqhaf5qhGVNTQ== X-CSE-MsgGUID: ysPUqT+QSaKRy3ww1OqRKQ== X-IronPort-AV: E=McAfee;i="6800,10657,11753"; a="87806174" X-IronPort-AV: E=Sophos;i="6.23,169,1770624000"; d="scan'208";a="87806174" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 03:08:49 -0700 X-CSE-ConnectionGUID: IJ6afUW8RrC9QPgQml6HKg== X-CSE-MsgGUID: hG4EJZECTx6rE0yMNYIawA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,169,1770624000"; d="scan'208";a="224426825" Received: from hrotuna-mobl2.ger.corp.intel.com (HELO localhost) ([10.245.245.216]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 03:08:47 -0700 From: Ville Syrjala To: intel-gfx@lists.freedesktop.org Cc: intel-xe@lists.freedesktop.org Subject: [PATCH 2/2] drm/i915/mst: Remove redundant has_pch_encoder=false assignment Date: Thu, 9 Apr 2026 13:08:41 +0300 Message-ID: <20260409100841.1907-2-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260409100841.1907-1-ville.syrjala@linux.intel.com> References: <20260409100841.1907-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" From: Ville Syrjälä The entire crtc_state is zeroed by default, there is no need to fiddle with crtc_state->has_pch_encoder unless we are actually dealing with a port on the PCH (which we never are for DP MST). Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_dp_mst.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 9150763ca143..832a43ebe00f 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -721,7 +721,6 @@ static int mst_stream_compute_config(struct intel_encoder *encoder, pipe_config->sink_format = INTEL_OUTPUT_FORMAT_RGB; pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; - pipe_config->has_pch_encoder = false; ret = intel_pfit_compute_config(pipe_config, conn_state); if (ret) -- 2.52.0