I haven't gone as far as detecting which displays are on each GPU, but you might want to look at the code for gfxCardStatus to see if that provides any insight:

http://gfx.io