summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* libkms: remove explicit define _FILE_OFFSET_BITS 64Emil Velikov2014-09-016-6/+0
| | | | | | | configure.ac has AC_SYS_LARGEFILE which provides the define and/or approapriate magic when required. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* all: include config.h only when available and use its definesEmil Velikov2014-09-0114-8/+35
| | | | | | ... rather than explicitly redefining HAVE_STDINT_H and _GNU_SOURCE. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* radeon: Fix surf->bankh init by default value when surf->tile_split == 0Maks Naumov2014-08-251-2/+2
| | | | | Signed-off-by: Maks Naumov <maksqwe1@ukr.net> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
* radeon: add new SI pci idsAlex Deucher2014-08-211-0/+4
| | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
* radeon: add new CIK pci idsAlex Deucher2014-08-211-0/+3
| | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
* exynos: Use symbol visibility.Maarten Lankhorst2014-08-143-24/+33
| | | | | | No changes to exported symbols. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
* freedreno: Use symbol visibility.Maarten Lankhorst2014-08-147-42/+51
| | | | | | Hiding fd_device_del_locked, and fd_cleanup_bo_cache. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
* omap: Use symbol visibility.Maarten Lankhorst2014-08-142-20/+27
| | | | | | No changes to exported symbols. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
* drm: Implement drmCheckModesettingSupported() for DragonFlyFrançois Tigeot2014-08-141-0/+2
| | | | | | | | | | | | For the sake of simplicity, KMS support can always be considered present on DragonFly. If some particular version doesn't support KMS yet, appropriate checks are already done in Dports's x11-drivers/ Makefiles and KMS-enabled driver packages don't get built. Signed-off-by: François Tigeot <ftigeot@wolfpond.org> Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl>
* intel: Use symbol visibility.Maarten Lankhorst2014-08-045-83/+114
| | | | | | | No exports changed for this driver. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
* radeon: Use symbol visibility.Maarten Lankhorst2014-08-047-69/+98
| | | | | | | All the bof_* symbols are now no longer exported. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
* nouveau: Only export public functions.Maarten Lankhorst2014-08-045-35/+37
| | | | | | | | This hides all the abi16_* functions and the nouveau_debug variable, they should have been private to begin with. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
* configure: Support symbol visibility when availableThierry Reding2014-07-303-0/+55
| | | | | | | | | | | | | Checks whether or not the compiler supports the -fvisibility option. If so it sets the VISIBILITY_CFLAGS variable which can be added to the per directory AM_CFLAGS where appropriate. By default all symbols will be hidden via the VISIBILITY_CFLAGS. The drm_public macro can be used to mark symbols that should be exported. Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
* configure.ac: bump version to 2.4.56 for releaselibdrm-2.4.562.4.56Marek Olšák2014-07-291-1/+1
|
* radeon: fix typo in sample split / fixes MSAA on HawaiiMarek Olšák2014-07-291-1/+1
| | | | Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
* libdrm: Fix drm.h include in qxl drm header fileAndreas Boll2014-07-281-1/+1
| | | | | | | | | | | | Use "drm.h" instead of "drm/drm.h" as used in the other header files. Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this file is installed in /usr/include/libdrm. Fixes Debian bug #746807 Reported-by: Bastian Blank <waldi@debian.org> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
* bump to version 2.4.55 for releaselibdrm-2.4.55Maarten Lankhorst2014-07-251-1/+1
|
* exynos: do not build fimg2d_test when building without libkms support.Maarten Lankhorst2014-07-251-0/+2
| | | | | | This prevents a build failure. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
* radeon: Add missing header includes.Thomas Klausner2014-07-161-0/+2
| | | | | | unistd.h for close() and xf86drm.h for drmOpen(). Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
* radeon: Remove superfluous parentheses.Thomas Klausner2014-07-161-9/+9
| | | | Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
* exynos: fix scaling factor computation in g2d_copy_with_scaleTobias Jakobi2014-06-201-1/+1
| | | | | | | | | When division of source and destination width yields the scaling factor for the x-coordinate, then it should be source/destination _height_ for y. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* exynos: fix G2D_DOUBLE_TO_FIXED for non-integer inputTobias Jakobi2014-06-201-1/+1
| | | | | | | | | | | | The hardware accepts scaling factors formatted in a fixed-point format. The current macro casts to integer first, then multiplies by the fp conversion factor. This does not make any sense. In particular, truly 'fractional' inputs, like 1.5, won't work that way. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* exynos: fix coordinate computation in g2d_copyTobias Jakobi2014-06-201-1/+1
| | | | | | | | The right-bottom register isn't set correctly. Looks like a copy-and-paste error. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* intel: Add new userptr ioctlTvrtko Ursulin2014-06-191-0/+16
| | | | | Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
* intel: Sync typo fix from the kernel sources.Damien Lespiau2014-06-191-1/+1
| | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* intel: Sync the command parser version parameter from kernelDamien Lespiau2014-06-191-0/+1
| | | | | | Cc: Bradley Volkin <bradley.d.volkin@intel.com> Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* freedreno: add chip-id propertyRob Clark2014-06-184-0/+10
| | | | | | | Userspace needs to know the patch-revision in addition to just the gpu-id (ie. 320, 305, etc). Signed-off-by: Rob Clark <robclark@freedesktop.org>
* freedreno: sync kernel headerRob Clark2014-06-181-0/+12
| | | | Signed-off-by: Rob Clark <robclark@freedesktop.org>
* drm: Add universal plane capability bit and plane type enumsMatt Roper2014-05-192-0/+12
| | | | | Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
* drmOpenByName: remove redundant drmAvailable checkDaniel Kurtz2014-05-131-13/+0
| | | | | | | | | 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>
* exynos: removed unused fd fieldDaniel Kurtz2014-05-121-2/+0
| | | | | | | | | The documentation says fd holds the fd from prime import/export. However, it isn't actually used, nor is it necessary, so let's just remove it. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
* exynos: prime: use drmPrime*() helpersDaniel Kurtz2014-05-121-38/+10
| | | | | | | Reuse the common drmPrime() helper functions rather than reinventing them. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
* exynos_fimg2d_test: fix drmModeRmFBDaniel Kurtz2014-05-121-1/+1
| | | | | | | The first parameter should be the drm fd, second param is the fb id. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
* exynos: remove unusable "run" targetDaniel Kurtz2014-05-121-2/+0
| | | | | | | | This looks like it was copied from kmstest, but isn't needed, and doesn't actually work since exynos_fimg2d_test requires parameters. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
* exynos_fimg2d: fix cast from pointer to integer of different sizeDaniel Kurtz2014-05-121-2/+2
| | | | | | | Fixes two gcc [-Wpointer-to-int-cast] warnings. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
* exynos: fix two warningsDaniel Kurtz2014-05-121-2/+2
| | | | | | | | warning: assignment makes pointer from integer without a cast [enabled by default] warning: initialization makes integer from pointer without a cast [enabled by default] Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
* eyxnos: install exynos tests if HAVE_INSTALL_TESTSDaniel Kurtz2014-05-121-0/+5
| | | | | | | | This exynos test was added just before HAVE_INSTALL_TESTS, and so didn't get this annotation. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
* bump version to 2.4.54 for releaselibdrm-2.4.54Alex Deucher2014-05-021-1/+1
| | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
* radeon: add Mullins pci idsSamuel Li2014-05-021-0/+17
| | | | | | Signed-off-by: Samuel Li <samuel.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
* radeon: add Mullins chip familySamuel Li2014-05-021-0/+1
| | | | | | Signed-off-by: Samuel Li <samuel.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
* Use signed location for drmModeSetPlaneDaniel Kurtz2014-05-012-2/+2
| | | | | | | | | | | DRM_IOCTL_MODE_SETPLANE crtc_x, crtc_y are s32. This is to allow a destination location that is partially off screen. Make this more obvious to users of libdrm by using signed crtc_x/_y parameters for drmModeSetPlane() as well. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
* intel/chv: Add Cherryview PCI IDsVille Syrjälä2014-04-291-1/+11
| | | | Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
* freedreno: add missing fxn prototypeRob Clark2014-04-251-0/+2
| | | | Signed-off-by: Rob Clark <robclark@freedesktop.org>
* modetest: add cursor supportRob Clark2014-04-224-5/+310
| | | | Signed-off-by: Rob Clark <robclark@freedesktop.org>
* tests: Use drmFreeVersion() instead of drmFree()Thierry Reding2014-04-171-1/+1
| | | | | | | | drmFreeVersion() frees the memory allocated for the name, date and desc fields in addition to that for the struct _drmVersion. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Thierry Reding <treding@nvidia.com>
* libdrm: Remove extraneous parameterThierry Reding2014-04-171-1/+1
| | | | | | | | 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>
* intel: Fix some format stringsThierry Reding2014-04-171-10/+10
| | | | | | | | Some of the format strings for debug messages use the wrong modifier to print sizes. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Thierry Reding <treding@nvidia.com>
* Mark functions printf-like where possibleThierry Reding2014-04-174-10/+11
| | | | | | | | | | 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>
* amend previous commit to actually compileMaarten Lankhorst2014-04-161-7/+15
| | | | Ugh!
* nouveau: safen up nouveau_device list usage against concurrent accessMaarten Lankhorst2014-04-152-22/+89
| | | | | | | | I cannot make nouveau_bo_wrap thread-safe (by design), but it seems to be used to convert drm fb's to nouveau_bo's and to get a notify handle from fifo->notify in nv30_screen.c Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@ubuntu.com>