File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2288,6 +2288,8 @@ static int amdgpu_device_ip_init(struct amdgpu_device *adev)
22882288 for (i = 0 ; i < adev -> num_ip_blocks ; i ++ ) {
22892289 if (!adev -> ip_blocks [i ].status .valid )
22902290 continue ;
2291+ DRM_INFO ("sw_init of IP block <%s>...\n" ,
2292+ adev -> ip_blocks [i ].version -> funcs -> name );
22912293 r = adev -> ip_blocks [i ].version -> funcs -> sw_init ((void * )adev );
22922294 if (r ) {
22932295 DRM_ERROR ("sw_init of IP block <%s> failed %d\n" ,
@@ -2733,6 +2735,8 @@ static int amdgpu_device_ip_fini(struct amdgpu_device *adev)
27332735 amdgpu_ib_pool_fini (adev );
27342736 }
27352737
2738+ DRM_INFO ("sw_fini of IP block <%s>...\n" ,
2739+ adev -> ip_blocks [i ].version -> funcs -> name );
27362740 r = adev -> ip_blocks [i ].version -> funcs -> sw_fini ((void * )adev );
27372741 /* XXX handle errors */
27382742 if (r ) {
You can’t perform that action at this time.
0 commit comments