Lines Matching refs:devid
37 static uint32_t devid; variable
242 int max_planes = skl_max_planes(devid); in skl_wm_dump()
255 int num_planes = skl_num_planes(devid, pipe); in skl_wm_dump()
265 if (plane != 0 && intel_gen(devid) < 11) in skl_wm_dump()
285 if (plane >= skl_num_planes(devid, pipe)) in skl_wm_dump()
299 if (plane >= skl_num_planes(devid, pipe)) in skl_wm_dump()
313 if (plane >= skl_num_planes(devid, pipe)) in skl_wm_dump()
326 if (plane >= skl_num_planes(devid, pipe)) in skl_wm_dump()
335 if (intel_gen(devid) >= 11) in skl_wm_dump()
342 if (plane >= skl_num_planes(devid, pipe)) in skl_wm_dump()
357 int num_planes = skl_num_planes(devid, pipe); in skl_wm_dump()
428 if (intel_gen(devid) < 11) { in skl_wm_dump()
469 int num_pipes = intel_gen(devid) >= 7 ? 3 : 2; in ilk_wm_dump()
476 if (intel_gen(devid) >= 7) in ilk_wm_dump()
487 if (IS_BROADWELL(devid) || IS_HASWELL(devid)) { in ilk_wm_dump()
498 if (intel_gen(devid) >= 7) { in ilk_wm_dump()
505 if (IS_BROADWELL(devid) || IS_HASWELL(devid)) in ilk_wm_dump()
512 if (IS_BROADWELL(devid) || IS_HASWELL(devid)) { in ilk_wm_dump()
520 if (intel_gen(devid) >= 7) { in ilk_wm_dump()
526 if (IS_BROADWELL(devid) || IS_HASWELL(devid)) in ilk_wm_dump()
534 if (IS_BROADWELL(devid) || IS_HASWELL(devid)) { in ilk_wm_dump()
541 if (!IS_GEN5(devid)) in ilk_wm_dump()
549 if (IS_BROADWELL(devid)) in ilk_wm_dump()
556 if (i == 0 || intel_gen(devid) >= 7) { in ilk_wm_dump()
557 if (intel_gen(devid) < 7) in ilk_wm_dump()
567 if (IS_BROADWELL(devid) || IS_HASWELL(devid)) { in ilk_wm_dump()
575 if (intel_gen(devid) >= 7) { in ilk_wm_dump()
596 if (!IS_GEN5(devid)) in ilk_wm_dump()
600 if (IS_BROADWELL(devid) || IS_HASWELL(devid)) { in ilk_wm_dump()
603 } else if (intel_gen(devid) >= 7) { in ilk_wm_dump()
614 unsigned int num_pipes = IS_CHERRYVIEW(devid) ? 3 : 2; in vlv_wm_dump()
644 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
668 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
676 if (IS_CHERRYVIEW(devid)) in vlv_wm_dump()
680 if (IS_CHERRYVIEW(devid)) in vlv_wm_dump()
685 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
701 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
718 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
758 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
790 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
816 if (IS_CHERRYVIEW(devid)) { in vlv_wm_dump()
917 int totalsize = IS_CRESTLINE(devid) ? 128 : 96; in gen4_wm_dump()
1077 int totalsize = IS_945GM(devid) ? 128 : 96; /* FIXME? */ in gen3_wm_dump()
1127 if (devid == PCI_CHIP_I945_G || devid == PCI_CHIP_I945_GM || in gen3_wm_dump()
1128 devid == PCI_CHIP_I945_GME) { in gen3_wm_dump()
1131 } else if (devid == PCI_CHIP_I915_GM) { in gen3_wm_dump()
1179 if (devid == PCI_CHIP_845_G || devid == PCI_CHIP_I865_G) { in gen2_wm_dump()
1191 if (devid == PCI_CHIP_I830_M) in gen2_wm_dump()
1195 totalsize = (devid == PCI_CHIP_I855_GM) ? 256 : 288; in gen2_wm_dump()
1207 if (devid == PCI_CHIP_I855_GM || devid == PCI_CHIP_I854_G) { in gen2_wm_dump()
1229 devid = intel_get_pci_device()->device_id; in main()
1231 if (intel_gen(devid) >= 9) { in main()
1233 } else if (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid)) { in main()
1236 } else if (intel_gen(devid) >= 5) { in main()
1238 } else if (IS_G4X(devid)) { in main()
1240 } else if (IS_GEN4(devid)) { in main()
1242 } else if (IS_PINEVIEW(devid)) { in main()
1244 } else if (IS_GEN3(devid)) { in main()
1246 } else if (IS_GEN2(devid)) { in main()
1249 printf("unknown chip 0x%x\n", devid); in main()