• Guchun Chen's avatar
    drm/amdgpu: add error print when failing to add IP block(v2) · 69650a87
    Guchun Chen authored
    Driver initialization is driven by IP version from IP
    discovery table. So add error print when failing to add
    ip block during driver initialization, this will be more
    friendly to user to know which IP version is not correct.
    
    [   40.467361] [drm] host supports REQ_INIT_DATA handshake
    [   40.474076] [drm] add ip block number 0 <nv_common>
    [   40.474090] [drm] add ip block number 1 <gmc_v10_0>
    [   40.474101] [drm] add ip block number 2 <psp>
    [   40.474103] [drm] add ip block number 3 <navi10_ih>
    [   40.474114] [drm] add ip block number 4 <smu>
    [   40.474119] [drm] add ip block number 5 <amdgpu_vkms>
    [   40.474134] [drm] add ip block number 6 <gfx_v10_0>
    [   40.474143] [drm] add ip block number 7 <sdma_v5_2>
    [   40.474147] amdgpu 0000:00:08.0: amdgpu: Fatal error during GPU init
    [   40.474545] amdgpu 0000:00:08.0: amdgpu: amdgpu: finishing device.
    
    v2: use dev_err to multi-GPU system
    Signed-off-by: default avatarGuchun Chen <guchun.chen@amd.com>
    Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    69650a87
amdgpu_discovery.c 40 KB