Skip to content
Commit 712456cb authored by Jan Vesely's avatar Jan Vesely Committed by Juan A. Suarez Romero
Browse files

eg/compute: Use reference counting to handle compute memory pool.



Use pipe_reference to release old RAT surfaces.
RAT surface adds a reference to pool bo, so use reference counting for pool->bo
as well.

v2: Use the same pattern for both defrag paths
    Drop confusing comment

CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarJan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit f3521ce2)
parent 0f7b29aa
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