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: Content-Disposition: inline In-Reply-To: <20161205195712.GL9322@tuxbot> Sender: linux-arm-msm-owner@vger.kernel.org To: Jordan Crouse Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: 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