summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-25libdrm/radeon: Add configure option to enable bo tracking.clean_compiler_warningsPauli Nieminen3-1/+17
This will bo tracking also enabled in mesa if it is enabled in libdrm tough pkg-config. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-25libdrm_radeon: Take reference on BO pointer passed in for space checking.Michel Dänzer1-0/+5
Prevents a flush from making it stale.
2009-08-25libdrm: Add support for XORG_STRICT_OPTIONPauli Nieminen8-1/+17
2009-08-25Revert "libdrm: Add configuration option to enable strict compilation"Pauli Nieminen1-10/+1
This reverts commit 3cbb16627f6f68e01122d95a79247c5b60da930d.
2009-08-25drm: Remove extra commas from end of enumeration listPauli Nieminen1-2/+2
2009-08-25libdrm/tests: Fix compiler warnings in modetest.c.Pauli Nieminen1-25/+23
2009-08-25libdrm/tests: Fix compiler warnings in modeprint.c.Pauli Nieminen1-14/+17
2009-08-25libdrm/tests: Fix compiler warnings in drmstat.c.Pauli Nieminen1-8/+25
2009-08-25libdrm/tests: Fix compiler warnings in dristat.c.Pauli Nieminen1-4/+8
2009-08-25Fix signed/unsigned comparison warningPauli Nieminen1-1/+2
2009-08-25libdrm/radeon: Add config.h include to enable POSIX extensions for strdup call.Pauli Nieminen1-0/+3
2009-08-25libdrm/radeon: Remove unussed variables and make printf happy with explicity ↵Pauli Nieminen2-2/+2
void* cast from struct radeon_bo*.
2009-08-25intel: Move debug output after setting the value.Pauli Nieminen1-2/+2
2009-08-25libdrm: Make pci id numbers unsigned for sscanf.Pauli Nieminen1-1/+2
2009-08-25libdrm: Make drmAllocCpy use only single memcpy call instead of calling ↵Pauli Nieminen1-3/+1
memcpy in loop.
2009-08-25libdrm: Make drmAllocCpy static.Pauli Nieminen1-1/+1
2009-08-25libdrm: Make gcc to understand that pointers are realy pointers.Pauli Nieminen1-3/+3
2009-08-25libdrm: Fix random number generator to use unsigned seed.Pauli Nieminen1-2/+4
This fixes wanring about unsigned/signed comparision. Also make it easier to compile test program using -D switch.
2009-08-25libdrm: Fix loop index variable type to match the type of countPauli Nieminen1-2/+2
2009-08-25libdrm: Fix drmOpenDevice to take dev_t type as parameter.Pauli Nieminen1-1/+1
This fixes signed/unsigned comparission between st.st_dev and dev.
2009-08-25libdrm: Fix unsigned/signed coparision of -1 valuePauli Nieminen1-1/+2
gid_t is unsigned in gnu libc this makes it impossible to check if group id is set to negative by xserver.
2009-08-25libdrm: Add function declaration to header for drmSetDebugMsgFunction.Pauli Nieminen1-0/+1
2009-08-25libdrm: Add __attribute__ macro to hide gcc specific function attributes for ↵Pauli Nieminen1-0/+8
compiler not supporting them.
2009-08-25libdrm: Add function attribute for debug functions to let gcc check ↵Pauli Nieminen1-1/+4
parameter correctness.
2009-08-25Revert "drm/libdrm: Request for _XOPEN_SOURCE to get full posix headers ↵Pauli Nieminen1-1/+0
including extensions (XSH: mknod)" This reverts commit a60e2db6498d4e9dc3a0bc45b1d0686dbd41fc34.
2009-08-25Revert "drm/libdrm: Add missing string.h include"Pauli Nieminen1-1/+0
This reverts commit 2ff1a09031c0619f012a0f97c6322685fa8a2778.
2009-08-25libdrm: Add configuration option to enable strict compilationPauli Nieminen1-1/+10
Source is writen for c99 standard so we have to tell compiler about it with -std=c99 if we want strict warnings. Also add -pedantic to list of warning flags.
2009-08-25drm/libdrm: Request for _XOPEN_SOURCE to get full posix headers including ↵Pauli Nieminen1-0/+1
extensions (XSH: mknod)
2009-08-25drm/libdrm: Add missing string.h includePauli Nieminen1-0/+1
2009-08-24radeon: pull in z pipe changes from kernelAlex Deucher1-0/+2
2009-08-22radeon: add support for busy/domain check interface.Pauli Nieminen3-1/+31
airlied: modified the interface to drop busy return value, just return it normally, also fixed int->uint32_t for domain Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19nouveau: fix a thinko in copyless pushbuf ioctlBen Skeggs1-0/+2
No idea why G80 doesn't hit this, but, this fixes at least one NV40 card.
2009-08-18libdrm_radeon: Optimize copy of table to cs buffer with specialized call.Pauli Nieminen1-0/+9
Using this call in OUT_BATCH_TABLE reduces radeonEmitState cpu usage from 9% to 5% and emit_vpu goes from 7% to 1.5%. I did use calgrind to profile gears for cpu hotspots with r500 card. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18libdrm_radeon: Fix loops so that compiler can optimize them.Pauli Nieminen1-6/+6
GCC did war about optimization not possible because possible forever loop. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18libdrm/radeon: Update head of linked list not to point freed memory.Pauli Nieminen1-0/+1
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18nouveau: support for copy-less pushbuf ioctlBen Skeggs3-16/+143
2009-08-18nouveau: for the moment, assert if we exceed some reloc limitsBen Skeggs1-2/+8
Nasty, but nicer than silently not writing into the pushbuf
2009-08-17radeon: fix bo wait at map time.Dave Airlie1-6/+6
2009-08-16Filter radeon pkgconfig file as do intel and nouveauChristoph Brill1-0/+1
2009-08-15radeon: fix GTT writing space checkDave Airlie1-1/+1
Noticed by vehemens on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-05link libdrm_intel with -lrt for new use of clock_gettime().Anssi Hannula1-1/+1
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-08-01libdrm_radeon: add tiling supportDave Airlie3-15/+92
2009-08-01radeon: don't map/unmap explicitly.Dave Airlie1-5/+14
This caches the mapping and just use mapping as a sync point
2009-07-28nouveau: don't overwrite user-specified bo size needlesslyBen Skeggs1-1/+2
2009-07-28nouveau: user buffers need to be mappableBen Skeggs1-1/+1
2009-07-28nouveau: drm api 0.0.15, update object header, remove fake bo supportBen Skeggs14-1390/+524
2009-07-27libdrm/nouveau: unmap before ufree means nvbo->sysmem != NULL, which ↵Maarten Maathuis1-1/+1
inbalances cpu_prep/cpu_finish - The bo was mapped with sysmem == NULL, so this means cpu prep is called. - The bo was unmapped with sysmem != NULL, so this means cpu finish is not called. - This can lead to a non-zero "cpu writers" count in ttm_bo.
2009-07-15Add RADEON_INIT_R600_CP tooAlex Deucher1-1/+2
this rounds out the r6xx/r7xx stuff in radeon_drm.h
2009-07-15Add R600_SCRATCH_REG_OFFSET to radeon_drm.hAlex Deucher1-0/+1
This lets us libdrm from master for r6xx/r7xx 3d
2009-07-15Bump to version 2.4.12 for release.Eric Anholt1-1/+1