summaryrefslogtreecommitdiff
path: root/intel/intel_bufmgr_fake.c
Commit message (Collapse)AuthorAgeFilesLines
* intel: add missing drm_public exportsEric Engestrom2018-09-201-3/+3
| | | | | | | | | | Fixes: 36bb0ea47b71d220b31e "intel: annotate public functions" Cc: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Mark Janes <mark.a.janes@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108006 Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Tested-by: Dylan Baker <dylan@pnwbakers.com>
* intel: annotate public functionsLucas De Marchi2018-09-191-5/+5
| | | | | | | | | | | | | | | | | | | This was done with: while read sym; do read f func line _ <<<$(cscope -d -L -1 $sym) if [ ! -z "$f" ]; then line=$((line-1)) sed -i "${line}s/^/drm_public /" $f fi done < /tmp/a.txt Then some corner cases were manually fixed. "a.txt" above contains the symbols collected from intel/intel-symbol-check. The idea here will be to switch the default visibility to hidden so we don't export symbols we shouldn't. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
* meson,configure: include config.h automaticallyEric Engestrom2018-03-201-4/+0
| | | | | | | | | This will prevent any more missing `#include "config.h"` bug, at the cost of having to recompile some files that didn't need to be when changing build options. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* libdrm: random typo fixesGrazvydas Ignotas2016-11-221-2/+2
| | | | | | | | | Just some trivial boring typo fixes all over the tree. READMEs and comments only. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
* intel: Fix spelling mistakesEric Engestrom2016-04-071-1/+1
| | | | | Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
* intel: add the missing <strings.h> includeChih-Wei Huang2015-12-011-0/+1
| | | | | | | | It defines the prototype of ffs that fixes the building error on Android 6.0 64-bit image. Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
* intel: resolve shadowing warningsEmil Velikov2015-09-041-1/+1
| | | | | | | | v2: keep the bo_gem declaration in exec2() within the loop (Chris) Cc: intel-gfx@lists.freedesktop.org Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by Chris Wilson <chris@chris-wilson.co.uk>
* drm: use c99 __func__ over __FUNCTION__Emil Velikov2015-04-281-12/+7
| | | | Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* drm: remove drm_public macroEmil Velikov2015-04-281-8/+8
| | | | | | | | | | | | | | | Some compilers (like the Oracle Studio), require that the function declaration must be annotated with the same visibility attribute as the definition. As annotating functions with drm_public is no longer required just remove the macro. Cc: Ben Skeggs <bskeggs@redhat.com> Cc: Damien Lespiau <damien.lespiau@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com> Cc: Michel Dänzer <michel.daenzer@amd.com> Cc: Rob Clark <robdclark@gmail.com> Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* drm: rename libdrm{,_macros}.hEmil Velikov2015-04-281-1/+1
| | | | | | Provide a more meaningful name, considering what it does. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* intel: Use symbol visibility.Maarten Lankhorst2014-08-041-15/+16
| | | | | | | No exports changed for this driver. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
* 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>
* intel: Shove the fake bufmgr subdata implementation into the fake bufmgr.Eric Anholt2010-11-011-0/+18
|
* intel_bufmgr_fake: fix compile warning.Eric Anholt2010-05-261-2/+2
|
* Support gcc's __FUNCTION__ for people using other compilersAlan Coopersmith2010-01-161-0/+5
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Move libdrm/ up one levelKristian Høgsberg2009-11-171-0/+1610