diff options
author | Christian König <christian.koenig@amd.com> | 2013-04-25 16:19:08 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-05-02 14:01:47 (GMT) |
commit | 7220f639c2eca36774dbf65b16fe503bfb40fff5 (patch) | |
tree | 5cc743f232bec0c57850427e0ce7d92ab2f68c49 /drivers/gpu | |
parent | f8e6bfc2ce162855fa4f9822a45659f4b542c960 (diff) | |
download | linux-7220f639c2eca36774dbf65b16fe503bfb40fff5.tar.xz |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_sa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_sa.c b/drivers/gpu/drm/radeon/radeon_sa.c index cb80099..0abe5a9 100644 --- a/drivers/gpu/drm/radeon/radeon_sa.c +++ b/drivers/gpu/drm/radeon/radeon_sa.c @@ -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; |