Displaying 10 results from an estimated 10 matches for "dricreatepcibusid".
2010 May 23
1
[PATCH] nv: improve KMS detection
1) DRICreatePCIBusID belongs to xserver dri module, so when it's
unavailable we can't format string for drmCheckModesettingSupported.
(This situation happened to me with KMS enabled and dri module moved
somewhere else by Gentoo's "eselect opengl set nvidia" switcher)
Open code DRICreat...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...- NULL,
+ nouveau_driver_func,
nouveau_device_match,
NVPciProbe
};
@@ -214,18 +234,46 @@ NVPciProbe(DriverPtr drv, int entity_num, struct pci_device *pci_dev,
drmVersion *version;
int chipset, ret;
char *busid;
+ struct xwl_screen *xwl_screen = NULL;
- if (!xf86LoaderCheckSymbol("DRICreatePCIBusID")) {
- xf86DrvMsg(-1, X_ERROR, "[drm] No DRICreatePCIBusID symbol\n");
- return FALSE;
- }
- busid = DRICreatePCIBusID(pci_dev);
-
- ret = nouveau_device_open(busid, &dev);
- if (ret) {
- xf86DrvMsg(-1, X_ERROR, "[drm] failed to open device\n");
- free(busid);
- re...
2012 Nov 01
5
[PATCH 0/4] nouveau: xserver 1.13 compat fixes
Here are a few patches adding some missing functions in
NvPlatformProbe, which iirc is being used as of xserver 1.13
First patch adds a nouveau_kernel_mode_enabled helper, similar
to xf86-video-radeon
Second and third use the function in Nv{Pci,Platform}Probe
And last one ensures we can still use ZaphodHead and relative
head positioning via xorg.conf
The coding style may be a bit off, despite my
2013 Feb 16
8
Bugfix + dri1 cleanup patches
...2 hard dependency
Patches 6-7: Assist people with first-time build of nouveau
Git complains about whitespace errors in patch 7, which for the sake
of me I cannot see
--
[PATCH 1/7] nouveau: Check if the device supports modesetting, after
opening it
[PATCH 2/7] nouveau: stop using dri1 function DRICreatePCIBusID
[PATCH 3/7] nouveau: Do not load dri {sub,}module
[PATCH 4/7] dri1: purge the final references
[PATCH 5/7] nouveau: mandate dri2 build
[PATCH 6/7] configure: require xorg-macros 1.8
[PATCH 7/7] configure: printout the configuration info
--
configure.ac | 33 +++++++++++++++++++++++++++++++...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...urn FALSE;
+ }
+ ret = nouveau_device_wrap(xwl_screen_get_drm_fd(xwl_screen), 0, &dev);
+ if (ret) {
+ xwl_screen_destroy(xwl_screen);
+ xf86DrvMsg(-1, X_ERROR, "[drm] Failed to create drm device.\n");
+ return FALSE;
+ }
+ } else {
+#endif
if (!xf86LoaderCheckSymbol("DRICreatePCIBusID")) {
xf86DrvMsg(-1, X_ERROR, "[drm] No DRICreatePCIBusID symbol\n");
return FALSE;
@@ -229,6 +276,17 @@ NVPciProbe(DriverPtr drv, int entity_num, struct pci_device *pci_dev,
return FALSE;
}
+ ret = drmCheckModesettingSupported(busid);
+ if (ret) {
+ xf86DrvMsg(-1, X_ERR...
2010 May 23
1
[PATCH] nouveau: detect incompatible libglx.so
...ciProbe(DriverPtr drv, int entity_num, struct pci_device *pci_dev,
intptr_t match_data)
@@ -209,6 +241,9 @@ NVPciProbe(DriverPtr drv, int entity_num, struct pci_device *pci_dev,
int chipset, ret;
char *busid;
+ if (!glxIsCompatible())
+ return FALSE;
+
if (!xf86LoaderCheckSymbol("DRICreatePCIBusID")) {
xf86DrvMsg(-1, X_ERROR, "[drm] No DRICreatePCIBusID symbol\n");
return FALSE;
--
1.7.1
2013 Jun 12
0
[ANNOUNCE] xf86-video-nouveau 1.0.8
...e0: envyas isn't overly clever.. avoid short-form instructions
Dave Airlie (2):
nouveau: attempt to fix zaphod since dri1 code removal
nouveau: clean up nv entity index declarations.
Emil Velikov (6):
configure: require xorg-macros 1.8
nouveau: stop using dri1 function DRICreatePCIBusID
nouveau: Do not load dri {sub,}module
dri1: purge the final references
nouveau: mandate dri2 build
configure: printout the configuration info
Ilia Mirkin (1):
nouveau_xv: Avoid reading off the end of the source image on NV50+
Maarten Lankhorst (4):
nouveau: ena...
2013 Jun 12
0
[ANNOUNCE] xf86-video-nouveau 1.0.8
...e0: envyas isn't overly clever.. avoid short-form instructions
Dave Airlie (2):
nouveau: attempt to fix zaphod since dri1 code removal
nouveau: clean up nv entity index declarations.
Emil Velikov (6):
configure: require xorg-macros 1.8
nouveau: stop using dri1 function DRICreatePCIBusID
nouveau: Do not load dri {sub,}module
dri1: purge the final references
nouveau: mandate dri2 build
configure: printout the configuration info
Ilia Mirkin (1):
nouveau_xv: Avoid reading off the end of the source image on NV50+
Maarten Lankhorst (4):
nouveau: ena...
2017 Sep 08
0
[ANNOUNCE] xf86-video-ati 7.10.0
...rrection to HW cursor
Pass pixmap instead of handle to radeon_do_pageflip
Use reference counting for tracking KMS framebuffer lifetimes
Simplify tracking of PRIME scanout pixmap
Remove unused struct members from drmmode_display.h
Update URLs
Include xf86Pci.h for DRICreatePCIBusID with xserver Git master
Only call drmmode_scanout_free for non-GPU screens in LeaveVT
Increase reference count of FB assigned to drmmode_crtc->flip_pending
Improve drmmode_fb_reference debugging code
Use pRADEONEnt->fd exclusively for the DRM file descriptor
Use...
2018 Feb 28
0
[ANNOUNCE] xserver 1.20 RC1
...misprite: Remove some dead cache variables
misprite: Clean up some preprocessor abuse
modesetting: Validate the atom for enum properties
include: Remove some unused macros
dix: Remove extension aliases
xfree86: Remove unused xf86EnableVTSwitch
xfree86: Move DRICreatePCIBusID to the PCI code
dmx: Silence an unused-result warning
dmx: Remove some not-very-interesting debug prints
glx: Remove __glXReply
glx: Remove some indirection around EXT_texture_from_pixmap
glx/dri2: Don't chirp when falling back to software
glx/drisw: Remove u...