2014-07-27 14:23:19 +02:00
|
|
|
Index: plymouth-0.9.0/src/libply-splash-core/ply-device-manager.c
|
|
|
|
===================================================================
|
|
|
|
--- plymouth-0.9.0.orig/src/libply-splash-core/ply-device-manager.c
|
|
|
|
+++ plymouth-0.9.0/src/libply-splash-core/ply-device-manager.c
|
2014-08-07 13:00:56 +02:00
|
|
|
@@ -149,8 +149,14 @@ fb_device_has_drm_device (ply_device_man
|
2014-07-27 14:23:19 +02:00
|
|
|
card_path = udev_list_entry_get_name (card_entry);
|
|
|
|
card_device = udev_device_new_from_syspath (manager->udev_context, card_path);
|
|
|
|
card_node = udev_device_get_devnode (card_device);
|
|
|
|
- if (card_node != NULL)
|
|
|
|
- has_drm_device = true;
|
|
|
|
+ if (card_node != NULL) {
|
|
|
|
+ /* don't consider drm driver for cirrus usable */
|
|
|
|
+ const char *card_name = udev_device_get_sysattr_value (card_device, "name");
|
2014-08-07 13:00:56 +02:00
|
|
|
+ if (card_name && strcmp ("cirrusdrmfb", card_name) == 0)
|
2014-07-27 14:23:19 +02:00
|
|
|
+ has_drm_device = false;
|
2014-08-07 13:00:56 +02:00
|
|
|
+ else
|
|
|
|
+ has_drm_device = true;
|
2014-07-27 14:23:19 +02:00
|
|
|
+ }
|
|
|
|
else
|
|
|
|
ply_trace ("no card node!");
|
|
|
|
|