[PATCH 04/12] drm/radeon: implement common cs packet parse function