Re: [PATCH v3 2/2] drm/panfrost: Use drm_gem_shmem_map_offset()

From: Rob Herring
Date: Tue May 21 2019 - 11:27:14 EST


On Mon, May 20, 2019 at 4:23 AM Steven Price <steven.price@xxxxxxx> wrote:
>

You forgot to update the subject. I can fixup when applying, but I'd
like an ack from Chris on patch 1.

> panfrost_ioctl_mmap_bo() contains a reimplementation of
> drm_gem_map_offset() but with a bug - it allows mapping imported objects
> (without going through the exporter). Fix this by switching to use the
> newly renamed drm_gem_map_offset() function instead which has the bonus
> of simplifying the code.
>
> CC: Alyssa Rosenzweig <alyssa@xxxxxxxxxxxxx>
> Signed-off-by: Steven Price <steven.price@xxxxxxx>
> Reviewed-by: Alyssa Rosenzweig <alyssa@xxxxxxxxxxxxx>