Re: [PATCH libdrm RESEND 1/2] xf86drm: generalize the device subsystem type parsing code

2020-01-31 Thread Mikhail Golubev
n on https://gitlab.freedesktop.org/mesa/drm, pushing the two commits to a new branch in the newly created repository, and opening the URL in the "git push" output. Thanks, -- Mikhail Golubev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin Telefon: +49 (30) 60

[PATCH libdrm RESEND 1/2] xf86drm: generalize the device subsystem type parsing code

2020-01-30 Thread Mikhail Golubev
From: Vasyl Vavrychuk Move the code, which used to get the device subsystem type from a device path in sysfs, to a separate function to be reusable. Signed-off-by: Vasyl Vavrychuk Signed-off-by: Mikhail Golubev --- xf86drm.c | 21 - 1 file changed, 16 insertions(+), 5

[PATCH libdrm RESEND 2/2] xf86drm: fix subsystem type lookup for virtio mmio-based devices

2020-01-30 Thread Mikhail Golubev
tform bus. Signed-off-by: Vasyl Vavrychuk Signed-off-by: Mikhail Golubev --- xf86drm.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index b1479128..1b22efe4 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -3005,10 +3005,20 @@ stati

[PATCH libdrm 1/2] xf86drm: generalize the device subsystem type parsing code

2020-01-30 Thread Mikhail Golubev
From: Vasyl Vavrychuk Move the code, which used to get the device subsystem type from a device path in sysfs, to a separate function to be reusable. Signed-off-by: Vasyl Vavrychuk Signed-off-by: Mikhail Golubev --- xf86drm.c | 21 - 1 file changed, 16 insertions(+), 5

[PATCH libdrm 2/2] xf86drm: fix subsystem type lookup for virtio mmio-based devices

2020-01-30 Thread Mikhail Golubev
tform bus. Signed-off-by: Vasyl Vavrychuk Signed-off-by: Mikhail Golubev --- xf86drm.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index b1479128..1b22efe4 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -3005,10 +3005,20 @@ stati