[PATCH 12/12] drm/msm: gpu: Use the zap shader on 5XX if we can

Bjorn Andersson bjorn.andersson at linaro.org
Mon Dec 5 20:10:22 UTC 2016

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.


More information about the dri-devel mailing list