Apple has released iMac Graphic FW Update 3.0. According to Apple, it “fixes a graphics issue that may cause an iMac to hang under certain conditions.”
The firmware update requires Mac OS X 10.7x (“Lion”). You can obtain Mac Graphic FW Update 3.0 via the Software Updates component of Mac OS X’s Systems Preferences app.