st/gbm: retrieve the driver-name via dd_driver_name()
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 23 Jul 2014 17:10:08 +0000 (18:10 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 30 Jul 2014 15:33:09 +0000 (16:33 +0100)
commitd93ae21939a0b12e32263dfc14ad672c78d1c2b2
treedecefd2b6a81998a5f7fbdb43f8ceea4261c315b
parent85109bc5072391d3ef988f3ebaea66b6579b2b16
st/gbm: retrieve the driver-name via dd_driver_name()

... on static targets. Otherwise we'll crash badly as gdrm->dev is
NULL when we try to copy the string driver_name.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/gbm/gbm_drm.c