Hello,
since our SoC doesn't support hardware cursor, i want to enable SW cursor with xf86-video-armsoc driver. 
So i set the cursor API type to HWCURSOR_API_NONE in my driver. list as bellow.
+struct drmmode_interface hisi_interface = {
+       1                     /* use_page_flip_events */,
+       1                     /* use_early_display */,
+       CURSORW               /* cursor width */,
+       CURSORH               /* cursor_height */,
+       CURSORPAD             /* cursor padding */,
+       HWCURSOR_API_NONE  /* cursor_api */,
+       NULL /* init_plane_for_cursor */,
+       0                     /* vblank_query_supported */,
+       create_custom_gem     /* create_custom_gem */,
+};

But when i run startx the X crash with log pasted bellow:
And if i set the cursor API type to HWCURSOR_API_STANDARD, X can start up , but without cursor display.

---------------------xorg log start-------------------
[    92.153] (II) ARMSOC(0): drmmode_set_mode_major:428: Exiting
[    92.985] (EE) 
[    92.985] (EE) Backtrace:
[    92.985] (EE) 0: /usr/bin/X (xorg_backtrace+0x5c) [0x7fb527075c]
[    92.985] (EE) 
[    92.986] (EE) Segmentation fault at address 0x7fb50b7ffc
[    92.986] (EE) 
Fatal server error:
[    92.986] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    92.986] (EE) 
[    92.986] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    92.986] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    92.986] (EE) 
[    92.987] (EE) Server terminated with error (1). Closing log file.
---------------------xorg log end-------------------

Does anybody know what's wrong it is? And how to enable SW cursor with xf86-video-armsoc driver?


Best regards,
xinliang