Peel the potatoes and cut them into thin slices, along with the onions and garlic cloves. Season the slices with salt and pepper and put into a baking dish in layers.
Combine the broth ingredients, bring to boil and pour into the dish. Sprinkle the grated cheese over the potatoes and shave a few thin slices of butter on top. Sprinkle the panko or breadcrumbs into the dish last.