drm/amdgpu: Add message print when unable to get valid hive
authorshaoyunl <shaoyun.liu@amd.com>
Fri, 4 Jan 2019 18:23:06 +0000 (13:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:52 +0000 (15:04 -0500)
commit36ca09a02aa6b02cb33b04962ec373a164e636a6
tree915a8badc1a82e1cabe9db3d97fe6a2261245c3f
parentbe4630d96258781d72201af525a34c2509a6f3a0
drm/amdgpu: Add message print when unable to get valid hive

Add message print out and return -EINVAL when driver can not get valid hive
from hive  arrary on xgmi configuration

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c