From patchwork Fri Oct 25 15:43:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 838446 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 D6C7F170A00 for ; Fri, 25 Oct 2024 15:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729871014; cv=none; b=WfLe3aHMaMxMYxIvypxWv3/lvfEXeG/U4clkMPhWHOdClsq5YDyDL7nwwpPhg28aXnLrGSPGZiPMTIQOV0Vkyc3W+pZy3h5VLMMYgETTYm+uwqbXAL73y9ee+1kKPJo1U0iNNglCc/FaEFagYvjOrbnKmOp9TwiPdWVufCmW8tI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729871014; c=relaxed/simple; bh=TMN6JMU+ELU22RUJa8s8JWinmYlzk/gPVjsA1IINEX4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QeFzAWwB/49ekKO0gwr5FpqkrK7MqNgobvHy3Y2qDi9s9GEqvGQcDsULC4PXNXWAQDg7Qggkp7kHpMrz7c53jUgZsaAih9RicszOrWeIBNX9y0YKbZCX2mMLv2ritI3eOpdB6qeQNJhteN2dj6G9vsTqSNKIqMJbb3ztM/1mf7Y= 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=vm5YWckm; arc=none smtp.client-ip=209.85.128.53 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vm5YWckm" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-43155afca99so22364255e9.1 for ; Fri, 25 Oct 2024 08:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729871010; x=1730475810; 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=Cz9JTv90G0UOH7uV17u38cReSx2fSx8hhjMRt1/SqeM=; b=vm5YWckm/UPkV0d27xqGuQHzAYu4s7Anhqnha0egQ2Y0goqQBDQSfDZsXldT8+kCw+ iduWZssGPbhC/wvXusvm5auasLrKadpwf1POIWW0mwE3yCcUmZLQFPjyGDSxGrav0KLB EuEMK+X4DaM+TtE8nLG50WQSkLFCkaMkRuxrPNpV78ySWTTPWwKPhiXMN6Mvu5OQsw6z nD0z7dTGtu2MCnHY5tztz4skPPjpE0+avEKq85cSf7HqPaI8FDbSrwNU7Cg6RScq59zV 6cLggHjDrkQ4xIEP3i6ccTglFO/8FQPSUwCaNdz1CoBUdbMdorPBnNzYGwEnW4swAdeE 3wiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729871010; x=1730475810; 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=Cz9JTv90G0UOH7uV17u38cReSx2fSx8hhjMRt1/SqeM=; b=U0a/YnY6E6L2c2anu8gD8U0y1MVloK26GoWKlT5lWodRlpICu9+QLU5lJEKp0+pI70 vh8Xhzcf4FoXAlOAVjSSvO+fCgmzNrGAMXsSe4ZNIeMM4my3q6j8B0uHnVl7VBZ+o2lK 9gqy7H+hbbqxJrynW0jC51wXQYT7Yuzw/HIQGIB6HAW8VG/fS5rirKGSDbx77ph2NKqv bS2QhFUtSbiJ+AxdyULCyb74zXtc8quS8UbaBkldEW7DVEkmtz6kobfTeG0cRhCWYBPz 6oU215HKuNU2GcxlMkq4421z/78Zl4SGt+WD7/wJf3I4hu8qACsd7ZdLUDBF78WxfcQN hxrg== X-Forwarded-Encrypted: i=1; AJvYcCUv9NS4CF+KD76pFHzR17Riukz7JWew7TYw1PKcQ74mPImLwwHz09/E/Yqg7tWkmsh5hnybseGN997wv5sX@vger.kernel.org X-Gm-Message-State: AOJu0YzsiUyZEd5eYDWlsA6ryZX2sMFXRzYsYms+k82MY9+dXn4peOtA 9Xyjxo4U7w5zPJ/3YNM6awnDpcpBxmGkZAyMEIZVFZ7HtgflSnArDj84YKB26JM= X-Google-Smtp-Source: AGHT+IGPOU4o+DdUjVCWnL7JS9IH7HmxvdfwDDU8AOfVGJ/f7IhYz6MufADd7A7e87RHCOn1hSIJDw== X-Received: by 2002:adf:ef8c:0:b0:37d:3e42:be32 with SMTP id ffacd0b85a97d-38060d9c088mr9410f8f.0.1729871010150; Fri, 25 Oct 2024 08:43:30 -0700 (PDT) Received: from [127.0.0.1] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b479ffsm1829092f8f.49.2024.10.25.08.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 08:43:29 -0700 (PDT) From: Bryan O'Donoghue Date: Fri, 25 Oct 2024 16:43:27 +0100 Subject: [PATCH 5/6] arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Add cma heap for libcamera softisp support Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-5-cdff2f1a5792@linaro.org> References: <20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-0-cdff2f1a5792@linaro.org> In-Reply-To: <20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-0-cdff2f1a5792@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Depeng Shao , Vikram Sharma , Vladimir Zapolskiy , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue X-Mailer: b4 0.15-dev-dedf8 libcamera softisp requires a linux,cma heap export in order to support user-space debayering, 3a and export to other system components such as pipewire, Firefox/Chromium - Hangouts, Zoom etc. Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dtso | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dtso b/arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dtso index 5fe331923dd3cd31ff2be047a2228e1c4104e80e..ae256c713a36078afdadc67193f381a19ea8e5d3 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dtso +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5-vision-mezzanine.dtso @@ -9,6 +9,17 @@ #include #include +/ { + reserved-memory { + linux,cma { + compatible = "shared-dma-pool"; + size = <0x0 0x8000000>; + reusable; + linux,cma-default; + }; + }; +}; + &camcc { status = "okay"; };