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
This commit is contained in:

committed by
Rob Herring

parent
a1b27e9922
commit
4bced8bea0
@@ -43,6 +43,7 @@ struct panfrost_features {
|
||||
u32 js_features[16];
|
||||
|
||||
u32 nr_core_groups;
|
||||
u32 thread_tls_alloc;
|
||||
|
||||
unsigned long hw_features[64 / BITS_PER_LONG];
|
||||
unsigned long hw_issues[64 / BITS_PER_LONG];
|
||||
|
Reference in New Issue
Block a user