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.


Change-Id: If827fe4a18726797082046b4f24fc8c75ff1bcb7
Signed-off-by: Deepak Sharma <>
Commit-Ready: Deepak Sharma <>
Tested-by: Deepak Sharma <>
Reviewed-by: Deepak Sharma <>
Reviewed-by: Gurchetan Singh <>
1 file changed