drm/radeon: also make the cs_parse function per ring
authorChristian König <deathsimple@vodafone.de>
Thu, 23 Feb 2012 14:18:44 +0000 (15:18 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Feb 2012 10:11:30 +0000 (10:11 +0000)
commiteb0c19c539f72d94c33cfd0860f4f8c899c64f4d
tree277110b42729b6f88181cd4ce9bbf7516e6d763b
parent442f7cfa04afe73a239daf026d323b83bbb7778b
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>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_cs.c