GPU panic issue is not related to os x. Apple assembled defective nvidia card inside mbpro 15 mid 2010.
You must buy a new motherboard to fix it but is better to buy a new Mac
or try this patch (is working for me. My mbpro is running OS X El Capitan):
Only way to fix Mac Book Pro 15 Mid 2010 by software is older gfxCardStatus 1.8.1
(download site: https://software.com/mac/apps/gfxcard... or whenever you find it)
don't try newer versions !!!! it will no work. Then install gfxCardStatus 1.8.1. in menu check mark: Intel Only. in preferences, check mark:Load gfx.. at startup. and. Restore last used mode at startup
It will never shutdown but it will never use nvidia graphic card