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

Rob Herring robh at kernel.org
Tue May 21 15:24:27 UTC 2019


On Mon, May 20, 2019 at 4:23 AM Steven Price <steven.price at arm.com> 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 at rosenzweig.io>
> Signed-off-by: Steven Price <steven.price at arm.com>
> Reviewed-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>


More information about the dri-devel mailing list