The RAM in the M5 is LPDDR5X, not HBM. You're right of course that it's unified and used as VRAM in that sense.