ACTION!="add|change", GOTO="end_video"
SUBSYSTEM=="pci", ATTR{class}=="0x030000", ATTRS{vendor}=="0x10de", GOTO="subsystem_pci"
GOTO="end_video"

LABEL="subsystem_pci"
ATTRS{device}=="0x0fc0", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc1", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc2", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc6", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc8", GOTO="configure_nvidia"
ATTRS{device}=="0x0fc9", GOTO="configure_nvidia"
ATTRS{device}=="0x0fd2", GOTO="configure_nvidia"
ATTRS{device}=="0x0fe3", GOTO="configure_nvidia"
ATTRS{device}=="0x0ff3", GOTO="configure_nvidia"
ATTRS{device}=="0x0ff9", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffa", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffd", GOTO="configure_nvidia"
ATTRS{device}=="0x0ffe", GOTO="configure_nvidia"
ATTRS{device}=="0x0fff", GOTO="configure_nvidia"
ATTRS{device}=="0x1001", GOTO="configure_nvidia"
ATTRS{device}=="0x1004", GOTO="configure_nvidia"
ATTRS{device}=="0x1005", GOTO="configure_nvidia"
ATTRS{device}=="0x1007", GOTO="configure_nvidia"
ATTRS{device}=="0x1008", GOTO="configure_nvidia"
ATTRS{device}=="0x100a", GOTO="configure_nvidia"
ATTRS{device}=="0x100c", GOTO="configure_nvidia"
ATTRS{device}=="0x1021", GOTO="configure_nvidia"
ATTRS{device}=="0x1022", GOTO="configure_nvidia"
ATTRS{device}=="0x1023", GOTO="configure_nvidia"
ATTRS{device}=="0x1024", GOTO="configure_nvidia"
ATTRS{device}=="0x1026", GOTO="configure_nvidia"
ATTRS{device}=="0x1027", GOTO="configure_nvidia"
ATTRS{device}=="0x1028", GOTO="configure_nvidia"
ATTRS{device}=="0x1029", GOTO="configure_nvidia"
ATTRS{device}=="0x102a", GOTO="configure_nvidia"
ATTRS{device}=="0x102d", GOTO="configure_nvidia"
ATTRS{device}=="0x103a", GOTO="configure_nvidia"
ATTRS{device}=="0x103c", GOTO="configure_nvidia"
ATTRS{device}=="0x1180", GOTO="configure_nvidia"
ATTRS{device}=="0x1183", GOTO="configure_nvidia"
ATTRS{device}=="0x1184", GOTO="configure_nvidia"
ATTRS{device}=="0x1185", GOTO="configure_nvidia"
ATTRS{device}=="0x1187", GOTO="configure_nvidia"
ATTRS{device}=="0x1188", GOTO="configure_nvidia"
ATTRS{device}=="0x1189", GOTO="configure_nvidia"
ATTRS{device}=="0x118e", GOTO="configure_nvidia"
ATTRS{device}=="0x118f", GOTO="configure_nvidia"
ATTRS{device}=="0x1193", GOTO="configure_nvidia"
ATTRS{device}=="0x1194", GOTO="configure_nvidia"
ATTRS{device}=="0x1195", GOTO="configure_nvidia"
ATTRS{device}=="0x1199", GOTO="configure_nvidia"
ATTRS{device}=="0x11b4", GOTO="configure_nvidia"
ATTRS{device}=="0x11ba", GOTO="configure_nvidia"
ATTRS{device}=="0x11c0", GOTO="configure_nvidia"
ATTRS{device}=="0x11c2", GOTO="configure_nvidia"
ATTRS{device}=="0x11c3", GOTO="configure_nvidia"
ATTRS{device}=="0x11c4", GOTO="configure_nvidia"
ATTRS{device}=="0x11c5", GOTO="configure_nvidia"
ATTRS{device}=="0x11c6", GOTO="configure_nvidia"
ATTRS{device}=="0x11c8", GOTO="configure_nvidia"
ATTRS{device}=="0x11cb", GOTO="configure_nvidia"
ATTRS{device}=="0x11e3", GOTO="configure_nvidia"
ATTRS{device}=="0x11fa", GOTO="configure_nvidia"
ATTRS{device}=="0x1280", GOTO="configure_nvidia"
ATTRS{device}=="0x1281", GOTO="configure_nvidia"
ATTRS{device}=="0x1282", GOTO="configure_nvidia"
ATTRS{device}=="0x1284", GOTO="configure_nvidia"
ATTRS{device}=="0x1286", GOTO="configure_nvidia"
ATTRS{device}=="0x1287", GOTO="configure_nvidia"
ATTRS{device}=="0x1288", GOTO="configure_nvidia"
ATTRS{device}=="0x1289", GOTO="configure_nvidia"
ATTRS{device}=="0x128b", GOTO="configure_nvidia"
ATTRS{device}=="0x1290", GOTO="configure_nvidia"
ATTRS{device}=="0x1292", GOTO="configure_nvidia"
ATTRS{device}=="0x1295", GOTO="configure_nvidia"
ATTRS{device}=="0x1299", GOTO="configure_nvidia"
ATTRS{device}=="0x1340", GOTO="configure_nvidia"
ATTRS{device}=="0x1341", GOTO="configure_nvidia"
ATTRS{device}=="0x1344", GOTO="configure_nvidia"
ATTRS{device}=="0x1346", GOTO="configure_nvidia"
ATTRS{device}=="0x1347", GOTO="configure_nvidia"
ATTRS{device}=="0x1348", GOTO="configure_nvidia"
ATTRS{device}=="0x1349", GOTO="configure_nvidia"
ATTRS{device}=="0x134b", GOTO="configure_nvidia"
ATTRS{device}=="0x134d", GOTO="configure_nvidia"
ATTRS{device}=="0x134e", GOTO="configure_nvidia"
ATTRS{device}=="0x134f", GOTO="configure_nvidia"
ATTRS{device}=="0x137a", GOTO="configure_nvidia"
ATTRS{device}=="0x137b", GOTO="configure_nvidia"
ATTRS{device}=="0x137d", GOTO="configure_nvidia"
ATTRS{device}=="0x1380", GOTO="configure_nvidia"
ATTRS{device}=="0x1381", GOTO="configure_nvidia"
ATTRS{device}=="0x1382", GOTO="configure_nvidia"
ATTRS{device}=="0x1390", GOTO="configure_nvidia"
ATTRS{device}=="0x1391", GOTO="configure_nvidia"
ATTRS{device}=="0x1392", GOTO="configure_nvidia"
ATTRS{device}=="0x1393", GOTO="configure_nvidia"
ATTRS{device}=="0x1398", GOTO="configure_nvidia"
ATTRS{device}=="0x1399", GOTO="configure_nvidia"
ATTRS{device}=="0x139a", GOTO="configure_nvidia"
ATTRS{device}=="0x139b", GOTO="configure_nvidia"
ATTRS{device}=="0x139c", GOTO="configure_nvidia"
ATTRS{device}=="0x139d", GOTO="configure_nvidia"
ATTRS{device}=="0x13b0", GOTO="configure_nvidia"
ATTRS{device}=="0x13b1", GOTO="configure_nvidia"
ATTRS{device}=="0x13b2", GOTO="configure_nvidia"
ATTRS{device}=="0x13b3", GOTO="configure_nvidia"
ATTRS{device}=="0x13b4", GOTO="configure_nvidia"
ATTRS{device}=="0x13b6", GOTO="configure_nvidia"
ATTRS{device}=="0x13b9", GOTO="configure_nvidia"
ATTRS{device}=="0x13ba", GOTO="configure_nvidia"
ATTRS{device}=="0x13bb", GOTO="configure_nvidia"
ATTRS{device}=="0x13bc", GOTO="configure_nvidia"
ATTRS{device}=="0x13c0", GOTO="configure_nvidia"
ATTRS{device}=="0x13c2", GOTO="configure_nvidia"
ATTRS{device}=="0x13d7", GOTO="configure_nvidia"
ATTRS{device}=="0x13d8", GOTO="configure_nvidia"
ATTRS{device}=="0x13d9", GOTO="configure_nvidia"
ATTRS{device}=="0x13da", GOTO="configure_nvidia"
ATTRS{device}=="0x13f0", GOTO="configure_nvidia"
ATTRS{device}=="0x13f1", GOTO="configure_nvidia"
ATTRS{device}=="0x13f2", GOTO="configure_nvidia"
ATTRS{device}=="0x13f3", GOTO="configure_nvidia"
ATTRS{device}=="0x13f8", GOTO="configure_nvidia"
ATTRS{device}=="0x13f9", GOTO="configure_nvidia"
ATTRS{device}=="0x13fa", GOTO="configure_nvidia"
ATTRS{device}=="0x13fb", GOTO="configure_nvidia"
ATTRS{device}=="0x1401", GOTO="configure_nvidia"
ATTRS{device}=="0x1402", GOTO="configure_nvidia"
ATTRS{device}=="0x1406", GOTO="configure_nvidia"
ATTRS{device}=="0x1407", GOTO="configure_nvidia"
ATTRS{device}=="0x1427", GOTO="configure_nvidia"
ATTRS{device}=="0x1430", GOTO="configure_nvidia"
ATTRS{device}=="0x1431", GOTO="configure_nvidia"
ATTRS{device}=="0x1436", GOTO="configure_nvidia"
ATTRS{device}=="0x15f0", GOTO="configure_nvidia"
ATTRS{device}=="0x15f7", GOTO="configure_nvidia"
ATTRS{device}=="0x15f8", GOTO="configure_nvidia"
ATTRS{device}=="0x15f9", GOTO="configure_nvidia"
ATTRS{device}=="0x1617", GOTO="configure_nvidia"
ATTRS{device}=="0x1618", GOTO="configure_nvidia"
ATTRS{device}=="0x1619", GOTO="configure_nvidia"
ATTRS{device}=="0x161a", GOTO="configure_nvidia"
ATTRS{device}=="0x1667", GOTO="configure_nvidia"
ATTRS{device}=="0x174d", GOTO="configure_nvidia"
ATTRS{device}=="0x174e", GOTO="configure_nvidia"
ATTRS{device}=="0x179c", GOTO="configure_nvidia"
ATTRS{device}=="0x17c2", GOTO="configure_nvidia"
ATTRS{device}=="0x17c8", GOTO="configure_nvidia"
ATTRS{device}=="0x17f0", GOTO="configure_nvidia"
ATTRS{device}=="0x17f1", GOTO="configure_nvidia"
ATTRS{device}=="0x17fd", GOTO="configure_nvidia"
ATTRS{device}=="0x1b00", GOTO="configure_nvidia"
ATTRS{device}=="0x1b02", GOTO="configure_nvidia"
ATTRS{device}=="0x1b06", GOTO="configure_nvidia"
ATTRS{device}=="0x1b30", GOTO="configure_nvidia"
ATTRS{device}=="0x1b38", GOTO="configure_nvidia"
ATTRS{device}=="0x1b80", GOTO="configure_nvidia"
ATTRS{device}=="0x1b81", GOTO="configure_nvidia"
ATTRS{device}=="0x1b82", GOTO="configure_nvidia"
ATTRS{device}=="0x1b83", GOTO="configure_nvidia"
ATTRS{device}=="0x1b84", GOTO="configure_nvidia"
ATTRS{device}=="0x1b87", GOTO="configure_nvidia"
ATTRS{device}=="0x1ba0", GOTO="configure_nvidia"
ATTRS{device}=="0x1ba1", GOTO="configure_nvidia"
ATTRS{device}=="0x1ba2", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb0", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb1", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb3", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb4", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb5", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb6", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb7", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb8", GOTO="configure_nvidia"
ATTRS{device}=="0x1bb9", GOTO="configure_nvidia"
ATTRS{device}=="0x1bbb", GOTO="configure_nvidia"
ATTRS{device}=="0x1bc7", GOTO="configure_nvidia"
ATTRS{device}=="0x1be0", GOTO="configure_nvidia"
ATTRS{device}=="0x1be1", GOTO="configure_nvidia"
ATTRS{device}=="0x1c02", GOTO="configure_nvidia"
ATTRS{device}=="0x1c03", GOTO="configure_nvidia"
ATTRS{device}=="0x1c04", GOTO="configure_nvidia"
ATTRS{device}=="0x1c06", GOTO="configure_nvidia"
ATTRS{device}=="0x1c07", GOTO="configure_nvidia"
ATTRS{device}=="0x1c09", GOTO="configure_nvidia"
ATTRS{device}=="0x1c20", GOTO="configure_nvidia"
ATTRS{device}=="0x1c21", GOTO="configure_nvidia"
ATTRS{device}=="0x1c22", GOTO="configure_nvidia"
ATTRS{device}=="0x1c23", GOTO="configure_nvidia"
ATTRS{device}=="0x1c30", GOTO="configure_nvidia"
ATTRS{device}=="0x1c31", GOTO="configure_nvidia"
ATTRS{device}=="0x1c60", GOTO="configure_nvidia"
ATTRS{device}=="0x1c61", GOTO="configure_nvidia"
ATTRS{device}=="0x1c62", GOTO="configure_nvidia"
ATTRS{device}=="0x1c81", GOTO="configure_nvidia"
ATTRS{device}=="0x1c82", GOTO="configure_nvidia"
ATTRS{device}=="0x1c83", GOTO="configure_nvidia"
ATTRS{device}=="0x1c8c", GOTO="configure_nvidia"
ATTRS{device}=="0x1c8d", GOTO="configure_nvidia"
ATTRS{device}=="0x1c8f", GOTO="configure_nvidia"
ATTRS{device}=="0x1c90", GOTO="configure_nvidia"
ATTRS{device}=="0x1c91", GOTO="configure_nvidia"
ATTRS{device}=="0x1c92", GOTO="configure_nvidia"
ATTRS{device}=="0x1cb1", GOTO="configure_nvidia"
ATTRS{device}=="0x1cb2", GOTO="configure_nvidia"
ATTRS{device}=="0x1cb3", GOTO="configure_nvidia"
ATTRS{device}=="0x1cb6", GOTO="configure_nvidia"
ATTRS{device}=="0x1cba", GOTO="configure_nvidia"
ATTRS{device}=="0x1cbb", GOTO="configure_nvidia"
ATTRS{device}=="0x1cbc", GOTO="configure_nvidia"
ATTRS{device}=="0x1cbd", GOTO="configure_nvidia"
ATTRS{device}=="0x1d01", GOTO="configure_nvidia"
ATTRS{device}=="0x1d10", GOTO="configure_nvidia"
ATTRS{device}=="0x1d11", GOTO="configure_nvidia"
ATTRS{device}=="0x1d12", GOTO="configure_nvidia"
ATTRS{device}=="0x1d13", GOTO="configure_nvidia"
ATTRS{device}=="0x1d33", GOTO="configure_nvidia"
ATTRS{device}=="0x1d34", GOTO="configure_nvidia"
ATTRS{device}=="0x1d52", GOTO="configure_nvidia"
ATTRS{device}=="0x1d81", GOTO="configure_nvidia"
ATTRS{device}=="0x1db1", GOTO="configure_nvidia"
ATTRS{device}=="0x1db3", GOTO="configure_nvidia"
ATTRS{device}=="0x1db4", GOTO="configure_nvidia"
ATTRS{device}=="0x1db5", GOTO="configure_nvidia"
ATTRS{device}=="0x1db6", GOTO="configure_nvidia"
ATTRS{device}=="0x1db7", GOTO="configure_nvidia"
ATTRS{device}=="0x1db8", GOTO="configure_nvidia"
ATTRS{device}=="0x1dba", GOTO="configure_nvidia"
ATTRS{device}=="0x1df5", GOTO="configure_nvidia"
ATTRS{device}=="0x1e02", GOTO="configure_nvidia"
ATTRS{device}=="0x1e04", GOTO="configure_nvidia"
ATTRS{device}=="0x1e07", GOTO="configure_nvidia"
ATTRS{device}=="0x1e30", GOTO="configure_nvidia"
ATTRS{device}=="0x1e82", GOTO="configure_nvidia"
ATTRS{device}=="0x1e87", GOTO="configure_nvidia"
ATTRS{device}=="0x1e90", GOTO="configure_nvidia"
ATTRS{device}=="0x1eb0", GOTO="configure_nvidia"
ATTRS{device}=="0x1eb1", GOTO="configure_nvidia"
ATTRS{device}=="0x1eb5", GOTO="configure_nvidia"
ATTRS{device}=="0x1eb6", GOTO="configure_nvidia"
ATTRS{device}=="0x1eb8", GOTO="configure_nvidia"
ATTRS{device}=="0x1ed0", GOTO="configure_nvidia"
ATTRS{device}=="0x1f02", GOTO="configure_nvidia"
ATTRS{device}=="0x1f07", GOTO="configure_nvidia"
ATTRS{device}=="0x1f08", GOTO="configure_nvidia"
ATTRS{device}=="0x1f10", GOTO="configure_nvidia"
ATTRS{device}=="0x1f11", GOTO="configure_nvidia"
ATTRS{device}=="0x1f36", GOTO="configure_nvidia"
ATTRS{device}=="0x1f50", GOTO="configure_nvidia"
ATTRS{device}=="0x1f51", GOTO="configure_nvidia"
ATTRS{device}=="0x1f82", GOTO="configure_nvidia"
ATTRS{device}=="0x1f91", GOTO="configure_nvidia"
ATTRS{device}=="0x1fb8", GOTO="configure_nvidia"
ATTRS{device}=="0x1fb9", GOTO="configure_nvidia"
ATTRS{device}=="0x2182", GOTO="configure_nvidia"
ATTRS{device}=="0x2184", GOTO="configure_nvidia"
ATTRS{device}=="0x2191", GOTO="configure_nvidia"
ATTRS{device}=="0x21d1", GOTO="configure_nvidia"
GOTO="configure_nvidia-legacy"

LABEL="configure_nvidia"
ENV{xorg_driver}="nvidia", TAG+="systemd", ENV{SYSTEMD_WANTS}+="xorg-configure@nvidia.service"
GOTO="end_video"

LABEL="configure_nvidia-legacy"
ENV{xorg_driver}="nvidia", TAG+="systemd", ENV{SYSTEMD_WANTS}+="xorg-configure@nvidia-legacy.service"
GOTO="end_video"

LABEL="end_video"
