OSDN Git Service

drm/amdgpu: disable the IP module if early_init returns -ENOENT (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jul 2015 17:59:44 +0000 (13:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jul 2015 16:39:39 +0000 (12:39 -0400)
commit974e6b641f1428ee14486da277a92bdf9bd04a78
tree42adabcd169c394205acfc7beafb5c2a5391a386
parent5c2327beed49efa3198b8468e78b1182eb0b764b
drm/amdgpu: disable the IP module if early_init returns -ENOENT (v2)

If we run into a part with a harvest configuration where the entire
IP block is unusable, just disable the IP block.

v2: fix logic as noted by Christian

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c