From nobody Mon Apr 6 00:29:49 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C20FC6FA82 for ; Tue, 13 Sep 2022 13:15:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232222AbiIMNPf (ORCPT ); Tue, 13 Sep 2022 09:15:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbiIMNPN (ORCPT ); Tue, 13 Sep 2022 09:15:13 -0400 Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CE1F1145F; Tue, 13 Sep 2022 06:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=WPTT/lWY1pF8BiH6WPVmkViAQEe1BgeLFBLcqSEATp4=; b=IqV1PbO+YyArCK0JdJWV4CssQH PmyBZZwq6UTUbMHC98Qh3eUwhceHA7TI45pG3q4VhhTdwDYTTJnpBQ4jMNVeM3POGH4v4r0wg5tb6 8ojNaML1Z4f0OAJKWmhd8tFFQwxAdUmg0jW85Nwcs+X0AdYD2vVbxTthMkoFsuinpS70k7ptArWZ5 F1kZVdPXTfl1nvOWrbuni9mGDMQjD1xCRdwsrPwn+M9BKefavawcuSBB0GV0fWbZtKK/C+s3yvMAk 43iOoLPZ7kbL3ExQS3lTPHqeio3xURg7wUrGyrwdA3Ax/bjyBEhm2EKDs1kjNF/EOIs+nGUDkWs6M MXUrZOYg==; Received: from 91-158-25-70.elisa-laajakaista.fi ([91.158.25.70] helo=toshino.localdomain) by mail.kapsi.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oY5kh-00EVnM-Ts; Tue, 13 Sep 2022 16:14:59 +0300 From: Mikko Perttunen To: Thierry Reding , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Jonathan Hunter Cc: Mikko Perttunen , Ashish Mhetre , Sameer Pujar , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/8] gpu: host1x: Add stream ID register data for NVDEC on Tegra234 Date: Tue, 13 Sep 2022 16:14:43 +0300 Message-Id: <20220913131447.2877280-6-cyndis@kapsi.fi> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220913131447.2877280-1-cyndis@kapsi.fi> References: <20220913131447.2877280-1-cyndis@kapsi.fi> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 91.158.25.70 X-SA-Exim-Mail-From: cyndis@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Mikko Perttunen Add entries for NVDEC to the Tegra234 SID table. Signed-off-by: Mikko Perttunen --- drivers/gpu/host1x/dev.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 0cd3f97e7e49..d6b4614f968f 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -225,6 +225,18 @@ static const struct host1x_sid_entry tegra234_sid_tabl= e[] =3D { .offset =3D 0x34, .limit =3D 0x34 }, + { + /* NVDEC channel */ + .base =3D 0x17c8, + .offset =3D 0x30, + .limit =3D 0x30, + }, + { + /* NVDEC MMIO */ + .base =3D 0x1698, + .offset =3D 0x34, + .limit =3D 0x34, + }, }; =20 static const struct host1x_info host1x08_info =3D { --=20 2.37.0