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>
This commit is contained in:
Родитель
ed8cf00ce4
Коммит
a0bae3577f
|
@ -1347,6 +1347,9 @@ int amdgpu_ip_block_add(struct amdgpu_device *adev,
|
||||||
if (!ip_block_version)
|
if (!ip_block_version)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
DRM_DEBUG("add ip block number %d <%s>\n", adev->num_ip_blocks,
|
||||||
|
ip_block_version->funcs->name);
|
||||||
|
|
||||||
adev->ip_blocks[adev->num_ip_blocks++].version = ip_block_version;
|
adev->ip_blocks[adev->num_ip_blocks++].version = ip_block_version;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче