Preheat oven to 200°C/180°C fan-forced. Grease an 8-cup capacity baking dish.
Place potatoes in a large saucepan, cover with cold water and bring to the boil over high heat. Reduce heat to medium, then simmer for 12 minutes or until the potatoes are just tender. Drain, then stand for 20 minutes to cool. Thinly slice potatoes.
Meanwhile, heat oil and butter in a frying pan over medium heat. Add bacon and onion, then cook, stirring, for 12 minutes or until onion has softened. Add garlic and cook for a further 1 minute or until fragrant. Add wine and simmer for 3 minutes, scraping the base of the pan, or until almost liquid has evaporated.
Layer half the potato over the base of baking dish. Spoon over half the bacon mixture and half the cream. Repeat with remaining potato, bacon mixture and cream.
Arrange cheese over the top, then season. Bake for 30 minutes or until potato is tender and cheese is golden and has melted. Serve scattered with thyme.