The ending where he kills grimma and wakes up again after several years is canon. It's the ending that, while bittersweet as Robin disappears, makes the most sense for his story as a character.