From patchwork Wed Apr 12 21:15:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 9678415 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 A602760383 for ; Wed, 12 Apr 2017 21:15:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9787228648 for ; Wed, 12 Apr 2017 21:15:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CA1F2864C; Wed, 12 Apr 2017 21:15:41 +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 1FB3928648 for ; Wed, 12 Apr 2017 21:15:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 490336E77F; Wed, 12 Apr 2017 21:15:32 +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 E6BBA6E766; Wed, 12 Apr 2017 21:15:28 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D27ED6081E; Wed, 12 Apr 2017 21:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1492031728; bh=7Xmin4Pjb7uiOw9uvNlJEY02F+9iCTBd5T6gqX30RUM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mc+BCnHZlRofDaOYrrS4CPCBFRfsnL3mQ/DpVjBcnSRWiB3OzlesRJF4SiTjHFKJR QhRBea4gZ7YR13CEVSgvjdNGeN+ozl6Vrj1X+nMGQMZebHbBY3j9nm/elLsZW0URGr nJJ8N6hRkMbqZZAY4fznJxhHtlcFY7w35cj7D9as= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1FDEB60D2D; Wed, 12 Apr 2017 21:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1492031728; bh=7Xmin4Pjb7uiOw9uvNlJEY02F+9iCTBd5T6gqX30RUM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mc+BCnHZlRofDaOYrrS4CPCBFRfsnL3mQ/DpVjBcnSRWiB3OzlesRJF4SiTjHFKJR QhRBea4gZ7YR13CEVSgvjdNGeN+ozl6Vrj1X+nMGQMZebHbBY3j9nm/elLsZW0URGr nJJ8N6hRkMbqZZAY4fznJxhHtlcFY7w35cj7D9as= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1FDEB60D2D 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=jcrouse@codeaurora.org From: Jordan Crouse To: freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, bjorn.andersson@linaro.org Subject: [PATCH 6/6] drm/msm: Document the zap-shader subnode for the GPU Date: Wed, 12 Apr 2017 15:15:18 -0600 Message-Id: <1492031718-28477-7-git-send-email-jcrouse@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1492031718-28477-1-git-send-email-jcrouse@codeaurora.org> References: <1492031718-28477-1-git-send-email-jcrouse@codeaurora.org> Cc: linux-arm-msm@vger.kernel.org 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: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The 'zap-shader' subnode is used to define a phandle for the PIL memory region that is required to load GPU secure firwmare images (known as the "zap shader"). Signed-off-by: Jordan Crouse Acked-by: Bjorn Andersson --- Documentation/devicetree/bindings/display/msm/gpu.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/Documentation/devicetree/bindings/display/msm/gpu.txt index 43fac0f..0376b20 100644 --- a/Documentation/devicetree/bindings/display/msm/gpu.txt +++ b/Documentation/devicetree/bindings/display/msm/gpu.txt @@ -15,6 +15,15 @@ Required properties: * "iface" * "mem_iface" +Subnodes: +- zap-shader: Defines the memory region used by the zap shader + to load the firmware via the PIL loader. This is required + for adreno-5xx targets and newer unless the secure mode + is specifically disabled on a target. + +Required properties for zap-shader: +- memory-region: Phandle to the PIL reserved memory region. + Example: / { @@ -34,5 +43,9 @@ Example: <&mmcc GFX3D_CLK>, <&mmcc GFX3D_AHB_CLK>, <&mmcc MMSS_IMEM_AHB_CLK>; + + zap-shader { + memory-region = <&peripheral_reserved>; + }; }; };