I found this worked as a one-shot. 80% of the time when uploaded it would work, but if reset or re-powered the display would do nothing, an older alternate sketch I had worked every time.
What I found eventually was altering the setup() function, so that the reset() call was moved above the sendcommand(0x8f). Once this change is made and uploaded it seems to work every time now.
cheers
nicw