summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-26 20:12:29 -0700
committerBrian <[email protected]>2008-02-26 20:13:36 -0700
commit94047122571ac78717874bfb42598ab210cd7f80 (patch)
tree0ac754c329f08fc86cc3752a0975d082653cc8db /src/gallium/drivers/cell
parentaa59a937ccf41609081d3f9a4973df5478979785 (diff)
cell: insert a (disabled) call to spe_cpu_info_get()
Found on the Cell devel forum, but doesn't appear to be available in SDK 2.1.
Diffstat (limited to 'src/gallium/drivers/cell')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_context.c b/src/gallium/drivers/cell/ppu/cell_context.c
index 98c314f45c4..5cbc922cb90 100644
--- a/src/gallium/drivers/cell/ppu/cell_context.c
+++ b/src/gallium/drivers/cell/ppu/cell_context.c
@@ -228,6 +228,9 @@ cell_create_context(struct pipe_winsys *winsys, struct cell_winsys *cws)
* SPU stuff
*/
cell->num_spus = 6;
+ /* XXX is this in SDK 3.0 only?
+ cell->num_spus = spe_cpu_info_get(SPE_COUNT_PHYSICAL_SPES, -1);
+ */
cell_start_spus(cell);