Skip to content
Commit 9e34ee4f authored by Rob Clark's avatar Rob Clark
Browse files

freedreno/msm: fix issue where same bo is on multiple rings



It should be a less common case, but it is possible for a single bo to
be on multiple rings, for example when sharing a buffer across multiple
pipe_context's created from same pipe_screen.

So rather than completely fall over in this case, fallback to slow-path
of looping over all bo's in the ring's bo-table (but retain the fast-
path of constant-lookup for the first ring the buffer is on).

Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
parent 2fa58ef8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment