In a pan, dry roast the poppy seeds and grind together the poppy seeds and grated coconut with a little water to a smooth paste.
In a pressure cooker, heat oil and add the onions and fry until brown.
Add turmeric, green chilli, ginger and garlic and fry for a minute.
Add the potatoes and peas with the smooth ground coconut paste, salt and red chilli.
Pressure cook according to your pressure cooker specifications. If not using a pressure cooker, one can cook in a deep bottomed vessel until the potatoes are cooked.
Sprinkle the garam masala after the gravy is pressure cooked.