Shabana Azmi had to leave India to make that film abroad, does that not tell you something? Even the hostility I am sensing from Indian posters when I ask a perfectly reasonable question about the film industry is very telling. It seems the nation is homophobic but does not want to be labelled as such.
As for Hollywood, the film industry is not that big any more, but there is a rising number of gay roles. And going beyond Hollywood, just about every modern TV show has gay characters, often multiple. I named a few above, there are plenty more. Not just minor shows either, these are all hugely popular, such as Modern Parents, The Walking Dead, Glee, GOT.
British tv shows just reflect the wishes of the majority, and if they want to see a certain type of desi character then that is their choice. If it's a pernicious racial mindset I won't agree or disagree since I'm not really sure what you mean.