78-graphics-card.rules 965 B

123456789101112131415161718192021222324252627282930
  1. # do not edit this file, it will be overwritten on update
  2. ACTION!="add", GOTO="graphics_end"
  3. # Tag the drm device for KMS-supporting drivers as the primary device for
  4. # the display; for non-KMS drivers tag the framebuffer device instead.
  5. SUBSYSTEM!="drm", GOTO="drm_end"
  6. KERNEL!="card[0-9]*", GOTO="drm_end"
  7. ENV{DEVTYPE}!="drm_minor", GOTO="drm_end"
  8. DRIVERS=="i915", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
  9. DRIVERS=="radeon", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
  10. DRIVERS=="nouveau", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
  11. DRIVERS=="vmwgfx", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
  12. LABEL="drm_end"
  13. SUBSYSTEM!="graphics", GOTO="graphics_end"
  14. DRIVERS=="i915", GOTO="graphics_end"
  15. DRIVERS=="radeon", GOTO="graphics_end"
  16. DRIVERS=="nouveau", GOTO="graphics_end"
  17. DRIVERS=="efifb", GOTO="graphics_end"
  18. DRIVERS=="efi-framebuffer", GOTO="graphics_end"
  19. DRIVERS=="vesa-framebuffer", GOTO="graphics_end"
  20. KERNEL=="fb[0-9]*", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1"
  21. LABEL="graphics_end"