Lines Matching refs:drm
87 struct nouveau_drm *drm = nouveau_drm(dev); in NVSetOwner() local
92 if (drm->device.info.chipset == 0x11) { in NVSetOwner()
103 if (drm->device.info.chipset == 0x11) { /* set me harder */ in NVSetOwner()
135 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_decode_pll() local
152 else if (drm->device.info.chipset == 0x30 || drm->device.info.chipset == 0x35) { in nouveau_hw_decode_pll()
167 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_get_pllvals() local
168 struct nvif_device *device = &drm->device; in nouveau_hw_get_pllvals()
187 if (drm->device.info.family == NV_DEVICE_INFO_V0_CELSIUS && reg1 >= NV_PRAMDAC_VPLL_COEFF) { in nouveau_hw_get_pllvals()
254 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_fix_bad_vpll() local
255 struct nvif_device *device = &drm->device; in nouveau_hw_fix_bad_vpll()
271 NV_WARN(drm, "VPLL %d outwith limits, attempting to fix\n", head + 1); in nouveau_hw_fix_bad_vpll()
306 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_save_vga_fonts() local
322 NV_INFO(drm, "%sing VGA fonts\n", save ? "Sav" : "Restor"); in nouveau_hw_save_vga_fonts()
327 NV_ERROR(drm, "Failed to map VRAM, " in nouveau_hw_save_vga_fonts()
390 struct nouveau_drm *drm = nouveau_drm(dev); in nv_save_state_ramdac() local
394 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) in nv_save_state_ramdac()
401 if (drm->device.info.chipset == 0x11) in nv_save_state_ramdac()
408 if (drm->device.info.chipset >= 0x30) in nv_save_state_ramdac()
450 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) { in nv_save_state_ramdac()
465 struct nouveau_drm *drm = nouveau_drm(dev); in nv_load_state_ramdac() local
466 struct nvkm_clk *clk = nvxx_clk(&drm->device); in nv_load_state_ramdac()
471 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) in nv_load_state_ramdac()
478 if (drm->device.info.chipset == 0x11) in nv_load_state_ramdac()
485 if (drm->device.info.chipset >= 0x30) in nv_load_state_ramdac()
522 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) { in nv_load_state_ramdac()
587 struct nouveau_drm *drm = nouveau_drm(dev); in nv_save_state_ext() local
603 if (drm->device.info.family >= NV_DEVICE_INFO_V0_KELVIN) in nv_save_state_ext()
606 if (drm->device.info.family >= NV_DEVICE_INFO_V0_RANKINE) in nv_save_state_ext()
615 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { in nv_save_state_ext()
619 if (drm->device.info.family >= NV_DEVICE_INFO_V0_RANKINE) in nv_save_state_ext()
622 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) in nv_save_state_ext()
634 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { in nv_save_state_ext()
662 struct nouveau_drm *drm = nouveau_drm(dev); in nv_load_state_ext() local
663 struct nvif_device *device = &drm->device; in nv_load_state_ext()
669 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { in nv_load_state_ext()
691 if (drm->device.info.family >= NV_DEVICE_INFO_V0_RANKINE) in nv_load_state_ext()
694 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) { in nv_load_state_ext()
717 if (drm->device.info.family >= NV_DEVICE_INFO_V0_KELVIN) in nv_load_state_ext()
720 if (drm->device.info.family >= NV_DEVICE_INFO_V0_RANKINE) in nv_load_state_ext()
727 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) in nv_load_state_ext()
733 if (drm->device.info.family >= NV_DEVICE_INFO_V0_CELSIUS) { in nv_load_state_ext()
741 if (drm->device.info.family < NV_DEVICE_INFO_V0_KELVIN) { in nv_load_state_ext()
805 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_save_state() local
807 if (drm->device.info.chipset == 0x11) in nouveau_hw_save_state()