Skip to content
Commit 4f3de880 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

drm/vc4: Optimise vc4_hvs_dlist_free_work to only read frcnt and active once



vc4_hvs_dlist_free_work was iterating through the list of stale
dlist entries and reading the frame count and active flags from
the hardware for each one.

Read the frame count and active flags once, and then use the
cached value in the loop.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent c79f7e94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment