OSDN Git Service

drm/amdgpu:fix amdgpu_sa_bo_new error(v2)
authorMonk Liu <Monk.Liu@amd.com>
Wed, 8 Feb 2017 09:38:13 +0000 (17:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:39 +0000 (23:52 -0400)
commit9bc92b9c8d0919b61660300249fa67e291ae0ecc
tree08e5a4c77a9823283f005ac7acdcf59bcbe50c45
parentedcafc0294589d5ad1220565ffd674007337cdc7
drm/amdgpu:fix amdgpu_sa_bo_new error(v2)

ib_pool init should prior to fbdev_init, otherwise
there will be error from amdgpu_sa_bo_new
(amdgpu_sa.c:323)

fbdev_init will call ttm_validate which further call
amdgpu_sa_bo_new.

v2:
move fbdev_init behind ib test.

Signed-off-by: Monk Liu <Monk.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_device.c