From patchwork Thu Sep 20 09:09:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_G=C3=BCnther?= X-Patchwork-Id: 10607161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 58D28157B for ; Thu, 20 Sep 2018 09:09:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4818F2CA8C for ; Thu, 20 Sep 2018 09:09:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39E112CB02; Thu, 20 Sep 2018 09:09:56 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 9AD982CA8C for ; Thu, 20 Sep 2018 09:09:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CDCE56E56A; Thu, 20 Sep 2018 09:09:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id B24C46E569; Thu, 20 Sep 2018 09:09:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 05B52FB03; Thu, 20 Sep 2018 11:09:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IpSHrsFB44j0; Thu, 20 Sep 2018 11:09:49 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 1AD6D45579; Thu, 20 Sep 2018 11:09:49 +0200 (CEST) Date: Thu, 20 Sep 2018 11:09:49 +0200 From: Guido =?iso-8859-1?q?G=FCnther?= To: Lucas Stach Subject: [PATCH] etnaviv: Add more offsets to sensitive state Message-ID: <20180920090949.GA23113@bogon.m.sigxcpu.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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: etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 0x14000 and 0x14018 are SRC_ADDR and DEST_ADDR in the BLT engine. 0x15C00 are the TX_DESCRIPTOR addresses on Halti5 at least. This avoids the etnaviv_warn_if_non_sensitive warnings. Signed-off-by: Guido Günther --- drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c index b106e8b288ad..84f5dabd57d9 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c @@ -69,8 +69,11 @@ static const struct { ST(0x2400, 14 * 16), ST(0x3824, 1), ST(0x10800, 32 * 16), + ST(0x14000, 1), + ST(0x14018, 1), ST(0x14600, 16), ST(0x14800, 8 * 8), + ST(0x15c00, 128), #undef ST };