From patchwork Tue Oct 8 16:51:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dzmitry Sankouski X-Patchwork-Id: 834078 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F9421E0DF9; Tue, 8 Oct 2024 16:51:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728406319; cv=none; b=IW24zkczbGkRzY2J548YbTkIE8gTGoinurHos7chDqPPb6yu8ax5Gj2LRX7/YMPU23LKT6uLBESZLhasKQQfAr4lsea8EQVFcSHR/GvH3TicIeaju8USvFxsxtgFUCcQGR4ZKiT3i21PUSgJYU5K6ivsO/q9R/63IhQWDfWNCr4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728406319; c=relaxed/simple; bh=/iktY1Qr4cDbg+smVKPbu2YLVIRiCzs0v9OPFLn1NXQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=B0klpsaan/wtHReYzJ5A2O/l8+/zjOIhMhN5ApddXDE4mV3LxZ8pVayba4LyTtgq8og3cYNsLR9bWiVnWWVT8IxOAp2oez2Sfp0sNkE4Fx5o7lKoDaVs49x8tysF/53g/jRmB/82nNoTh3CqRnzyqEiADPb4nxDSk02/tEWdecE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XEb2CO9T; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XEb2CO9T" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5398e58ceebso4108e87.0; Tue, 08 Oct 2024 09:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728406315; x=1729011115; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=x9H8i7ClA2yhmLwTa0npbr75xPThbyTRHnFtPQKqGaE=; b=XEb2CO9TRN3sGJUc/veKiqtjP7RrMeN88JnK2p40E6Lh4G44ug0eJR48rBsR5LDLEs 5evMD81B2gFSPNoVKBQJeTiDCiMoLolcLGtdfY7t0Jy1Snja/2/7m2CM7jnLcK2iQtK0 QSoIiNNN9roHCrRdSZ9TX3FI1x6gASKkKwlxnWu5iEWmPWRPfqfjlleDa+XPjgr8fR97 ES+SVOFrouTQGvdBxGGuOvPehXEk1SZ9MFClsDESr7Rf+LCbs31+bHQX7X40tPlBSCtD oSfIkFW24UpDv4dT4kQNvDUj+rNSdZd/lDRo+vbWUybsOQ2lIcUy9PTH1P+nlkvJqxJa 6M8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728406315; x=1729011115; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x9H8i7ClA2yhmLwTa0npbr75xPThbyTRHnFtPQKqGaE=; b=uRQ56CeY33sU46MlBOH9C6DnAeBsgLgVEpckvQeoukuyEs2yiRSk/0ihMdR7lxiYxi RydpCAUNxth4qoiNshRCnpgC4FDTCnYDH9jdnR/8UrKX4e1khtvvpqqQbdvjZ9aege17 xXSPCnH9n//cJKCaBcNfimXyNTD4YUvuM6D+P/P76Qc+6fiUdHGRuyiapyInHb0QgJL4 e9y2xfEUuBeU2OpSy+kjBxP8CSDdViUrdRdsIuGFlyJp4Sk0j37GaoqNfu8VqxzxmqbS 7EPK5uPwgDjJIEgCvkiEDDoo4V3x3F59qLtiupqZ0NUjFtHsALiqNzSzaMjpzKlAjvpY GYXQ== X-Forwarded-Encrypted: i=1; AJvYcCUKl6n5TQ415m9uzSo/ZHsguNp8VZPWWpKpeGb9WGJL26iCwG7seqyMU2coJhpFc/F30PIDH0CruPT5@vger.kernel.org, AJvYcCVPdXefAc/RMZX2ybu1jeJ8Hfob/96zFgBELcZm4BjjNeIpP9iWTzVIHBsPMsNx6RFpcKd3kkH9feoIimz0@vger.kernel.org X-Gm-Message-State: AOJu0Yy9XG0Z2blK1foTF8GjBR0gnHkVhU4dMfNk6NbNiAKJz/5lB5oN eteOTbbNaF/AA2zKirSNwNg1dsT19s8dZTqtYH3BMsT+yHTS08p//FtkbQ== X-Google-Smtp-Source: AGHT+IFAihMr7yO0pCQG+JRx2gEn2/5/7NfpXfFVoY35f8LwZpqlDFvCA77wj5Nw4Ym6ALg1hzi1PA== X-Received: by 2002:a05:6512:3087:b0:539:9360:b283 with SMTP id 2adb3069b0e04-539bdb10dc7mr1197265e87.25.1728406315111; Tue, 08 Oct 2024 09:51:55 -0700 (PDT) Received: from [127.0.1.1] (nat6-minsk-pool-46-53-210-75.telecom.by. [46.53.210.75]) by smtp.googlemail.com with ESMTPSA id 2adb3069b0e04-539aff23e5fsm1260736e87.235.2024.10.08.09.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 09:51:54 -0700 (PDT) From: Dzmitry Sankouski Date: Tue, 08 Oct 2024 19:51:38 +0300 Subject: [PATCH v6 01/12] arm64: dts: qcom: sdm845: enable gmu Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241008-starqltechn_integration_upstream-v6-1-5445365d3052@gmail.com> References: <20241008-starqltechn_integration_upstream-v6-0-5445365d3052@gmail.com> In-Reply-To: <20241008-starqltechn_integration_upstream-v6-0-5445365d3052@gmail.com> To: cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dzmitry Sankouski X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1728406308; l=5083; i=dsankouski@gmail.com; s=20240619; h=from:subject:message-id; bh=/iktY1Qr4cDbg+smVKPbu2YLVIRiCzs0v9OPFLn1NXQ=; b=Dr7q3rWN6PU8ewCvPs6hOpzZx4lry5NFapKh89r6ruthB1F66qFdR/5JmF0WKxAoFi8i5WFcJ L9c/L98eM40A/SRZ7famQ3U3OUacR0qhR70JzFHaN/w2wU5f5Ry7CsY X-Developer-Key: i=dsankouski@gmail.com; a=ed25519; pk=YJcXFcN1EWrzBYuiE2yi5Mn6WLn6L1H71J+f7X8fMag= Leave gmu enabled, because it's only probed when GPU is. Signed-off-by: Dzmitry Sankouski --- Changes in v5: - delete gmu node from sdm850-lenovo-yoga-c630 (it's imported from sdm845.dtsi) --- arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ---- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 ---- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 4 ---- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts | 4 ---- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 -- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 4 ---- 10 files changed, 38 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi index e8276db9eabb..a5149a384167 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi @@ -741,10 +741,6 @@ touchscreen@10 { }; }; -&gmu { - status = "okay"; -}; - &gpu { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 9a6d3d0c0ee4..59cb6e6e434c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -444,10 +444,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpi_dma0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index 2391f842c903..d31efad8a321 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -414,10 +414,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpu { status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 46e25c53829a..8a0f154bffc3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -345,10 +345,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpu { status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts index 486ce175e6bc..87fc4021e024 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -419,10 +419,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpu { status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi index b02a1dc5fecd..a3a304e1ac87 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi @@ -415,10 +415,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpi_dma0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi index 617b17b2d7d9..f790eb73abdd 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi @@ -239,10 +239,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpu { status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts index e386b504e978..501575c9beda 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts @@ -381,10 +381,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpi_dma0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 54077549b9da..fe154216f138 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4948,8 +4948,6 @@ gmu: gmu@506a000 { operating-points-v2 = <&gmu_opp_table>; - status = "disabled"; - gmu_opp_table: opp-table { compatible = "operating-points-v2"; diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts index f18050848cd8..ca81f3664abd 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts @@ -355,10 +355,6 @@ &gcc { ; }; -&gmu { - status = "okay"; -}; - &gpu { status = "okay"; zap-shader {