Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307227
b: refs/heads/master
c: b7f6413
h: refs/heads/master
i:
  307225: 37db3ad
  307223: fce3f11
v: v3
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed May 3, 2012
1 parent 763c940 commit 7141b40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43caf4515c327dac6c69bfd6080b529eb6a049a6
refs/heads/master: b7f6413a731f2139041beede539149a5374860fe
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ int radeon_cs_parser_init(struct radeon_cs_parser *p, void *data)
/* get chunks */
INIT_LIST_HEAD(&p->validated);
p->idx = 0;
p->ib = NULL;
p->const_ib = NULL;
p->chunk_ib_idx = -1;
p->chunk_relocs_idx = -1;
p->chunk_flags_idx = -1;
Expand Down Expand Up @@ -325,6 +327,9 @@ static void radeon_cs_parser_fini(struct radeon_cs_parser *parser, int error)
kfree(parser->chunks);
kfree(parser->chunks_array);
radeon_ib_free(parser->rdev, &parser->ib);
if (parser->const_ib) {
radeon_ib_free(parser->rdev, &parser->const_ib);
}
}

static int radeon_cs_ib_chunk(struct radeon_device *rdev,
Expand Down

0 comments on commit 7141b40

Please sign in to comment.