From patchwork Wed Dec 14 08:53:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wladimir J. van der Laan" X-Patchwork-Id: 9473853 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 1BFE160823 for ; Wed, 14 Dec 2016 08:53:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 173C7286EF for ; Wed, 14 Dec 2016 08:53:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C2AE286F9; Wed, 14 Dec 2016 08:53:17 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 9B64F286EF for ; Wed, 14 Dec 2016 08:53:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F00406E759; Wed, 14 Dec 2016 08:53:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wj0-x244.google.com (mail-wj0-x244.google.com [IPv6:2a00:1450:400c:c01::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 952C76E759; Wed, 14 Dec 2016 08:53:12 +0000 (UTC) Received: by mail-wj0-x244.google.com with SMTP id j10so3057211wjb.3; Wed, 14 Dec 2016 00:53:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=IDxPCNgbYaSM2JpbcHefu0am2POy7v42GAvkqoQI+os=; b=dXkO9nfuz1PiYM9tG9/ZIPGS2blkICCDH1r4BCC4Prynu0Ypxe9NS8nyNe6Reo9WYw FVUDmoYBOqNkeFMASUwOI4hU/0oVv6tAts1lT2z4OAmjrF/D79bTpORH3Yh0oHXG6MTA 8ArPWOhCuITYEz5H1VeQtmYFdvT7XDArHECjWtBglwvotd9nyxB1kIELDHDGDeQ5Oqmg VrMqroehhyA5sWvnA27Pp4CdpFm4wLa18EuixdH143CANV/ChKLpVd2iEK+QIElfjhEg WohzZhUfjTVo7ScbwRRtlihEJEZx6++akWDEo72haT3TfsavGPdFHpmSzmew0kWs2mUo YoFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=IDxPCNgbYaSM2JpbcHefu0am2POy7v42GAvkqoQI+os=; b=Jywa5ZXykCR+Af6H+XptbIydPPJMR4aoVRkKhAoQvVnxWAMB7+WRz0qTt3cn/hTjBh dpsPSK6iKAZaLTYHLZJhdeFeSdKeWPz10WWiGmATNg4jMwRYzkkqABheU0yUAlun+8nx kJRfj1K9oPAqVLhbL1vUg2aWJu2WS0Fp8AsmcZHI9T/2gl1/O4F33CENHfVa3ttC5PxK M9znofpCE9sBiWndjQabODICdWf4bqEYbQzrEbK0XvwX8SN8/I4HItfohCOWGohpmxy+ EmzWL/7XDwrRUbFCWvjds+zqsJLuLXVZAuztTAw/8Lqo4TGBtnSF+QyiLC6f2gHwxfnP h7WA== X-Gm-Message-State: AKaTC03DGm8LG90V/C/s5+bUIkxAtZzq5wpHtaNayZqN/2Q+3HAqbr7ZjGybK/OVxtAr0g== X-Received: by 10.28.54.3 with SMTP id d3mr6113786wma.34.1481705590998; Wed, 14 Dec 2016 00:53:10 -0800 (PST) Received: from amethyst.visucore.com (d222031.upc-d.chello.nl. [213.46.222.31]) by smtp.gmail.com with ESMTPSA id x7sm22067683wjp.18.2016.12.14.00.53.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Dec 2016 00:53:10 -0800 (PST) Date: Wed, 14 Dec 2016 09:53:08 +0100 From: "Wladimir J. van der Laan" To: dri-devel@lists.freedesktop.org, etnaviv@lists.freedesktop.org Subject: [PATCH] drm/etnaviv: Add new GC3000 sensitive states Message-ID: <20161214085308.GA9422@amethyst.visucore.com> MIME-Version: 1.0 Content-Disposition: inline Cc: Chris Healy X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP - Add PS.INST_ADDR and VS.INST_ADDR: GC3000 loads shader code from these addresses if ICACHE is enabled. - Add new NFE vertex stream addresses. --- 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 2a2e5e3..abb37c6 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c @@ -56,6 +56,8 @@ static const struct { ST(0x0644, 1), ST(0x064c, 1), ST(0x0680, 8), + ST(0x086c, 1), + ST(0x1028, 1), ST(0x1410, 1), ST(0x1430, 1), ST(0x1458, 1), @@ -75,6 +77,7 @@ static const struct { ST(0x1740, 8), ST(0x2400, 14 * 16), ST(0x10800, 32 * 16), + ST(0x14600, 16), #undef ST };