aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2024-06-21 22:00:20 +0200
committerLucas Stach <l.stach@pengutronix.de>2024-06-26 15:32:47 +0200
commitbeb311ff0f2e1fcd0f033fcd1be45de083efc421 (patch)
tree5c139e88a36cb8abc3d0d389d1b6b49e9a86bd01 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent58979ad6330a70450ed78837be3095107d022ea9 (diff)
drm/etnaviv: reduce number of ktime_get calls in IRQ handler
A single IRQ might signal the completion of multiple jobs/fences at once. There is no point in attaching a new timestamp to each fence that only differs in when exactly the IRQ handler was able to process this fence. Get a single timestamp when the IRQ handler has determined that there are completed jobs and reuse this for all fences that get signalled by the handler. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions