commit | 7e0508d9aa9575db7f608eae0c5337e2a0634197 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Wed May 15 15:34:44 2019 -0700 |
committer | Chia-I Wu <olvaffe@gmail.com> | Mon Jun 17 09:36:31 2019 -0700 |
tree | 2f4f30cd93a09c2c90af6452c2c0de04bf6f7fe2 | |
parent | ad1ef35dc1e7a0f905e856648727e00219a48ebe [diff] |
virgl: save virgl_hw_res in virgl_transfer When PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE is properly supported, virgl_transfer might refer to a different virgl_hw_res than virgl_resource does. We need to save the virgl_hw_res and use the saved one. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>