Skip to content
Commit dff3ab5c authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Dylan Baker
Browse files

iris: Avoid unnecessary resolves on transfer maps



We were always resolving the buffer as if we were accessing it via
CPU maps, which don't understand any auxiliary surfaces.  But we often
copy to a temporary using BLORP, which understands compression just
fine.  So we can avoid the resolve, and accelerate the copy as well.

Fixes: 9d1334d2 ("iris: Use copy_region and staging resources to avoid transfer stalls")
Reviewed-by: default avatarRafael Antognolli <rafael.antognolli@intel.com>
(cherry picked from commit 2d799250)
parent d78f39eb
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