History log of /external/libdrm/xf86drm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
faf51d5694e3f0ec12c7fa1fd2f87fc96a300fe3 07-Sep-2014 Emil Velikov <emil.l.velikov@gmail.com> drm: use drm_mmap/drm_munmap wrappers

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
/external/libdrm/xf86drm.c
305478ce02ebd908a75c9830ecea15f6e2469b42 16-Apr-2014 Daniel Kurtz <djkurtz@chromium.org> drmOpenByName: remove redundant drmAvailable check

drmOpenByName() is a static function that is only called by drmOpen().
drmOpen() already checks drmAvailable(), so the check in
drmOpenByName() is redundant.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
/external/libdrm/xf86drm.c
303ff26311dc5efdf28676be34d86f501699acf3 08-Apr-2014 Thierry Reding <treding@nvidia.com> libdrm: Remove extraneous parameter

The debug message's format string doesn't contain any conversion
specifiers, therefore making the fd argument unused.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Thierry Reding <treding@nvidia.com>
/external/libdrm/xf86drm.c
44b08c0ddf7ced99a5914421f18b269a1dcaafae 22-Jan-2014 Thierry Reding <treding@nvidia.com> Mark functions printf-like where possible

These functions all take a format string and either a list of variable
arguments or a va_list. Use the new DRM_PRINTFLIKE macro to tell the
compiler about it so that the arguments can be checked against the
format string.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Thierry Reding <treding@nvidia.com>
/external/libdrm/xf86drm.c
ddbbdb13d80ea7f60e6f71356a444995b905366b 03-Sep-2013 Damien Lespiau <damien.lespiau@intel.com> drm: Introduce a drmSetClientCap() wrapper

That wraps around the new DRM_SET_CLIENT_CAP ioctl.

v2: SET_CAP -> SET_CLIENT_CAP renaming

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
/external/libdrm/xf86drm.c
1eb2860b4bd0306dddc5b2f2dc7403aa65c5e476 28-Mar-2013 Daniel Kurtz <djkurtz@chromium.org> drm: Fix error message in drmWaitVBlank

If clock_gettime did fail, it would return -1 and set errno.
What we really want to strerror() is the errno.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
/external/libdrm/xf86drm.c
cc0a14575d9fd0aafe73cb4aa445eaf024436114 14-Jul-2012 Dave Airlie <airlied@gmail.com> libdrm: add prime fd->handle and handle->fd interfaces

These are just basic ioctl wrappers around the prime ioctls,
along with the capability reporting.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/libdrm/xf86drm.c
961bf9b5c2866ccb4fedf2b45b29fb688519d0db 01-Nov-2011 Jeremy Huddleston <jeremyhu@apple.com> Fix compilation with -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/libdrm/xf86drm.c
3b04c73650b5e9bbcb602fdb8cea0b16ad82d0c0 04-Mar-2011 Dave Airlie <airlied@redhat.com> libdrm: oops fix get cap return value.
/external/libdrm/xf86drm.c
5c6c6913d1260024e5d156db7973c9e46fe1ff03 21-Feb-2011 Ben Skeggs <bskeggs@redhat.com> Implement drmGetCap() to query device/driver capabilities

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/libdrm/xf86drm.c
39e5e982242cd2b611a9dfc1e9b63f857d52da61 07-Dec-2010 Dave Airlie <airlied@redhat.com> drm: don't do the create the node ourselves if we have udev.

this can remove nodes it shouldn't, let udev run the show.

this is needed for reliably GPU switch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/libdrm/xf86drm.c
0a1ff35c70730160973715b82112cd97c62ac13e 28-Oct-2010 Adam Jackson <ajax@redhat.com> s/drmStrdup/strdup/

_DRM_MALLOC hasn't been a relevant concern since we split libdrm out
from xserver.

Signed-off-by: Adam Jackson <ajax@redhat.com>
/external/libdrm/xf86drm.c
b04515c5d6c95f573457a94267b855cceb639105 06-Aug-2010 Benjamin Herrenschmidt <benh@kernel.crashing.org> libdrm: Fix PCI domain domain support

This works in conjunction with newer kernels. If we succeed in requesting
interface 1.4, the we know the kernel provides proper domain numbers. If
not, ignore the domain number as it's bogus (except on Alpha).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
/external/libdrm/xf86drm.c
fbc8b2d95f5da096ee771a3e2ef6f89306679e89 09-Dec-2009 Kristian Høgsberg <krh@bitplanet.net> Be less chatty in drmSetMaster/drmDropMaster
/external/libdrm/xf86drm.c
6f66de982ad6ee6967ec61a7399e600bdd9e5887 25-Nov-2009 Robert Noland <rnoland@2hip.net> Correctly set DRM_MAX_MINOR for all platforms.

DRM_MAJOR is platform specific, but not used outside of xf86drm.c
that I can find.
/external/libdrm/xf86drm.c
22d46669043d38fcd16efca773f5ed5693c0fb58 24-Nov-2009 Kristian Høgsberg <krh@bitplanet.net> Add drmGetDeviceNameFromFd function

Determines the /dev filename of the drm fd argument.
/external/libdrm/xf86drm.c
4f57abfe66091281c9f59c14e6ea27b524b55d5b 17-Nov-2009 Kristian Høgsberg <krh@bitplanet.net> Move libdrm/ up one level
/external/libdrm/xf86drm.c