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