summaryrefslogtreecommitdiffstats
path: root/xf86drmHash.c
Commit message (Collapse)AuthorAgeFilesLines
* xf86drmHash: remove unused loop variableEric Engestrom2018-11-091-1/+0
| | | | | | Reported-by: Jan Vesely <jano.vesely@gmail.com> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
* xf86drmHash: remove redundant zero initRob Clark2018-10-131-5/+0
| | | | | | | | | drmMalloc() is already calloc() Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
* libdrm: annotate public functionsLucas De Marchi2018-09-191-7/+8
| | | | | | | | | | | | | | | | | | | | | | This was done with: nm --dynamic --defined-only build/libdrm.so | \ grep " T " | \ grep -v _fini | grep -v _init | \ cut -d' ' -f3 > /tmp/a.txt while read sym; do read f func line _ <<<$(cscope -d -L -1 $sym) if [ ! -z "$f" ]; then sed -i "${line}s/^/drm_public /" $f fi done < /tmp/a.txt Then the alignment of function arguments were manually fixed all over. 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>
* xf86drmHash: remove always-false #if guardsEric Engestrom2018-01-311-6/+0
| | | | | | Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
* drm: use correct printf modifiersEmil Velikov2015-04-051-2/+2
| | | | | | | | | The valies are unsigned long, thus we should use %lu. v2: Drop old printf statement. (Jan) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
* drm: replace HASH_DEBUG with DEBUGEmil Velikov2015-04-051-3/+2
| | | | | | | | | ... and remove the useless SL_DEBUG and RANDOM_DEBUG v2: Rebase on earlier changes. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
* tests/hash: extract test out of xf86drmHash.cEmil Velikov2015-04-051-185/+11
| | | | | | | | | | | | This way with follow up commits we can fix it and wire it up to make check v2: - Use xf86drmHash.h for common structs.(Jan) - Add test to .gitignore. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
* Move libdrm/ up one levelKristian Høgsberg2009-11-171-0/+428