search for: xlated_entry

Displaying 3 results from an estimated 3 matches for "xlated_entry".

2009 Aug 20
1
Delays in DRM nouveau_bios.c
...ic int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_entr run_digital_op_script(dev, scriptofs, dcbent, head, bios->fp.dual_link); - if (script == LVDS_PANEL_OFF) + if (script == LVDS_PANEL_OFF) { /* off-on delay in ms */ - BIOS_USLEEP(ROM16(bios->data[bios->fp.xlated_entry + 7])); + bios_usleep(ROM16(bios->data[bios->fp.xlated_entry + 7])); + } + #ifdef __powerpc__ /* Powerbook specific quirks */ if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 || (dev->pci_device & 0xffff) == 0x0329))
2020 Nov 24
1
[PATCH 09/15] drm/nouveau: Remove references to struct drm_device.pdev
...t; --- a/drivers/gpu/drm/nouveau/nouveau_bios.c > +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c > @@ -110,6 +110,9 @@ static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_outp > struct nvbios *bios = &drm->vbios; > uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0); > uint16_t scriptofs = ROM16(bios->data[bios->init_script_tbls_ptr + sub * 2]); > +#ifdef __powerpc__ > + struct pci_dev *pdev = to_pci_dev(dev->dev); > +#endif Or int device = 0;...
2009 Oct 02
0
Disaster at annarchy
...ptofs, dcbent, head, > >> > bios->fp.dual_link); > >> > - if (script == LVDS_PANEL_OFF) > >> > + if (script == LVDS_PANEL_OFF) { > >> > /* off-on delay in ms */ > >> > - > >> > BIOS_USLEEP(ROM16(bios->data[bios->fp.xlated_entry + 7])); > >> > + > >> > bios_usleep(ROM16(bios->data[bios->fp.xlated_entry + 7])); > >> > + } > > > > The comment and code disagree here. Is it microseconds or > > milliseconds? > > Should be milliseconds, code bug. > > Rega...