head	1.1;
branch	1.1.1;
access;
symbols
	libdrm-2-4-134:1.1.1.2
	netbsd-11-0-RC4:1.1.1.1
	netbsd-11-0-RC3:1.1.1.1
	netbsd-11-0-RC2:1.1.1.1
	netbsd-11-0-RC1:1.1.1.1
	netbsd-11:1.1.1.1.0.4
	netbsd-11-base:1.1.1.1
	libdrm-2-4-124:1.1.1.1
	netbsd-10-1-RELEASE:1.1.1.1
	libdrm-2-4-122:1.1.1.1
	netbsd-10-0-RELEASE:1.1.1.1
	netbsd-10-0-RC6:1.1.1.1
	netbsd-10-0-RC5:1.1.1.1
	netbsd-10-0-RC4:1.1.1.1
	netbsd-10-0-RC3:1.1.1.1
	netbsd-10-0-RC2:1.1.1.1
	netbsd-10-0-RC1:1.1.1.1
	netbsd-10:1.1.1.1.0.2
	netbsd-10-base:1.1.1.1
	libdrm-2-4-114:1.1.1.1
	libdrm-2-4-112:1.1.1.1
	libdrm-2-4-109:1.1.1.1
	libdrm-2-4-107:1.1.1.1
	libdrm-2-4-105:1.1.1.1
	xorg:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2021.04.27.03.01.49;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;
commitid	bnhxFHsntjvsvSQC;

1.1.1.1
date	2021.04.27.03.01.49;	author mrg;	state Exp;
branches;
next	1.1.1.2;
commitid	bnhxFHsntjvsvSQC;

1.1.1.2
date	2026.06.10.05.26.46;	author mrg;	state Exp;
branches;
next	;
commitid	G4AFnpuJae0tcdJG;


desc
@@


1.1
log
@Initial revision
@
text
@============
drmAvailable
============

-----------------------------------------------------
determine whether a DRM kernel driver has been loaded
-----------------------------------------------------

:Date: September 2012
:Manual section: 3
:Manual group: Direct Rendering Manager

Synopsis
========

``#include <xf86drm.h>``

``int drmAvailable(void);``

Description
===========

``drmAvailable`` allows the caller to determine whether a kernel DRM
driver is loaded.

Return Value
============

``drmAvailable`` returns 1 if a DRM driver is currently loaded.
Otherwise 0 is returned.

Reporting Bugs
==============

Bugs in this function should be reported to
https://gitlab.freedesktop.org/mesa/drm/-/issues

See Also
========

**drm**\ (7), **drmOpen**\ (3)
@


1.1.1.1
log
@initial import of libdrm-2.4.105
@
text
@@


1.1.1.2
log
@initial import of libdrm-2.4.134
@
text
@d36 1
a36 1
https://gitlab.freedesktop.org/mesa/libdrm/-/issues
@

