forked from luck/tmp_suning_uos_patched
drm/radeon: allocate SA bo in the requested domain
This avoid moving the BO directly after allocating it. Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f8e6bfc2ce
commit
7220f639c2
|
@ -64,7 +64,7 @@ int radeon_sa_bo_manager_init(struct radeon_device *rdev,
|
|||
}
|
||||
|
||||
r = radeon_bo_create(rdev, size, RADEON_GPU_PAGE_SIZE, true,
|
||||
RADEON_GEM_DOMAIN_CPU, NULL, &sa_manager->bo);
|
||||
domain, NULL, &sa_manager->bo);
|
||||
if (r) {
|
||||
dev_err(rdev->dev, "(%d) failed to allocate bo for manager\n", r);
|
||||
return r;
|
||||
|
|
Loading…
Reference in New Issue
Block a user