projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/radeon/kms: convert r4xx to new init path
[deliverable/linux.git]
/
drivers
/
gpu
/
drm
/
radeon
/
radeon_ring.c
diff --git
a/drivers/gpu/drm/radeon/radeon_ring.c
b/drivers/gpu/drm/radeon/radeon_ring.c
index aa9837a6aa75ffa37788180024cf1d4e81f5aa39..168a555d6fba488b5ea4d7b3e213eea309254e1e 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_ring.c
+++ b/
drivers/gpu/drm/radeon/radeon_ring.c
@@
-151,6
+151,8
@@
int radeon_ib_pool_init(struct radeon_device *rdev)
int i;
int r = 0;
+ if (rdev->ib_pool.robj)
+ return 0;
/* Allocate 1M object buffer */
INIT_LIST_HEAD(&rdev->ib_pool.scheduled_ibs);
r = radeon_object_create(rdev, NULL, RADEON_IB_POOL_SIZE*64*1024,
This page took
0.029223 seconds
and
5
git commands to generate.