r600: don't close fd on failed load
authorDave Airlie <airlied@redhat.com>
Thu, 10 Mar 2011 02:01:43 +0000 (12:01 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Mar 2011 02:01:43 +0000 (12:01 +1000)
commit9b7f3776359640d452697f3a487a345820abebf0
tree749a04747b85b9577f2eb8332d86e1604e8fb6b5
parentf6ca4a304bf920ea6913b08638fb8eb3e020d446
r600: don't close fd on failed load

This fd gets passed in from outside, closing it causes the X.org server
to crap out when the driver doesn't identify the chipset.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/r600/drm/r600_drm.c