aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r300.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2012-05-09 09:35:02 -0400
committerDave Airlie <airlied@redhat.com>2012-05-09 12:22:55 -0400
commitf2e3922106f6b29083086393ee474ad4483bc487 (patch)
tree73ae3df5af1166f5f80f198598871113a97acc15 /drivers/gpu/drm/radeon/r300.c
parentf237750f007412eb5e1baafe3e32857b35fbc6ee (diff)
drm/radeon: make the ib an inline object
No need to malloc it any more. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Christian König <deathsimple@vodafone.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r300.c')
-rw-r--r--drivers/gpu/drm/radeon/r300.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
index 6419a5900e67..97722a33e513 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -604,7 +604,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
604 int r; 604 int r;
605 u32 idx_value; 605 u32 idx_value;
606 606
607 ib = p->ib->ptr; 607 ib = p->ib.ptr;
608 track = (struct r100_cs_track *)p->track; 608 track = (struct r100_cs_track *)p->track;
609 idx_value = radeon_get_ib_value(p, idx); 609 idx_value = radeon_get_ib_value(p, idx);
610 610
@@ -1146,7 +1146,7 @@ static int r300_packet3_check(struct radeon_cs_parser *p,
1146 unsigned idx; 1146 unsigned idx;
1147 int r; 1147 int r;
1148 1148
1149 ib = p->ib->ptr; 1149 ib = p->ib.ptr;
1150 idx = pkt->idx + 1; 1150 idx = pkt->idx + 1;
1151 track = (struct r100_cs_track *)p->track; 1151 track = (struct r100_cs_track *)p->track;
1152 switch(pkt->opcode) { 1152 switch(pkt->opcode) {