]> 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)
commit6486c54ad5176cf2b678bd09fb78932161401a38
tree08e5a4c77a9823283f005ac7acdcf59bcbe50c45
parenta7379ea6fffca0e2b23577bd02ec8ce7312fbc0b
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