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.email@example.com>
Commit-Ready: Deepak Sharma <firstname.lastname@example.org>
Tested-by: Deepak Sharma <email@example.com>
Reviewed-by: Deepak Sharma <firstname.lastname@example.org>
Reviewed-by: Gurchetan Singh <email@example.com>
1 file changed