Displaying 9 results from an estimated 9 matches for "pciinfo".
Did you mean:
pci_info
2008 Dec 12
0
[PATCH 1/1] COM32: lua - add pci library
Back again,
the included patch adds pci functions from com32/modules/pcitest.c to lua.
Example:
-- get device info
pciinfo = pci.getinfo()
-- get plain text device description
pciids = pci.getidlist("/pci.ids")
-- list all pci busses
for bind,businfo in pairs(pciinfo) do
print("Bus: " .. bind .. " Devices:")
-- list all devices on bus
for dind,device in pairs(businfo) do
--...
2008 Mar 19
0
[ANNOUNCE] xf86-video-sis 0.10.0
...atch
fix warnings in build
fix thinko between open/fopen
another open/fopen confusion
fixup type punning
convert all hostbridge read/writes to accessor functions
finish off read/write long conversion
switch bios reading over
use map domain memory with pciinfo
fixup unmap memory
fix some thinkos in the pciaccess patch, this now works on real hardware
Julien Cristau (2):
Require pciaccess >= 0.10.0 for pci_device_map_range()
fixup pciaccess version detect
Matthieu Herrb (1):
Makefile.am: nuke RCS Id
Pete Zaitcev (1):...
2013 Jun 06
0
[PATCH 2/2] nouveau: add libbacklight and randr property support.
...onnector(drmmode_output->mode_output);
free(drmmode_output);
output->driver_private = NULL;
@@ -868,6 +887,27 @@ drmmode_output_create_resources(xf86OutputPtr output)
}
}
}
+
+#ifdef HAVE_LIBBACKLIGHT
+ {
+ NVPtr pNv = NVPTR(output->scrn);
+ struct pci_device *dev = pNv->PciInfo;
+
+ drmmode_output->backlight = backlight_init(dev, 0, mode_output->connector_type,
+ mode_output->connector_type_id);
+
+ if (drmmode_output->backlight) {
+ drmmode_output->backlight_max = backlight_get_max_brightness(drmmode_output->backlight);
+ drmmode_output->...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...n);
free(pScrn->driverPrivate);
@@ -560,22 +648,29 @@ NVPreInitDRM(ScrnInfoPtr pScrn)
NVPtr pNv = NVPTR(pScrn);
char *bus_id;
int ret;
+ int drm_fd;
if (!NVDRIGetVersion(pScrn))
return FALSE;
- /* Load the kernel module, and open the DRM */
- bus_id = DRICreatePCIBusID(pNv->PciInfo);
- ret = DRIOpenDRMMaster(pScrn, SAREA_MAX, bus_id, "nouveau");
- free(bus_id);
- if (!ret) {
- xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "[drm] error opening the drm\n");
- return FALSE;
+ if (pNv->xwl_screen)
+ drm_fd = xwl_screen_get_drm_fd(pNv->xwl_screen);
+...
2013 Jun 06
1
[PATCH 1/2] nouveau/mode: split out create_ranged_atom
From: Dave Airlie <airlied at redhat.com>
This is preperation for the backlight support code.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/drmmode_display.c | 54 ++++++++++++++++++++++++++++++++-------------------
1 file changed, 34 insertions(+), 20 deletions(-)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 6033a6d..ad7bc1f 100644
---
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...;
char *bus_id;
int ret;
+ int drm_fd;
if (!NVDRIGetVersion(pScrn))
return FALSE;
+#ifdef XORG_WAYLAND
+ if (pNv->xwl_screen)
+ drm_fd = xwl_screen_get_drm_fd(pNv->xwl_screen);
+ else {
+#endif
/* Load the kernel module, and open the DRM */
bus_id = DRICreatePCIBusID(pNv->PciInfo);
ret = DRIOpenDRMMaster(pScrn, SAREA_MAX, bus_id, "nouveau");
@@ -582,8 +696,13 @@ NVPreInitDRM(ScrnInfoPtr pScrn)
return FALSE;
}
+ drm_fd = DRIMasterFD(pScrn);
+#ifdef XORG_WAYLAND
+ }
+#endif
+
/* Initialise libdrm_nouveau */
- ret = nouveau_device_wrap(DRIMasterFD(pScrn),...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...rtc)
+ if (!xorgMir && XF86_CRTC_CONFIG_PTR(pScrn)->num_crtc)
drmmode_screen_fini(pScreen);
if (!pNv->NoAccel)
@@ -688,7 +808,7 @@ static Bool NVOpenDRMMaster(ScrnInfoPtr pScrn)
NVPtr pNv = NVPTR(pScrn);
NVEntPtr pNVEnt = NVEntPriv(pScrn);
struct pci_device *dev = pNv->PciInfo;
- char *busid;
+ char *busid = NULL;
drmSetVersion sv;
int err;
int ret;
@@ -712,8 +832,11 @@ static Bool NVOpenDRMMaster(ScrnInfoPtr pScrn)
busid = XNFprintf("pci:%04x:%02x:%02x.%d",
dev->domain, dev->bus, dev->dev, dev->func);
#endif
+ if (!xorgMir)
+ ret =...
2007 Mar 27
0
[ANNOUNCE] xf86-video-ati-6.6.191
...ing for TV_OUT.
Drop checking of sparse I/O bases conflicts
Sane probe, based on work by Luc Verhaegen <libv@skynet.be>.
Add option "probe_sparse" to force probing sparse I/O bases.
Drop pATI->Chipset, no longer used.
Cleanup checks for pATI->PCIInfo.
Minor refactoring of pATI->Block0Base computation.
Drop non-PCI support from atividmem.c
Consolidate atiaccel.c w/ atimach64accel.c, part 1.
Consolidate atiaccel.c w/ atimach64accel.c, part 2.
Consolidate aticursor.c w/ atimach64cursor.c
Consolidate ati...
2007 Aug 23
0
[ANNOUNCE] xf86-video-ati 6.7.191
...ading for TV_OUT.
Drop checking of sparse I/O bases conflicts
Sane probe, based on work by Luc Verhaegen <libv at skynet.be>.
Add option "probe_sparse" to force probing sparse I/O bases.
Drop pATI->Chipset, no longer used.
Cleanup checks for pATI->PCIInfo.
Minor refactoring of pATI->Block0Base computation.
Drop non-PCI support from atividmem.c
Consolidate atiaccel.c w/ atimach64accel.c, part 1.
Consolidate atiaccel.c w/ atimach64accel.c, part 2.
Consolidate aticursor.c w/ atimach64cursor.c
Consolidate atixv.c w...