Plans within plans...
I've not read the books but I keep thinking that about the TV series. (Did someone mention Face Dancers? From Tleilax, perhaps?) They both deal intelligently(-ish) with religion, court politics, duty, betrayal and revolution. And Dune, with its feudal society, is very medieval in tone. There also seems to be a vague resemblance between Lynch's movie and the GoT TV series; if you said Sansa was a young Jessica I would believe you and Baelish could easily be a twisted Mentat.