Lines Matching refs:drm
48 struct nouveau_drm *drm = nouveau_drm(dev); in nv42_tv_sample_load() local
49 struct nvkm_gpio *gpio = nvxx_gpio(&drm->device); in nv42_tv_sample_load()
58 if (drm->vbios.tvdactestval) in nv42_tv_sample_load()
59 testval = drm->vbios.tvdactestval; in nv42_tv_sample_load()
132 struct nouveau_drm *drm = nouveau_drm(dev); in get_tv_detect_quirks() local
133 struct nvkm_device *device = nvxx_device(&drm->device); in get_tv_detect_quirks()
147 struct nouveau_drm *drm = nouveau_drm(dev); in nv17_tv_detect() local
157 if (drm->device.info.chipset == 0x42 || in nv17_tv_detect()
158 drm->device.info.chipset == 0x43) in nv17_tv_detect()
192 NV_INFO(drm, "Load detected on output %c\n", in nv17_tv_detect()
364 struct nouveau_drm *drm = nouveau_drm(dev); in nv17_tv_dpms() local
365 struct nvkm_gpio *gpio = nvxx_gpio(&drm->device); in nv17_tv_dpms()
373 NV_INFO(drm, "Setting dpms mode %d on TV encoder (output %d)\n", in nv17_tv_dpms()
399 struct nouveau_drm *drm = nouveau_drm(dev); in nv17_tv_prepare() local
426 drm->vbios.fp.dual_link); in nv17_tv_prepare()
438 if (drm->device.info.family == NV_DEVICE_INFO_V0_CURIE) in nv17_tv_prepare()
462 struct nouveau_drm *drm = nouveau_drm(dev); in nv17_tv_mode_set() local
495 if (drm->device.info.family >= NV_DEVICE_INFO_V0_RANKINE) { in nv17_tv_mode_set()
575 struct nouveau_drm *drm = nouveau_drm(dev); in nv17_tv_commit() local
590 if (drm->device.info.chipset < 0x44) in nv17_tv_commit()
601 NV_INFO(drm, "Output %s is running on CRTC %d using output %c\n", in nv17_tv_commit()
638 struct nouveau_drm *drm = nouveau_drm(dev); in nv17_tv_create_resources() local
655 NV_WARN(drm, "Invalid TV norm setting \"%s\"\n", in nv17_tv_create_resources()