summaryrefslogtreecommitdiff
path: root/lib/libdrm/xf86drm.c
AgeCommit message (Collapse)Author
2024-10-17Merge libdrm 2.4.123Jonathan Gray
2024-01-30Merge libdrm 2.4.120Jonathan Gray
2023-07-06fix drmGetMinorNameForFD(). tweaks and ok jsg@.Matthieu Herrb
For the gpu n, the main device node is /dev/dri/card<n> and the render device node is /dev/dri/renderD<n+drmGetMinorBase()> not /dev/dri/renderD<n> and miod@ checked that no port should be affected.
2023-02-27Merge libdrm 2.4.115Jonathan Gray
2022-11-14Merge libdrm 2.4.114Jonathan Gray
2022-06-06Merge libdrm 2.4.111Jonathan Gray
2022-04-29Merge libdrm 2.4.110Jonathan Gray
2021-07-05Merge libdrm 2.4.107Jonathan Gray
2021-02-11fix merge errorJonathan Gray
2021-02-11Merge libdrm 2.4.104Jonathan Gray
2019-11-27Merge libdrm 2.4.100Jonathan Gray
2019-05-12open correct render node in libdrmJonathan Gray
drm render nodes have the same major as drm primary devices but offset the minor by a base of 128. I expected the name of the device to have numbering starting at 0 when these non-linux codepaths were added (before we had render nodes).
2019-04-26Merge libdrm 2.4.98Jonathan Gray
2019-03-22test for render nodes before primary nodesJonathan Gray
Unlike linux our primary "drm" device name is substring of the "drmR" render node device name and strncmp() tests resulted in render nodes being flagged as primary nodes.
2018-11-01Merge libdrm 2.4.96Jonathan Gray
2018-09-13Merge libdrm 2.4.94Jonathan Gray
2018-02-17Merge libdrm 2.4.89Jonathan Gray
2017-08-05Merge libdrm 2.4.82Jonathan Gray
2017-04-14Merge libdrm 2.4.79Jonathan Gray
2017-02-05Merge libdrm 2.4.75Jonathan Gray
2016-12-02Drop the local diff to avoid calling drm set/drop master ioctls,Jonathan Gray
the kernel implements these as noops now.
2016-11-25Implement an OpenBSD specific codepath for drmGetDeviceJonathan Gray
The existing code walks all of /dev looking for different types of drm nodes. We just have primary nodes and can directly map the minor number to a path. ok kettenis@
2016-11-25Implement drmParsePciBusInfo for OpenBSD by using the newJonathan Gray
DRM_IOCTL_GET_PCIINFO ioctl. ok kettenis@
2016-11-25Implement drmParsePciDeviceInfo for OpenBSD by using the newJonathan Gray
DRM_IOCTL_GET_PCIINFO ioctl. ok kettenis@
2016-11-25Implement drmParseSubsystemType for OpenBSD.Jonathan Gray
Always return DRM_BUS_PCI for now. No non-pci drm drivers are in the kernel and this is unlikely to change anytime soon as the existing ones aren't permissively licensed. ok kettenis@
2016-11-25Implement drmGetMinorNameForFD for systems without sysfs by adaptingJonathan Gray
drm_get_device_name_for_fd() from the Mesa loader. ok kettenis@
2016-11-19Merge libdrm 2.4.73Jonathan Gray
2016-10-16Merge libdrm 2.4.71Jonathan Gray
2016-03-20Merge libdrm 2.4.67Jonathan Gray
2015-12-27Merge libdrm 2.4.65Jonathan Gray
2015-08-22Merge libdrm 2.4.64. This changes the build to using the upstreamJonathan Gray
auto* build system and installing/using a libdrm specific set of drm headers. Thanks to Emil Velikov for removing the GNU makeisms upstream.
2015-07-15update to libdrm 2.4.62Jonathan Gray
2015-03-26update to libdrm 2.4.60Jonathan Gray
2015-02-07update to libdrm 2.4.59Jonathan Gray
2014-08-14update to libdrm 2.4.56Jonathan Gray
2014-05-13update to libdrm 2.4.54Jonathan Gray
ok matthieu@
2013-11-21update to libdrm 2.4.47Mark Kettenis
ok mpi@, jsg@
2013-06-20update to libdrm 2.4.45Jonathan Gray
ok kettenis@ mpi@, tested by ajacoutot@
2013-03-25update to libdrm 2.4.42Jonathan Gray
tested by matthieu@ krw@ mpi@ shadchin@ and ajacoutot@ ok mpi@
2013-01-09Enable more libdrm functions. Determine if modesetting is supportedJonathan Gray
based on a modesetting ioctl that checks the DRIVER_MODESET flag on the kernel side instead of the sysfs approach linux takes. ok mpi@
2012-11-27Update to libdrm 2.4.31 and add the non-yet-linked libkms, prodded by jsg@Martin Pieuchot
Tested by jsg@, ajacoutot@, shadchin@ and matthieu@, ok matthieu@
2010-12-22Do not remove(3) the device entry if open fails. ok oga@Matthieu Herrb
2010-03-31update libdrm to 2.4.15.Owain Ainsworth
This diff seems larger than it is since upstream reindented some sources. This updates libdrm_intel to -current (which only affect the GEM code) and libdrm to 2.4.15. bumping both minor versions. Discussed with matthieu@
2009-12-09typo in the !privsep path, from David Coppa (dcoppa at mail dot com);Owain Ainsworth
thanks. ok matthieu@
2009-01-26Update libdrm to 2.4.3Owain Ainsworth
This is needed for us to be able to update Mesa and xf86-video-intel. Includes a few fixes, as well as the intel bufmgr interface and the modesetting interface (which currently errors when you check if it's enabled). ok matthieu@
2009-01-10De-autoconf libdrm.Owain Ainsworth
Now that xenocara has been made clean with respect to using kernel headers instead of those provided with libdrm, remove the copy of the headers included here. Since it is now very simple, move it over to using standard bsd makefiles instead of autoconf. ok matthieu@