]> 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)
commit705b5171edbd1de1a5fd8f9c5c5d5a06a0ef0af1
tree8e0b63beffbf3b840e5855641eeb8f8dd4863f7d
parent3a17c7db7531223e490f167f0f86f0fa112b9212
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