[PATCH libdrm] xd86drm: read more than 128 bytes of uevent in drmParsePciBusInfo

2016-11-14 Thread Eric Engestrom
On Friday, 2016-11-11 19:04:11 +, Emil Velikov wrote: > From: Emil Velikov > > Some platforms (such as Macs using OF) can have more information in the > uevent file thus reading only the first 128 might not be sufficient. > > Bump it to 512, which "should be enough for everybody" ;-) > > Cc

[PATCH libdrm] xd86drm: read more than 128 bytes of uevent in drmParsePciBusInfo

2016-11-11 Thread Emil Velikov
From: Emil Velikov Some platforms (such as Macs using OF) can have more information in the uevent file thus reading only the first 128 might not be sufficient. Bump it to 512, which "should be enough for everybody" ;-) Cc: Mingcong Bai Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=986