[Freedreno] [PATCH v4 2/2] drm/msm/a6xx: Use the DMA API for GMU memory objects

2020-03-02 Thread Jordan Crouse
The GMU has very few memory allocations and uses a flat memory space so there is no good reason to go out of our way to bypass the DMA APIs which were basically designed for this exact scenario. v4: Use dma_alloc_wc() v3: Set the dma mask correctly and use dma_addr_t for the iova type v2: Pass for

Re: [Freedreno] [PATCH v4 2/2] drm/msm/a6xx: Use the DMA API for GMU memory objects

2020-03-02 Thread Ruhl, Michael J
>-Original Message- >From: dri-devel On Behalf Of >Jordan Crouse >Sent: Monday, March 2, 2020 3:48 PM >To: linux-arm-...@vger.kernel.org >Cc: Douglas Anderson ; David Airlie >; freedreno@lists.freedesktop.org; >smase...@codeaurora.org; linux-ker...@vger.kernel.org; dri- >de...@lists.freede