Skip to content
Commit f53d3542 authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov
Browse files

xd86drm: read more than 128 bytes of uevent in drmParsePciBusInfo

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" ;-)

v2: Use sizeof(data)-1 over hardcoded number (Eric).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98629


Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reported-by: default avatarMingcong Bai <jeffbai@aosc.xyz>
Tested-by: Mingcong Bai <jeffbai@aosc.xyz> (v1)
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
parent de13ea38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment