[lkml]   [2013]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 15/75] drm/radeon: allocate SA bo in the requested domain
Date -stable review patch.  If anyone has any objections, please let me know.


From: =?UTF-8?q?Christian=20K=C3=B6nig?= <>

commit 7220f639c2eca36774dbf65b16fe503bfb40fff5 upstream.

This avoid moving the BO directly after allocating it.

Signed-off-by: Christian König <>
Signed-off-by: Alex Deucher <>
[ kamal: 3.8.y-stable prereq for:
6c4f978 "drm/radeon: allow selection of alignment in the sub-allocator" ]
Signed-off-by: Kamal Mostafa <>
drivers/gpu/drm/radeon/radeon_sa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2013-07-30 17:41    [W:0.120 / U:2.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site