Re: [PATCH 4/4] drm/v3d: Use the new shmem helpers to reduce driver boilerplate.

From: Rob Herring
Date: Fri Mar 08 2019 - 12:38:15 EST


On Fri, Mar 8, 2019 at 10:17 AM Eric Anholt <eric@xxxxxxxxxx> wrote:
>
> Depends on
> https://patchwork.freedesktop.org/patch/290754/?series=57669&rev=1 --
> Rob and I have been talking about adding some more help for the
> dma_map_sg() code in v3d_mmu.c (which panfrost has a similar version
> of), but this already seems like a good cleanup.

There's an updated version here with the helper[1].

Rob

[1] https://gitlab.freedesktop.org/robh/linux-panfrost/commit/403e85012e9ee0a2a113bec757f545df193cfb7a