gfx: moved init interface to primary module interface.