diff options
author | Huang Rui <ray.huang@amd.com> | 2017-05-02 21:52:06 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-06 16:59:23 -0400 |
commit | a0bae3577f46f6b61ccfa4cb0772fd804be1de96 (patch) | |
tree | 79f70012951067355abe1758898d571642d071a0 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | ed8cf00ce4dcdd7b50bf094d8015d8839ce770f3 (diff) |
drm/amdgpu: add ip block number prints
User is able to follow the ip block number to write the ip_block_mask for
selecting the one which user would like to enable.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index e3ca67e3fca7..0296c9efc356 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -1347,6 +1347,9 @@ int amdgpu_ip_block_add(struct amdgpu_device *adev, | |||
1347 | if (!ip_block_version) | 1347 | if (!ip_block_version) |
1348 | return -EINVAL; | 1348 | return -EINVAL; |
1349 | 1349 | ||
1350 | DRM_DEBUG("add ip block number %d <%s>\n", adev->num_ip_blocks, | ||
1351 | ip_block_version->funcs->name); | ||
1352 | |||
1350 | adev->ip_blocks[adev->num_ip_blocks++].version = ip_block_version; | 1353 | adev->ip_blocks[adev->num_ip_blocks++].version = ip_block_version; |
1351 | 1354 | ||
1352 | return 0; | 1355 | return 0; |