OSDN Git Service

freedreno: Synchronize batch and flush for staging resource
authorKristian H. Kristensen <hoegsberg@chromium.org>
Thu, 17 Jan 2019 19:32:14 +0000 (11:32 -0800)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Fri, 18 Jan 2019 22:27:12 +0000 (14:27 -0800)
commit60c6778ddaed35d010b2d6c8f4d9dfd3415fff33
treefa533cf10560043bcc53a2f6c3d376d664e9efbc
parent64b8c86d37ebb1e1d286c69d642d52b7bcf051d3
freedreno: Synchronize batch and flush for staging resource

Staging blit downloads would wait on the src resource instead of the
staging resource and didn't make sure to submit the blit batch first.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_resource.c