drm/amdgpu: add IP helpers for wait_for_idle and is_idle
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Jun 2016 15:41:04 +0000 (11:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:02:02 +0000 (15:02 -0400)
commit5dbbb60ba61e6e9976e46f3dedd989feeef08cb9
tree7e3442f0c507cd74ce40b1df1264952b3e4ac242
parentbfa833558cc90517da1d3f0885a9f5ea04e6b021
drm/amdgpu: add IP helpers for wait_for_idle and is_idle

Helpers to to call the IP functions for the selected IP.

Reviewed-by: Chunming zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c