Displaying 10 results from an estimated 10 matches for "drmcheckmodesettingsupport".
Did you mean:
drmcheckmodesettingsupported
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 DRICreatePCIBusID to drop dri dependency.
2) Once we dropped dependency on dri module (which linked to libdrm),
we have to lin...
2013 Feb 16
8
Bugfix + dri1 cleanup patches
Had those patches living in my local tree for a while now.
Here is a respin on top of latest master
Patch 1: regression fix, preventing the ddx from loading if kernel
module is not loaded
Patches 2-5: Completely nuke dri1, make dri2 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
2020 May 26
0
[ANNOUNCE] libdrm 2.4.102
...reeBSD and DRM_MAJOR
libdrm: drmGetMinorType: Add FreeBSD version
libdrm: drmGetDeviceNameFromFd: Add FreeBSD variant
libdrm: drmGetMinorNameForFD: Add FreeBSD variant
libdrm: Default to PCI for FreeBSD
libdrm: drmGetDeviceNameFromFd2: Add FreeBSD variant
libdrm: drmCheckModesettingSupported: Fix for FreeBSD
libdrm: drmCheckModesettingSupported: fix for FreeBSD
libdrm: Add get_sysctl_pci_bus_info for FreeBSD
libdrm: get_pci_path is Linux only so add an ifdef
libdrm: Implement drmParsePciDeviceInfo for FreeBSD
tests/nouveau/threaded: adapt ioctl signature...
2009 Sep 14
1
[Nouveau-cvs] xf86-video-nv: Branch 'master'
...n->DestroyPixmap(pspix);
> }
> diff --git a/src/nv_driver.c b/src/nv_driver.c
> index 9317b5e..645895d 100644
> --- a/src/nv_driver.c
> +++ b/src/nv_driver.c
> @@ -741,6 +741,8 @@ NVPreInitDRM(ScrnInfoPtr pScrn)
> */
> #ifdef XF86DRM_MODE
> pNv->kms_enable = !drmCheckModesettingSupported(bus_id);
> + if (pNv->kms_enable)
> + pScrn->canDoBGNoneRoot = 1;
> #endif
> xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
> "[drm] kernel modesetting %s\n", pNv->kms_enable ?
What does this latter hunk do?
It just seems completely irrelevant wrt. the c...
2014 Mar 20
6
[Bug 76376] New: mesa does not build after nouveau loader changes
https://bugs.freedesktop.org/show_bug.cgi?id=76376
Priority: medium
Bug ID: 76376
Assignee: nouveau at lists.freedesktop.org
Summary: mesa does not build after nouveau loader changes
Severity: normal
Classification: Unclassified
OS: OpenBSD
Reporter: jsg at openbsd.org
Hardware: Other
Status:
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...}
+ } 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_ERROR, "[drm] KMS not enabled\n");
+ return FALSE;
+ }
+ free(busid);
+
+#ifdef XORG_WAYLAND
+ }
+#endif
+
/* Check the version reported by the kernel module. In theory we
* shouldn't have to do this, as libdrm_nouveau will do its own...
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 13
14
[Bug 60772] New: xf86-video-nouveau fails to modprobe nouveau: KMS not enabled
...Product: xorg
When nouveau kernel module is build as module and not inserted manually, X
server won't start with message "[drm] KMS not enabled".
Older versions (like xf86-video-nouveau-0.0.16) didn't have that problem.
Reason is in function NVHasKMS, where you FIRST call
drmCheckModesettingSupported and THEN nouveau_device_open, meaning
drmCheckModesettingSupported will fail.
When the calls are switched, nouveau_device_open will call modprobe and insert
the nouveau module, so later drmCheckModesettingSupported works correctly.
--
You are receiving this mail because:
You are the assignee f...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...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);
+ return FALSE;
+ }
+
+ ret = drmCheckModesettingSupported(busid);
+ free(busid);
+
+ if (ret) {
+ xf86DrvMsg(-1, X_ERROR, "[drm] KMS not enabled\n");
+ return FALSE;
+ }
}
/* Check the version reported by the kernel module. In theory we
@@ -242,13 +290,6 @@ NVPciProbe(DriverPtr drv, int entity_n...
2015 Aug 14
0
[ANNOUNCE] libdrm 2.4.63
...o avoid value clamp
tests/amdgpu: remove the duplicate IB allocation for VCE test
amdgpu: add flags parameter for amdgpu_va_range_alloc
amdgpu: add amdgpu_bo_va_op for va map/unmap support v3
amdgpu: expose the PCI revision ID
Jonathan Gray (3):
xf86drmMode: Implement drmCheckModesettingSupported() for OpenBSD
xf86drm: correct the OpenBSD DRM_MAJOR define
xf86drm: use the correct device minor names on OpenBSD
Joonyoung Shim (1):
Build vbltest irrespective of the presence of libudev.
Julien Cristau (1):
Fix headers inclusion in xf86drmMode.c
Ken Wang (8):
a...