panfrost: Only copy resources when they are in a pending batch
Fixes a performance regression in alacritty, and rendering is still fine in GLQuake ports.
Fixes: 361fb386 ("panfrost: Copy resources when mapping to avoid waiting for readers")
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Fixes a performance regression in alacritty, and rendering is still fine in GLQuake ports.
Fixes: 361fb386 ("panfrost: Copy resources when mapping to avoid waiting for readers")