From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f68.google.com (mail-ej1-f68.google.com [209.85.218.68]) (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 18676246BD8 for ; Thu, 11 Sep 2025 19:23:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.68 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757618598; cv=none; b=OrG2xjvLrBQXG6mSF1Q3n/l4a0ITq2j1FzaOFrLaVwvzWdEwIq/uzG7phwwMOCNrv9dA+A7tLkzOZwuGefl2SQceKzKNX+hbV/bc9qK7nt7vSFU1DX3wEacrhY4q98dkBUuun2criNc6j8YxAJ8hPasVa4P2jE0M+7kAmE+Bomw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757618598; c=relaxed/simple; bh=YAyiKn4hc3cFfsFW0ibD5A1iWi0FrYCHt/eHSSWtkT8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aFGrU5Re9ND+20z7M1i7mHL1vcaoQ+O3cHNFW1Z2qnVSCmWS2woABYpMNYsy3DLD5IaEP6r7/5V2QCv6ubAeChF7vpkrT3AS5duWJ3w7qnJ4nPpGGUzrciApyW1NI7ErOtQt7Tolf0hC9adJRKROxdNRGC7d/W1C3GZO76wsc74= 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=Lx3yzrdG; arc=none smtp.client-ip=209.85.218.68 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="Lx3yzrdG" Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-b042cc39551so172788566b.0 for ; Thu, 11 Sep 2025 12:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1757618595; x=1758223395; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zM91c6QWq+uCBsa7ficThVtWW8mqTSnDLUjVjSbKst8=; b=Lx3yzrdGCoi72/i5QvvdFsch9zkgnWobGl8NkqZ3YN0pfuooyrG7Zt8vRXmote1d0D /Ns22iFfQ/0y+oHhjjpFr9GIthhVbUKMVZcjXTza7/YjTxDK8fOuWk6wjBY/g+GtpZvU N9BEuJC1AnY65og2g8nvO9+TFQwY9C4mUcn1rpmxa6yTlpsFcXKbBnwYf3OpWpUR7aFy pqgDZe9gcQEW7lEBnHbFO8TDw69G9LSk+0Q6rays2/II1QLDMGOqKPpwGLBWeg0uYlh5 WLtvhhVJNZAG8vTtzLENApGfWpJw+vQj2d4GgaMScIEHC7f7HjHBV9pP0ggzdpmAC28i 3Ajw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757618595; x=1758223395; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zM91c6QWq+uCBsa7ficThVtWW8mqTSnDLUjVjSbKst8=; b=Dutw6CJhdO6vJVa+QqeWDePX/Lw5NdrfbKk5KkOm/LDe1b7byX2KuQec+zHeCX9nPP C4Ha0gs95sCUjfhITRh2z1BMy6P2OgZswVh1Pw80QUNLwZOZi7lvmgPPYjXiMhqDVOiX d7zuNScNcs7fY1LxyIzMCtRglZXG/08eXw1FEUaMKz68TWbY3HbSI6Xqqwfi3Yd3Wnkv VLeC4LzGvIoSrHzYnQdPOc6STiYm7VpjZIE7KYGwPXDbtM5QEY2rRr8cpMISxg3r3fcs YCTWTaJqk1aM9DsqzDmEPrAWWGzg8dIJ9Nc4T9gNsgc1yCa+WGLqFKFe/Fgz9kK4gdR/ U9EQ== X-Forwarded-Encrypted: i=1; AJvYcCX0y5KvgaTJyQIw2ERNgPpYNawfCoYaCczY+nAXltCtgBNGceezlpJ2Ah8LUmL9V7vmjfPi+5CYOHvkRKH6@vger.kernel.org X-Gm-Message-State: AOJu0YzA0x+1ydHaMz8i5RND9JW56BbrnB40eMfHZqzq0/Qm4ETD79Ue kTbFJmxYXcNfl5bfoy6z6S3yXZfqahYyLXohaLSucskLAJBIUyhX7fUTD3ahV0XOOmw= X-Gm-Gg: ASbGncvEMoE6t98WKLvqbgdipIPTbsLFq3TZd6NJCDgh/PmRYFk2m7+4tFNyRR4d9hk DSMPzMdf2sKlL5TB05Br0/wKkDGwEry962+hJUvfWqkqwyibQfC+7pqqjiuIVROGoEOyjlFR0ek u++Bkmw0CqhszWGMSG2qcT0Ch4voO33o1FaJe8WaSJ/6aQ0lhbRyDfCMhqKTof/PuifYPXsjXv8 uJ/qtasc25B4HQiCUIrkYVW3m2umWkIlQz0SYRERaTVR8Kxytbb/suuOgSfiDPrcWRh/YHgyCVK 8oTQEI5EYYMIwrwPXge5nmTzrxgtXZQbxyHIHsEsYNS7Utpcac3Txs9VV9ihmqGe6/ieX0oS+sd 4m+acH/fraEVq1cAYi6GOCSyRAECYM4nY+pRPI2OqOb0= X-Google-Smtp-Source: AGHT+IECaXwRM7NEFU9UXMz2KM3uolbigIYa2qikVU5WTNFMXu3OXk1MTKht0h45Aq3L7wjr13QJBg== X-Received: by 2002:a17:907:9694:b0:b04:6973:1ee9 with SMTP id a640c23a62f3a-b07c3570af8mr28774366b.16.1757618595297; Thu, 11 Sep 2025 12:23:15 -0700 (PDT) Received: from linaro.org ([2a02:2454:ff21:30:bca5:53d3:be14:7516]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b07b3347a4fsm187595466b.103.2025.09.11.12.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 12:23:14 -0700 (PDT) Date: Thu, 11 Sep 2025 21:23:09 +0200 From: Stephan Gerhold To: Trilok Soni Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dikshita Agarwal , Vikash Garodia , Bryan O'Donoghue , Neil Armstrong Subject: Re: [PATCH 0/4] arm64: dts: qcom: x1e80100: Add IRIS video codec Message-ID: References: <20250911-x1e-iris-dt-v1-0-63caf0fd202c@linaro.org> <6a7bc6b1-7eb6-40a4-82bf-c547b4c07b51@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a7bc6b1-7eb6-40a4-82bf-c547b4c07b51@quicinc.com> On Thu, Sep 11, 2025 at 12:02:54PM -0700, Trilok Soni wrote: > On 9/11/2025 11:38 AM, Stephan Gerhold wrote: > > Add the necessary definitions to enable the IRIS video codec for > > accelerated video decoding on the X1E CRD and Lenovo ThinkPad T14s. The > > additions are largely copied as-is from sm8550.dtsi with some minor changes > > necessary for X1E. > > > > The PAS interface used to boot the IRIS firmware is not functional in EL2. > > Just to confirm my understanding of above statement. The patches below > works w/ the Gunyah and Linux running at NS-EL1 and "not functional in > EL2" means Video working w/ the KVM Hypervisor on X1E right? > Yes, the patches enable video acceleration when running Linux with Gunyah as usual. I added an extra patch to disable IRIS when running with KVM, because my patches would introduce regressions otherwise. The old Venus driver does support starting the video firmware when running without Gunyah (for KVM on the Chrome platforms). The same code works for KVM on X1E, so we could easily enable it once there is a solution for the describing the video-firmware IOMMU in the device tree. Mukesh is working on solving that for SA8775p [1]. [1]: https://lore.kernel.org/linux-arm-msm/20250819165447.4149674-12-mukesh.ojha@oss.qualcomm.com/ Thanks, Stephan