The academic reputation of your undergraduate school matters somewhat, but probably not as much as grade inflation. For instance, schools like Yale are known for giving out "gentlemen's Cs," which would be Fs at any other school. But, hey, if you know what's good for you, you're not going to flunk out some Bonesman.