vmwgfx: Make the drm device name persistent
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 28 Nov 2011 13:51:36 +0000 (14:51 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 28 Nov 2011 18:36:26 +0000 (19:36 +0100)
commit995d86ceb0ae8cf2904100405ba6710c89f7f1b7
treee5b3666e1123976e1808718bfe03795e01bef832
parent08ca819238f2c2a0494b0bd8452393fc62907cc1
vmwgfx: Make the drm device name persistent

The DRI2 code doesn't copy the device name, but assumes the storage
is persistent.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Alan Hourihane <alanh@vmware.com>
vmwgfx/vmwgfx_dri2.c
vmwgfx/vmwgfx_driver.h