Direct and parametric synchronization of a graphene self-oscillator