diff options
author | Huang Rui <ray.huang@amd.com> | 2017-05-03 09:40:17 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-06 16:59:16 -0400 |
commit | ed8cf00ce4dcdd7b50bf094d8015d8839ce770f3 (patch) | |
tree | d9f859a533ee5195da8eff2aae034de5ecfde7eb /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 1191d110c31bde9683f3871e49466eb799ebdc0f (diff) | |
download | lwn-ed8cf00ce4dcdd7b50bf094d8015d8839ce770f3.tar.gz lwn-ed8cf00ce4dcdd7b50bf094d8015d8839ce770f3.zip |
drm/amdgpu: add ip name print for selecting ips with ip_block_mask
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, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 383a943dc83a..e3ca67e3fca7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -1572,7 +1572,8 @@ static int amdgpu_early_init(struct amdgpu_device *adev) for (i = 0; i < adev->num_ip_blocks; i++) { if ((amdgpu_ip_block_mask & (1 << i)) == 0) { - DRM_ERROR("disabled ip block: %d\n", i); + DRM_ERROR("disabled ip block: %d <%s>\n", + i, adev->ip_blocks[i].version->funcs->name); adev->ip_blocks[i].status.valid = false; } else { if (adev->ip_blocks[i].version->funcs->early_init) { |