drm/panfrost: Export all GPU feature registers
authorSteven Price <steven.price@arm.com>
Wed, 24 Jul 2019 10:56:26 +0000 (11:56 +0100)
committerRob Herring <robh@kernel.org>
Thu, 25 Jul 2019 22:10:52 +0000 (16:10 -0600)
commit4bced8bea0943bb3c4b97012d2221d3aca5b9384
tree8e0b63beffbf3b840e5855641eeb8f8dd4863f7d
parenta1b27e99229a448075abc3ca006043d4785f14a4
drm/panfrost: Export all GPU feature registers

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@arm.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190724105626.53552-1-steven.price@arm.com
drivers/gpu/drm/panfrost/panfrost_device.h
drivers/gpu/drm/panfrost/panfrost_drv.c
drivers/gpu/drm/panfrost/panfrost_gpu.c
include/uapi/drm/panfrost_drm.h