summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/v3d/v3d_perfmon.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>2024-07-11 14:53:37 +0100
committerMaíra Canal <mcanal@igalia.com>2024-07-13 11:00:32 -0300
commit1be825c5c060b6239f7c8ef45880f885f9dba056 (patch)
tree7e8ad2a76c40334a54d8f1ee5f6ac74472770ca0 /drivers/gpu/drm/v3d/v3d_perfmon.c
parentc9d6630f7c67a5c6cc2ba90f1abbd0dff7d8eca9 (diff)
downloadlinux-1be825c5c060b6239f7c8ef45880f885f9dba056.tar.gz
linux-1be825c5c060b6239f7c8ef45880f885f9dba056.tar.bz2
linux-1be825c5c060b6239f7c8ef45880f885f9dba056.zip
drm/v3d: Do not use intermediate storage when copying performance query results
Removing the intermediate buffer removes the last use of the V3D_MAX_COUNTERS define, which will enable further driver cleanup. While at it pull the 32 vs 64 bit copying decision outside the loop in order to reduce the number of conditional instructions. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Maíra Canal <mcanal@igalia.com> Signed-off-by: Maíra Canal <mcanal@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240711135340.84617-9-tursulin@igalia.com
Diffstat (limited to 'drivers/gpu/drm/v3d/v3d_perfmon.c')
0 files changed, 0 insertions, 0 deletions