From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Andersson Subject: Re: [PATCH 12/12] drm/msm: gpu: Use the zap shader on 5XX if we can Date: Mon, 5 Dec 2016 12:10:22 -0800 Message-ID: <20161205201022.GN9322@tuxbot> References: <1480361317-9937-1-git-send-email-jcrouse@codeaurora.org> <1480361317-9937-13-git-send-email-jcrouse@codeaurora.org> <20161205195712.GL9322@tuxbot> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f177.google.com ([209.85.192.177]:34286 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbcLEUK0 (ORCPT ); Mon, 5 Dec 2016 15:10:26 -0500 Received: by mail-pf0-f177.google.com with SMTP id c4so65312930pfb.1 for ; Mon, 05 Dec 2016 12:10:25 -0800 (PST) Content-Disposition: inline In-Reply-To: <20161205195712.GL9322@tuxbot> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Jordan Crouse Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org On Mon 05 Dec 11:57 PST 2016, Bjorn Andersson wrote: [..] > You should rather add a struct device zap_dev to your adreno context, do > minimal initialization (name and a parent I think is enough), call > device_register(&zap_dev);, of_reserved_mem_device_init() and then use > that for your dma allocation. You would of course need to set the of_node on the zap_dev for of_reserved_mem_device_init() to work. Sorry for missing that. Regards, Bjorn