amdgpu: use amdgpu_gem_wait_idle_ioctl to wait for GPU to finish.
For linear path we don't wait for GPU to finish before CPU access
which may case issues in gralloc lock() case.
Signed-off-by: Deepak Sharma <Deepak.firstname.lastname@example.org>
Commit-Ready: Deepak Sharma <email@example.com>
Tested-by: Deepak Sharma <firstname.lastname@example.org>
Reviewed-by: Deepak Sharma <email@example.com>
Reviewed-by: Gurchetan Singh <firstname.lastname@example.org>
1 file changed