drm/amdgpu: Add SOC15_WAIT_ON_RREG macro define
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 17 May 2018 07:58:53 +0000 (15:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 May 2018 05:18:02 +0000 (00:18 -0500)
commitac06b4cfd78b79ec6c8306062801a4276a3e0c79
treea2d062235d95335207ba8cdc05bade2e5375ebea
parent8dbb8cdf52dbc264d531d1e51f5e311bd1558c21
drm/amdgpu: Add SOC15_WAIT_ON_RREG macro define

Add new macro to wait on a register field to be a specific
value.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15_common.h