Re: [PATCH xserver 0/2] Fix some error in Xorg.0.log

2018-04-12 Thread Liwei Song
On 04/13/2018 05:39 AM, Adam Jackson wrote: > On Wed, 2018-04-11 at 22:49 -0400, Liwei Song wrote: >> On my CoffeeLake S board, after compile i915 as a kernel module >> will got following error in Xorg.0.log: >> (EE) /dev/dri/card0: failed to set DRM interface ve

[PATCH xserver 1/2] config: wait for DRM device to be successful initiated

2018-04-11 Thread Liwei Song
ethod to wait DRM device are available. Signed-off-by: Liwei Song --- config/udev.c | 9 + 1 file changed, 9 insertions(+) diff --git a/config/udev.c b/config/udev.c index 3a73189e2558..2398603cd87b 100644 --- a/config/udev.c +++ b/config/udev.c @@ -486,8 +486,11 @@ config_udev_odev_

[PATCH xserver 0/2] Fix some error in Xorg.0.log

2018-04-11 Thread Liwei Song
a loop to wait device got ready can avoid this timing problem Liwei Song (2): config: wait for DRM device to be successful initiated fbdevhw: add loop to wait /dev/fb0 get ready config/udev.c| 9 + hw/xfree86/fbdevhw/fbdevhw.c | 4 +++- 2 files changed, 12 insertions

[PATCH xserver 2/2] fbdevhw: add loop to wait /dev/fb0 get ready

2018-04-11 Thread Liwei Song
finished its initialize work can fix this error. Signed-off-by: Liwei Song --- hw/xfree86/fbdevhw/fbdevhw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c index 0bd77df87e04..adca43809b59 100644 --- a/hw/xfree86