From patchwork Fri Mar 2 08:09:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharat Masetty X-Patchwork-Id: 10253567 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EFA0C60211 for ; Fri, 2 Mar 2018 08:10:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB56A288C9 for ; Fri, 2 Mar 2018 08:10:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9D9C288CB; Fri, 2 Mar 2018 08:10:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 906B0288CF for ; Fri, 2 Mar 2018 08:10:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 23C976ED9B; Fri, 2 Mar 2018 08:09:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E77F6ED9B; Fri, 2 Mar 2018 08:09:56 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 278E96079B; Fri, 2 Mar 2018 08:09:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519978196; bh=irfi0F8xFvI7MnprCZW8QWzYj3c9vnEgNyu3Q6OXgyU=; h=From:To:Cc:Subject:Date:From; b=jPw15uqYE3N1hVIAFKi2GEXSx8gyTMVUsbYsuQnwHmNdh+FoSCPA8w1+j4s4xkZcD pyPJJm9Q2di3bOKz8uFyk0k1nusxn7XxsSLVMfsVaeLFfy23q3d643H7/JGtrWiznA 40qAGqBXSChD1/P1Gf/K2XFMx2eOK/gMpbqCpdn0= Received: from smasetty-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: smasetty@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6C666601A1; Fri, 2 Mar 2018 08:09:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519978195; bh=irfi0F8xFvI7MnprCZW8QWzYj3c9vnEgNyu3Q6OXgyU=; h=From:To:Cc:Subject:Date:From; b=DF4cPyutvxCVzbZvAwMOxOh3yxEGjfF0JQMRpNYL+18h5s0+griufP4uw6EC3Mt96 AEfsuto/43WZDB8lj/ilZDGmlieUPBpsgaMb+Jrwhl2J7FwdlBAY1PQmfk5mdY4tUa 90dwfTdhzxCy4dCKLtCffnTXL1rdC6+i/3yUdQGc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6C666601A1 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=smasetty@codeaurora.org From: Sharat Masetty To: freedreno@lists.freedesktop.org Subject: [PATCH] rnndb/adreno: Add more PM4 opcodes Date: Fri, 2 Mar 2018 13:39:47 +0530 Message-Id: <1519978187-1573-1-git-send-email-smasetty@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Sharat Masetty , dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add CP_SECURE_MODE and CP_SET_PSEUDO_REG opcodes needed for A6xx hardware features. Signed-off-by: Sharat Masetty --- rnndb/adreno/adreno_pm4.xml | 5 +++++ 1 file changed, 5 insertions(+) -- 1.9.1 diff --git a/rnndb/adreno/adreno_pm4.xml b/rnndb/adreno/adreno_pm4.xml index 3621f07..c1a82da 100644 --- a/rnndb/adreno/adreno_pm4.xml +++ b/rnndb/adreno/adreno_pm4.xml @@ -288,6 +288,11 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> + + Tells CP the current mode of GPU operation + + Instruct CP to set a few inernal CP registers +