Re: [PATCH] drm/panfrost: Export all GPU feature registers

From: Rob Herring
Date: Wed Jul 24 2019 - 12:27:18 EST


Adding Alyssa's Collabora email.

On Wed, Jul 24, 2019 at 4:56 AM Steven Price <steven.price@xxxxxxx> wrote:
>
> Midgard/Bifrost GPUs have a bunch of feature registers providing details
> of what the hardware supports. Panfrost already reads these, this patch
> exports them all to user space so that the jobs created by the user space
> driver can be tuned for the particular hardware implementation.
>
> Signed-off-by: Steven Price <steven.price@xxxxxxx>
> ---
> drivers/gpu/drm/panfrost/panfrost_device.h | 1 +
> drivers/gpu/drm/panfrost/panfrost_drv.c | 38 +++++++++++++++++++--
> drivers/gpu/drm/panfrost/panfrost_gpu.c | 2 ++
> include/uapi/drm/panfrost_drm.h | 39 ++++++++++++++++++++++
> 4 files changed, 77 insertions(+), 3 deletions(-)

LGTM. I'll give it a bit more time to see if there are any comments
before I apply it.

Rob