diff options
author | Christian König <deathsimple@vodafone.de> | 2012-02-23 15:18:44 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-29 10:11:30 +0000 |
commit | eb0c19c539f72d94c33cfd0860f4f8c899c64f4d (patch) | |
tree | 277110b42729b6f88181cd4ce9bbf7516e6d763b /drivers/gpu/drm/radeon/radeon_cs.c | |
parent | 442f7cfa04afe73a239daf026d323b83bbb7778b (diff) |
drm/radeon: also make the cs_parse function per ring
Not all rings use PM4, so the cs_parser also needs to be per ring.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cs.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 7fd09876702..dc79d08c1f9 100644 --- a/drivers/gpu/drm/radeon/radeon_cs.c +++ b/drivers/gpu/drm/radeon/radeon_cs.c @@ -348,7 +348,7 @@ static int radeon_cs_ib_chunk(struct radeon_device *rdev, return r; } parser->ib->length_dw = ib_chunk->length_dw; - r = radeon_cs_parse(parser); + r = radeon_cs_parse(rdev, parser->ring, parser); if (r || parser->parser_error) { DRM_ERROR("Invalid command stream !\n"); return r; |