Lines Matching refs:drm

98 	struct nouveau_drm *drm = nouveau_drm(dev);  in run_digital_op_script()  local
100 NV_INFO(drm, "0x%04X: Parsing digital output script table\n", in run_digital_op_script()
111 struct nouveau_drm *drm = nouveau_drm(dev); in call_lvds_manufacturer_script() local
112 struct nvbios *bios = &drm->vbios; in call_lvds_manufacturer_script()
148 struct nouveau_drm *drm = nouveau_drm(dev); in run_lvds_table() local
149 struct nvbios *bios = &drm->vbios; in run_lvds_table()
194 NV_ERROR(drm, "Pixel clock comparison table not found\n"); in run_lvds_table()
201 NV_ERROR(drm, "LVDS output init script not found\n"); in run_lvds_table()
217 struct nouveau_drm *drm = nouveau_drm(dev); in call_lvds_script() local
218 struct nvif_object *device = &drm->device.object; in call_lvds_script()
219 struct nvbios *bios = &drm->vbios; in call_lvds_script()
238 NV_INFO(drm, "Calling LVDS script %d:\n", script); in call_lvds_script()
271 struct nouveau_drm *drm = nouveau_drm(dev); in parse_lvds_manufacturer_table_header() local
277 NV_ERROR(drm, "Pointer to LVDS manufacturer table invalid\n"); in parse_lvds_manufacturer_table_header()
291 NV_ERROR(drm, "LVDS table header not understood\n"); in parse_lvds_manufacturer_table_header()
299 NV_ERROR(drm, "LVDS table header not understood\n"); in parse_lvds_manufacturer_table_header()
305 NV_ERROR(drm, in parse_lvds_manufacturer_table_header()
321 struct nouveau_drm *drm = nouveau_drm(dev); in get_fp_strap() local
322 struct nvif_object *device = &drm->device.object; in get_fp_strap()
336 if (drm->device.info.family >= NV_DEVICE_INFO_V0_TESLA) in get_fp_strap()
344 struct nouveau_drm *drm = nouveau_drm(dev); in parse_fp_mode_table() local
354 NV_ERROR(drm, "Pointer to flat panel table invalid\n"); in parse_fp_mode_table()
393 NV_ERROR(drm, in parse_fp_mode_table()
412 NV_ERROR(drm, "Pointer to flat panel xlat table invalid\n"); in parse_fp_mode_table()
422 NV_ERROR(drm, "Bad flat panel table index\n"); in parse_fp_mode_table()
441 NV_INFO(drm, "BIOS FP mode: %dx%d (%dkHz pixel clock)\n", in parse_fp_mode_table()
451 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_fp_mode() local
452 struct nvbios *bios = &drm->vbios; in nouveau_bios_fp_mode()
522 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_parse_lvds_table() local
523 struct nvbios *bios = &drm->vbios; in nouveau_bios_parse_lvds_table()
584 NV_ERROR(drm, "LVDS table revision not currently supported\n"); in nouveau_bios_parse_lvds_table()
637 struct nouveau_drm *drm = nouveau_drm(dev); in run_tmds_table() local
638 struct nvif_object *device = &drm->device.object; in run_tmds_table()
639 struct nvbios *bios = &drm->vbios; in run_tmds_table()
660 NV_ERROR(drm, "Pixel clock comparison table not found\n"); in run_tmds_table()
667 NV_ERROR(drm, "TMDS output init script not found\n"); in run_tmds_table()
705 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bit_A_tbl_entry() local
710 NV_ERROR(drm, "Do not understand BIT A table\n"); in parse_bit_A_tbl_entry()
717 NV_DEBUG(drm, "Pointer to BIT loadval table invalid\n"); in parse_bit_A_tbl_entry()
724 NV_ERROR(drm, "BIT loadval table version %d.%d not supported\n", in parse_bit_A_tbl_entry()
734 NV_ERROR(drm, "Do not understand BIT loadval table\n"); in parse_bit_A_tbl_entry()
754 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bit_display_tbl_entry() local
757 NV_ERROR(drm, "Do not understand BIT display table\n"); in parse_bit_display_tbl_entry()
773 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bit_init_tbl_entry() local
776 NV_ERROR(drm, "Do not understand init table\n"); in parse_bit_init_tbl_entry()
797 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bit_i_tbl_entry() local
802 NV_ERROR(drm, "BIT i table too short for needed information\n"); in parse_bit_i_tbl_entry()
814 NV_WARN(drm, "BIT i table not long enough for DAC load " in parse_bit_i_tbl_entry()
835 NV_WARN(drm, "DAC load detection comparison table version " in parse_bit_i_tbl_entry()
855 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bit_lvds_tbl_entry() local
858 NV_ERROR(drm, "Do not understand BIT LVDS table\n"); in parse_bit_lvds_tbl_entry()
928 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bit_tmds_tbl_entry() local
932 NV_ERROR(drm, "Do not understand BIT TMDS table\n"); in parse_bit_tmds_tbl_entry()
938 NV_ERROR(drm, "Pointer to TMDS table invalid\n"); in parse_bit_tmds_tbl_entry()
942 NV_INFO(drm, "TMDS table version %d.%d\n", in parse_bit_tmds_tbl_entry()
956 NV_WARN(drm, "TMDS table script pointers not stubbed\n"); in parse_bit_tmds_tbl_entry()
974 struct nouveau_drm *drm = nouveau_drm(dev); in bit_table() local
975 struct nvbios *bios = &drm->vbios; in bit_table()
1004 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bit_table() local
1010 NV_INFO(drm, "BIT table '%c' not found\n", table->id); in parse_bit_table()
1086 struct nouveau_drm *drm = nouveau_drm(dev); in parse_bmp_structure() local
1100 NV_INFO(drm, "BMP version %d.%d\n", in parse_bmp_structure()
1116 NV_ERROR(drm, "You have an unsupported BMP version. " in parse_bmp_structure()
1165 NV_ERROR(drm, "Bad BMP checksum\n"); in parse_bmp_structure()
1252 struct nouveau_drm *drm = nouveau_drm(dev); in olddcb_table() local
1255 if (drm->device.info.family > NV_DEVICE_INFO_V0_TNT) in olddcb_table()
1256 dcb = ROMPTR(dev, drm->vbios.data[0x36]); in olddcb_table()
1258 NV_WARN(drm, "No DCB data found in VBIOS\n"); in olddcb_table()
1263 NV_WARN(drm, "DCB version 0x%02x unknown\n", dcb[0]); in olddcb_table()
1295 NV_WARN(drm, "No useful DCB data in VBIOS\n"); in olddcb_table()
1299 NV_WARN(drm, "DCB header validation failed\n"); in olddcb_table()
1400 struct nouveau_drm *drm = nouveau_drm(dev); in parse_dcb20_entry() local
1457 NV_ERROR(drm, "Unknown LVDS configuration bits, " in parse_dcb20_entry()
1542 struct nouveau_drm *drm = nouveau_drm(dev); in parse_dcb15_entry() local
1562 NV_ERROR(drm, "Unknown DCB type %d\n", conn & 0x0000000f); in parse_dcb15_entry()
1601 struct nouveau_drm *drm = nouveau_drm(dev); in merge_like_dcb_entries() local
1619 NV_INFO(drm, "Merging DCB entries %d and %d\n", in merge_like_dcb_entries()
1645 struct nouveau_drm *drm = nouveau_drm(dev); in apply_dcb_encoder_quirks() local
1646 struct dcb_table *dcb = &drm->vbios.dcb; in apply_dcb_encoder_quirks()
1783 struct nouveau_drm *drm = nouveau_drm(dev); in parse_dcb_entry() local
1784 struct dcb_table *dcb = &drm->vbios.dcb; in parse_dcb_entry()
1792 NV_INFO(drm, "DCB outp %02d: %08x %08x\n", idx, conn, conf); in parse_dcb_entry()
1862 struct nouveau_drm *drm = nouveau_drm(dev); in parse_dcb_table() local
1878 NV_INFO(drm, "DCB version %d.%d\n", dcbt[0] >> 4, dcbt[0] & 0xf); in parse_dcb_table()
1895 NV_INFO(drm, "DCB conn %02d: %04x\n", in parse_dcb_table()
1898 NV_INFO(drm, "DCB conn %02d: %08x\n", in parse_dcb_table()
1917 struct nouveau_drm *drm = nouveau_drm(dev); in load_nv17_hwsq_ucode_entry() local
1918 struct nvif_object *device = &drm->device.object; in load_nv17_hwsq_ucode_entry()
1924 NV_ERROR(drm, "Too few entries in HW sequencer table for " in load_nv17_hwsq_ucode_entry()
1932 NV_ERROR(drm, "Unknown HW sequencer entry size\n"); in load_nv17_hwsq_ucode_entry()
1936 NV_INFO(drm, "Loading NV17 power sequencing microcode\n"); in load_nv17_hwsq_ucode_entry()
1980 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_embedded_edid() local
1981 struct nvbios *bios = &drm->vbios; in nouveau_bios_embedded_edid()
2004 NV_INFO(drm, "Found EDID in BIOS\n"); in nouveau_bios_embedded_edid()
2011 struct nouveau_drm *drm = nouveau_drm(dev); in NVInitVBIOS() local
2012 struct nvkm_bios *bios = nvxx_bios(&drm->device); in NVInitVBIOS()
2013 struct nvbios *legacy = &drm->vbios; in NVInitVBIOS()
2040 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_run_vbios_init() local
2041 struct nvbios *bios = &drm->vbios; in nouveau_run_vbios_init()
2061 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_posted() local
2064 if (drm->device.info.family >= NV_DEVICE_INFO_V0_TESLA) in nouveau_bios_posted()
2078 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_init() local
2079 struct nvbios *bios = &drm->vbios; in nouveau_bios_init()
2101 NV_INFO(drm, "Adaptor not initialised, " in nouveau_bios_init()