[PATCH] drm/amdgpu/gfx: rework fiji cg functions so they can be shared