Displaying 4 results from an estimated 4 matches for "scriptofs".
2020 Nov 24
1
[PATCH 09/15] drm/nouveau: Remove references to struct drm_device.pdev
...atic 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;
>
> if (!bios->fp.xlated_entry || !sub || !scriptofs)
> return -EINVAL;
> @@ -123,8 +126,8 @@ stati...
2008 Feb 21
27
[Bug 14597] New: randr12 failures on 12" powerbooks, and workarounds
http://bugs.freedesktop.org/show_bug.cgi?id=14597
Summary: randr12 failures on 12" powerbooks, and workarounds
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
2009 Aug 20
1
Delays in DRM nouveau_bios.c
...*iexec)
BIOSLOG(bios, "0x%04X: Sleeping for 0x%04X microseconds\n",
offset, time);
- BIOS_USLEEP(time);
-
+ bios_usleep(time);
return true;
}
@@ -2872,9 +2879,11 @@ static 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__...
2009 Oct 02
0
Disaster at annarchy
...greater values is acceptable
>
> >> > return true;
> >> > }
> >> >
> >> > @@ -2872,9 +2879,11 @@ static 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.xlate...