Run ./kms-steal-crtc /dev/dri/card0 results Segmentation fault
I am using libdrm2.4.100, AMD gpu rx570
Program received signal SIGSEGV, Segmentation fault.
0x0000000000401ebd in kms_screen_probe (screen=0x40a3f0)
at ../tests/kms/libkms-test-screen.c:45
45 memcpy(&screen->mode, &con->modes[0], sizeof(drmModeModeInfo));
(gdb) quit
Edited by Sui Jingfeng