From patchwork Fri Feb 16 11:03:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 202086 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp435713dyb; Fri, 16 Feb 2024 03:06:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlQno3OvSfyHgDsveeDO0g6mgfz9RwrqkpGItJw+jG6NScjOkg4QjWKHCpsgg4Qi0ivWLJYIULtYHadlnUyABV2uMKSA== X-Google-Smtp-Source: AGHT+IFZ/aHIrUESVAmVTrpUTROpk6oWsYI1zhV/NkO73TYXRoIwtCQeS+Ws4gPwMuEEGh0dJT7x X-Received: by 2002:a0c:e105:0:b0:68f:2b19:5359 with SMTP id w5-20020a0ce105000000b0068f2b195359mr3107456qvk.64.1708081577540; Fri, 16 Feb 2024 03:06:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708081577; cv=pass; d=google.com; s=arc-20160816; b=v4iilhXZ8Acey5VelRluNY2xTT9cTqtVpoUbaE3zHjaW/ys4G8HZvB8p/XPtf5QexR pe/EmjYmilzZyTFOBNm+W9Mtio9obrS6B/m/Mh8hh6Fq4PFtlUq7yfXREZ4tuUvz2gyP Xwu0xCDhAyRhI1KhZpZo0HJW+sLs7NK/are5OC66kC6lGSWgm+j75ZQzUcJnh3FwN3M+ FanVR4Ws4mGnoY6XafgiK29PKPrlC++KMZ5TWA7xyfRHRPt99xpOTAnRe45T5VOvG+eq rAhzVLCXLMmpDIaJJ7RZjVZA1XTsAyAfg/40wXqnbh52tKrGmF11TYbb2FspvajYAkTc bYmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=M4VUVivuxhBItwCnLx0xGdHQH3tLZmkPnVy151EVhso=; fh=NThB+w5xIVd7bTwbA1pmawuP7IwBKI112QsGTUvNPcM=; b=sVvHiOaK0xwlfS7yPEZvtzLdNySFpGzYGXAI0PXWz+pRM9vT+Ua1GGXGwwhgbqwdSu Je0dNXZGj+R5hBHE19PkBfHsBSJmb+mniSb4kuRt9yawGlh819QObUAYMxargR45KCpO 5GARpAtCf0uCd1F5qaSWF8D6JcCWSRxKfonnLHGV4GHPU/2rPtdPJlAqHLcxloLFlzrI x/P1HvkIdMYpqO69Nm0nl7zAMYYWZRTWsuNj/DM266nddzQLIftF2mB38P2170dlimLR 74YgdJRFZnZOYtc12vTGZk48B9xZmD7tMBIpzT7fRKtT0bMLpufJPRd7gA6NutdyGDWs tabw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GttWpwoT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68488-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68488-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 10-20020ad45baa000000b0068d0b0b49e9si3474898qvq.523.2024.02.16.03.06.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 03:06:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68488-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GttWpwoT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68488-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68488-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B2FB11C23AC4 for ; Fri, 16 Feb 2024 11:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DF5A612E2; Fri, 16 Feb 2024 11:04:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GttWpwoT" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 629E4605D8 for ; Fri, 16 Feb 2024 11:04:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708081446; cv=none; b=Zzq1V4WRMVwPbAHLcOL+RVScAKl6hw3iu0N30DSNzm+Djf5F36eEG6DUBjwgUMbSh1CGJ8M1UJ9gm8v1nsOzwae2IbywHqBQPsXZEEAV9Iyst17H7zShmhPXNse9YjLvB+r0aPZpnqL2Fl9nnNwnUf0Sx8qzvgyZvdOXK15nkQg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708081446; c=relaxed/simple; bh=eK619A8Ja/rJOcWssIzBbWM6D0kuHt0880KvRuYuMKM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=J6Q4TCjw1jixuOyXPYvZVjdmOY8fOObG9zGXsNgze/LZz5FeWms9duuWedM6KOzY93dIag2tHwc+UQJLrpmjqN4RYI5lGLhf379LhLep3dmbK9iKXXrl5vGsB03iBpM9QRGKUC/Yl5f9fZW40TwtIufg9zNJyoD/K0K/Ntub6B8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GttWpwoT; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5114b2b3b73so2239128e87.0 for ; Fri, 16 Feb 2024 03:04:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708081442; x=1708686242; 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=M4VUVivuxhBItwCnLx0xGdHQH3tLZmkPnVy151EVhso=; b=GttWpwoTOWDDgSFRm6sfSiz0x05xC9e+Wo3/W/bXfyR3UV/2eX21vbeCxrrL2zrYRf x4z3I7egPIhR0sSfmFDRtpT5BgzUysVDDQQoiCXjH8YHRdFv/njEMMEmR6VO2lgP2qV3 sYvk5neM2DBlv14F+gN0lcAJRoIDSqEQODAFp/SW5SUrqy6NEOe43y2xV7OLteVeTVxJ 1l5U/1pgMJh4ClBbTFwiOHS7ztBMjZDycSluiTLa4LjyapF1drrscRQkoev+bSud5FNv yTl/J0wzGyEE8z7eidLXa0eTRRyF5SUGsR20HoKN28RKX0H8vnAliu5UF2BT3Q26u+NL 3Rsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708081442; x=1708686242; 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=M4VUVivuxhBItwCnLx0xGdHQH3tLZmkPnVy151EVhso=; b=G6fCJrXa7qi976k4qGLwYV6vwpTQI/e+YR9WM1tAsvC7jXyooUBTPYMKn6oydYkgUL tXcYkaExBCI2wJh4hm4ak8v5K5SdYtnUongA4remuXOzL37kjwaBxMeeTEp4vntOnGU/ cAID1l+HF0L+/tA4uOPdicBiJsT3MjV6rXiR1/EXBxMklWI0tUliu9wgqoLfThm5mNK/ 7vaFTw9kVcmQRY+S1A09/qGQosUnrFxNld4vbNPzJ1BH9Bckl7x1wRwxpmkImtr8mqIz 53TYijlivIphivKgcxGlYwU4WlA6HhnYglD+f2Ml7PQDoeC+kTweUeQAQ3xHq93wRFYb 0qTg== X-Forwarded-Encrypted: i=1; AJvYcCXNOrZPXyG+w0E4xfQJcjJCK+RO1k65DN5uDBO1GPnbFsjNLWejyuZ17kZrvPG9EaTYxuPRCx5spfNg3IWymj+gB4eqyI1AwLbl6llO X-Gm-Message-State: AOJu0YwnjfIen9NwNvg6VKDb9QzUJ0C9GEAJG5T6ryjVsLRze6Mz0L0X 8RpaNH0IyPZKT6dhK4ZfzagS+gsD2pR+rEnYVPOikroIDcwX/mFIfz0h1jCu9MI= X-Received: by 2002:a19:5e17:0:b0:511:ac7d:97ea with SMTP id s23-20020a195e17000000b00511ac7d97eamr3150124lfb.64.1708081442471; Fri, 16 Feb 2024 03:04:02 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id r2-20020a05600c35c200b004123b049f86sm1993174wmq.37.2024.02.16.03.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 03:04:01 -0800 (PST) From: Neil Armstrong Date: Fri, 16 Feb 2024 12:03:54 +0100 Subject: [PATCH v3 7/7] arm64: dts: qcom: sm8650-qrd: enable GPU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-topic-sm8650-gpu-v3-7-eb1f4b86d8d3@linaro.org> References: <20240216-topic-sm8650-gpu-v3-0-eb1f4b86d8d3@linaro.org> In-Reply-To: <20240216-topic-sm8650-gpu-v3-0-eb1f4b86d8d3@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Will Deacon , Robin Murphy , Joerg Roedel , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Krzysztof Kozlowski , Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=771; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=eK619A8Ja/rJOcWssIzBbWM6D0kuHt0880KvRuYuMKM=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlz0EXgNVUxVocIorRrq0+P4C1WxED54Xsx9AbKddq wgYEbneJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZc9BFwAKCRB33NvayMhJ0YOAD/ 9ZA0e00w5hdxUVtWcA6R6L8Sgxzl3TGs4M3N2DO257wMbYrseQYYIgISUaSYCbllijwpWn1MBoP8Qd kzme7tsEGbUVLG9O6BJPJbjX09Zv7bXFZVw9RycdKfud7WcBFwmzeqpRbC7QwjLciEp8zDR7znYBqV haPQJktNh0x/DL7qpS5EQ3VaKKLL1pQiTBjBNCKPsGaDS+Cqkam4OmvgE7b/l3cLSdMZrIrLxwMejY uhvkCzU0vPLhb8Jq9mCQ1qtn08KIiyMEcwTKtgmByA1HeGgDfqiaM2g1otALWizNT7rgK4UawovqPd FDd4LqZFqfELA5MCRnccpH6cBKOpygQPnTvNLUDHVnQOmHFYw+Z2mtWZZ1r+OoS8i5Np0BsS8/lVIh eG2fNRzvP2bMWyMNFmvFBaJ7iFLOF1+Hg5rf0p1cmhL0i44NaMJUTU55ETQG07vaI576kx8EySb38r FSYOk1qFs39QNdP0Im4SfbF0JmSDnmfiu8/yTBNkkAjm8hPNqZIk30Ff8E79573ZtHkrk3QT1X02bT S8ktDMv0EQkAkRe5UTAoxMeDd9LRLPU/H1jCPotM9oPddQn5Tu+Eta6m3nz2eAHYhymFLrbRehF+oy /bZ3CeZECCad5xmda0Mz37zofKY/CPQaeae/Pv0QG6vSxXdAsaFD4yNhkLaA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791053348258220335 X-GMAIL-MSGID: 1791053348258220335 Add path of the GPU firmware for the SM8650-QRD board Reviewed-by: Konrad Dybcio Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts index b07cac2e5bc8..dc91f0bf4b8c 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts @@ -766,6 +766,14 @@ &ipa { status = "okay"; }; +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8650/gen70900_zap.mbn"; + }; +}; + &lpass_tlmm { spkr_1_sd_n_active: spkr-1-sd-n-active-state { pins = "gpio21";