Skip to content
Commit d8e53e0b authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
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 de696dcd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment