-
See 8af8dc97 ("tc: do a GPU->CPU copy to initialize cpu_storage") On zink, initializing cpu_storage that requires a GPU->CPU copy is particularly expensive; in addition to a sync, the buffer_map call to copy the GPU data submits a batch and has to wait for that batch. Take the PIPE_USAGE_STREAM hint and disable using cpu_storage on resources that "will be modified once and used at most a few times" where the benefit of cpu_storage is outweighed by the heavy init time. Signed-off-by:
Juston Li <justonli@google.com> Part-of: <!29294>