]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba234e3f6a5d027eb52941902f1a1593b3faf6cf
tree08e5a4c77a9823283f005ac7acdcf59bcbe50c45
parentd08d55211edd4429e192f678c8460e04a7a3338e
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