Toss the eggplant chunks with 1 teaspoon of the salt in a colander and let them sit for 15 minutes, then pat very dry with paper towels. This keeps them from soaking up too much oil.
Heat the 1/3 cup oil in a large (12-inch) skillet over medium-high heat. Add the onion and fry, stirring often, for 10 to 12 minutes until deep golden brown. Scoop out about 1/3 of the onions and set aside for garnish.
Add the garlic and turmeric to the skillet and stir for 30 seconds until fragrant. Add the eggplant, reduce the heat to medium, and cook for 15 to 20 minutes, turning occasionally, until the pieces are completely soft and collapse when pressed with a spoon.
Mash the eggplant and onions right in the skillet with a potato masher or sturdy fork until mostly smooth with a few chunks. Stir in all but 2 tablespoons of the kashk, the remaining 1/2 teaspoon salt and the pepper; add hot water a tablespoon at a time if it looks stiff. Simmer 3 to 4 minutes so the flavors meld.
Make the mint oil: warm the 2 tablespoons olive oil in a small pan over low heat, take it off the heat, and stir in the dried mint. Let it sizzle for 15 to 20 seconds only, until bright and fragrant, not dark.
Spread the dip on a platter, drizzle with the reserved kashk, and top with the fried onions, walnuts and mint oil. Serve warm or at room temperature.