]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84c826620d7204af11bdfcd0594a02c9141c13b2
tree8e0b63beffbf3b840e5855641eeb8f8dd4863f7d
parent4ee7412b0e9ee509e7dde2e9bc18165a29990981
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