summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_chipset.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-22 13:34:21 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:25 -0800
commitecb7f29f74c8f7456302267fe31b1de4bcc103c5 (patch)
tree1f86aac7d7a005755dc7e9a00796e43a3ea9919b /src/gallium/drivers/r300/r300_chipset.c
parent90a96cb2addf48b3b48c039a8dc6de9e53bfb6df (diff)
amd/r300: Wire up GETPARAM ioctls.
Whoo, stuff is starting to look cleaner and cleaner.
Diffstat (limited to 'src/gallium/drivers/r300/r300_chipset.c')
-rw-r--r--src/gallium/drivers/r300/r300_chipset.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c
index b7de2359cbd..f2dc8aedaad 100644
--- a/src/gallium/drivers/r300/r300_chipset.c
+++ b/src/gallium/drivers/r300/r300_chipset.c
@@ -26,10 +26,9 @@
* Radeons. */
/* Parse a PCI ID and fill an r300_capabilities struct with information. */
-void r300_parse_chipset(uint32_t pci_id, struct r300_capabilities* caps)
+void r300_parse_chipset(struct r300_capabilities* caps)
{
/* Reasonable defaults */
- caps->pci_id = pci_id;
caps->has_tcl = TRUE;
caps->is_r500 = FALSE;
caps->num_vert_pipes = 4;
@@ -38,7 +37,7 @@ void r300_parse_chipset(uint32_t pci_id, struct r300_capabilities* caps)
/* Note: These are not ordered by PCI ID. I leave that task to GCC,
* which will perform the ordering while collating jump tables. Instead,
* I've tried to group them according to capabilities and age. */
- switch (pci_id) {
+ switch (caps->pci_id) {
case 0x4144:
caps->family = CHIP_FAMILY_R300;
break;