aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2022-02-11 14:58:49 +0000
committerAlyssa Rosenzweig <[email protected]>2022-02-11 16:43:48 +0000
commit2e87309e0660fed736ca5823b714c1d958941c4d (patch)
treec792e455d2514ab7563114779c73db92d281946e /drivers/gpu/drm/lima/lima_gem.c
parentdrm/syncobj: flatten dma_fence_chains on transfer (diff)
downloadkernel-2e87309e0660fed736ca5823b714c1d958941c4d.tar.gz
kernel-2e87309e0660fed736ca5823b714c1d958941c4d.zip
drm/panfrost: Handle IDVS_GROUP_SIZE feature
The IDVS group size feature was missing. It is used on some Bifrost and Valhall GPUs, and is the last kernel-relevant Bifrost feature we're missing. This feature adds an extra IDVS group size field to the JM_CONFIG register. In kbase, the value is configurable via the device tree; kbase uses 0xF as a default if no value is specified. Until we find a device demanding otherwise, let's always set the 0xF default on devices which support this feature mimicking kbase's behaviour. Tuning this register slightly improves performance of index-driven vertex shading. On Mali-G52 (with Mesa), overall glmark2 score is improved from 1026 to 1037. Geometry-heavy scenes like -bshading are improved from 1068 to 1098. Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Steven Price <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions