diff options
author | Brian <[email protected]> | 2008-02-26 20:12:29 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-26 20:13:36 -0700 |
commit | 94047122571ac78717874bfb42598ab210cd7f80 (patch) | |
tree | 0ac754c329f08fc86cc3752a0975d082653cc8db /src/gallium/drivers/cell | |
parent | aa59a937ccf41609081d3f9a4973df5478979785 (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.c | 3 |
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); |