94556f359450acebe87d6c9b4f4fd8ccf78589d8 |
|
18-Jan-2012 |
Alex Deucher <alexander.deucher@amd.com> |
radeon: share common fog code between radeon and r200 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
03855bc2accbeb508458f70bdbdcef292672b2b8 |
|
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove dri2.enabled flag DRI2 is always enabled now.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
53b382637ca5462b15a430abbfc070e799d70b97 |
|
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop dri2 checks now that it's always true. This makes LOCK_HARDWARE empty, so it goes away.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
dab8f6b1d9781e91ce5102f1bb98f0e1b1b9a3cf |
|
21-Apr-2010 |
Marek Olšák <maraeo@gmail.com> |
radeon: fix warning
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
e9c2c4a76466fc1ccfbf4d5de048414f7126b940 |
|
15-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix buffer object unmap to be called only once for dma buffers. If flush happens inside radeonRefillCurrentMaRegion the last dma buffer would be unmapped twice. Unmapping buffer when moving buffer to wait list fixes the mapping error.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
9a7776696b786180f1d384eb22b928707e74dfca |
|
01-Mar-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Reduce number of radeon_bo_map calls that require kernel entry. DMA buffers are often remapped many times for singel cs. To reduce number of mapping calls ending to kernel dma buffers are mapped when allocated and unmapped when full or in cs flush. This makes indifual mapping calls in other parts of code simple increment/decrement reference count which is faster than entering kernel. This improves Anholt's openarena benchmark from 36 fps to 44 fps.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
1c28073fdfb56a241424c739b57845f47fa05002 |
|
17-Dec-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: drop assert accessing cref which is meant to be hidden
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
06d3732a9094030fc33120f16f162e0d405f132c |
|
01-Dec-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/mesa_7_7_branch' Conflicts: src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/xorg/xorg_composite.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/main/texgetimage.c src/mesa/main/version.h
|
2176b3ed9ab832122e56aed3242dfda102a5fec6 |
|
24-Nov-2009 |
Dave Airlie <airlied@redhat.com> |
r300: fix swtcl bo leak problem. We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
bd13e6e5e2403ada2098e3a07c0af4b4ba989ab7 |
|
24-Nov-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300/r600: make bo mapping be explicit This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
13b5a624b1899c457279907d58046dfb3c95addc |
|
18-Nov-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Revert "radeon: Fix legacy bo not to reuse dma buffers before refcount is 1." This reverts commit 284a7af274bc148f112bd0ebb40583923ee26b49. This breaks kde desktop effects. See fdo bug 24131
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
284a7af274bc148f112bd0ebb40583923ee26b49 |
|
20-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix legacy bo not to reuse dma buffers before refcount is 1. This should help detecting possible memory leaks with dma buffers and prevent possible visual corruption if data would be overwriten too early.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
796c96de808790826d9c9077d159390ebee62888 |
|
11-Sep-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Remove structure allocation from iterator variable. dma_bo varaible is only used for iterating so allocating memory for it only causes memory leaks.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
4e0d99a63588c67a955f797733da32d04e6f4ee6 |
|
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r100: Use shared debug code. Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
0926a5f4a110926711d0f8a4eb297dc772b09aa2 |
|
28-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix swtcl emit pediction. Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
97029c1860e8a99448ac157408e71bea3aa2559f |
|
26-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r200/r300: Fix swtcl flushing not to invalidate dma region. We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
5d10890795d9bddc8cafc4afb19cacf164d6e667 |
|
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon/r600: Fix remaining warnings when building 64 bit binary.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
c3374bf97ecd82b915fb29c7c04951e2b75d4dbc |
|
25-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix all compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
7bb0f880dbdee0c57693c3a1f331d7c0894e71e1 |
|
23-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into r600_state_predict Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/radeon/radeon_cmdbuf.h
|
66bbafb6f9d44da3baddac6d948ba361182dde2a |
|
20-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Check from kernel if dma buffer is idle. This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
b7ec2ebe33608f9107ff7cae6b974edc8097cecd |
|
21-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Improve state emit code. Trying to make understanding code easier with small refactoring and renaming.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
d1a0ece9077b3de49c293a04c220b995424cef28 |
|
12-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Port flush preventation code from r200 to r100. - emit prediction - fixes to emit_sizes for data - clean up of excesive use of radeonEnsureCmdBufferSpace Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
0c0cea250d6615bbd500ac0b61b5d34bc61711cf |
|
20-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add comment to explain logic for freeing dma buffers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
ec1540052b8f2f4340bb2c8624e667df7a9a23db |
|
19-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Update regulary cs processing info from kernel. This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
174aeabc0f00440e3d18813f0b461470448929fc |
|
19-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: fix typo in last dma patch
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
947df2e5a8e4e701db67219179fb9953df8ff6e6 |
|
19-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add debug output for dma buffer object numbers. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
66e019c6c91e6ae3fb9e26a12d7b7782a0095a8d |
|
19-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix dma buffer object pool to scale object sizes. This fixes problems when application is using large vertex arrays for drawing. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
f9b8562f32b77a27c872d4c70a86995032541107 |
|
18-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: balance dma buffer mapping In radeonRefillCurrentDmaRegion() make sure we unmap the previous buffer.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
1279cdcb1f3e37a91bb5252826386205dc3e579d |
|
26-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
r200: make use of DMA buffers for Elts a lot better. This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop. Cherry picked and ported to new code by Pauli.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
bbf2b5c4ffcb6755d34a5b698445aecf604e45fb |
|
14-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Optimize memory handling for dma operations. We keep dma buffer objects in list untill they have been unused for many draw operations. Current limit of having 100 flushes is just guess for good performance/memory trade off. Moving WARN_ONCE macro to common context because it is used in multiple drivers. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
c3380ded10200f2df0cfba4abbe9a9eb892f7cbb |
|
17-Aug-2009 |
Alex Deucher <alexdeucher@gmail.com> |
radeon: remove RADEON_DEBUG_BO stuff This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
2233ac61e1a690f47a7d4a9d0894c1c20c9c330f |
|
01-Aug-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: export emitvec* functions
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
d534648d904da71e604babcf408c00eae7922d16 |
|
26-Jul-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: constify some parameters
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
c5c19919ce627b98d8aab4284da1694573bcccd4 |
|
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
|
a6a11e1dc019ad54e0c4c9d1de46ca6ca48528c3 |
|
10-Jul-2009 |
Dave Airlie <airlied@linux.ie> |
radeon: make swtcl emit size bigger
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
c27f21f92d2cf9d23a9edb15d144eceb9ff383bc |
|
06-Jul-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: port to new space checking code in libdrm This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
6791576f6cc90018bd65c263fa6c16ad2b19cdae |
|
29-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
Revert "r200: make use of DMA buffers for Elts a lot better." This reverts commit 0952645fe04a27968565ea4d913500c23b1b11e3. Need to revisit where this is going wrong
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
0952645fe04a27968565ea4d913500c23b1b11e3 |
|
26-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
r200: make use of DMA buffers for Elts a lot better. This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
1036ef2bf468611d37b5df06fc4424f2002e3837 |
|
12-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge master and fix conflicts
|
9b1efcb87c794ded9306f01336d48a80aaad3261 |
|
23-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: realloc dma if needed after revalidate Revalidate can trigger flushing and dma buffer deallocation, so retry allocation on such case.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
d7cc0eb47930d6c8ebfd18fefbe48fe8eec696a0 |
|
21-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
radeon: maxbuffer size is in bytes
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
a13e96359baaa0331561f86ef6487feba6540464 |
|
20-May-2009 |
Jerome Glisse <glisse@freedesktop.org> |
r200: fix vbo array rendering
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
3149b87ac43a5f10983c6682dff7a00cf1d99c7c |
|
19-May-2009 |
root <root@richard-desktop.(none)> |
Makeup checkin for radeon code change paired with r6/7 code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
05304d41f2d9ab7a66a8b976580c156b7b93a9d3 |
|
02-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: fix up the whole buffer space checking. This fixes up the buffer validation scheme, so that we keep a list of buffers to validate so cmdbuf flushes during a pipeline get all the buffers revalidated on the next emit. This also fixes radeonFlush to not flush unless we have something useful to send to the GPU, like a DMA buffer or something not state
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
e00ef43d796f0ae0247b1072bf0aa8cdd8e3034d |
|
02-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200/r300: collapse context destruction down to a common path. Context destruction was nearly the same over all the drivers, so collapse it down.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
1386e8a6ba9732c578e0122de245abfd578a7d1d |
|
07-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix cut-n-paste typo
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
f881035fd84add859b3e3dc4721eddd027005f49 |
|
07-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
rs690: fix r300 swtcl bug in DMA code. When we finish emitting swtcl objects, we request space in the cmdbuf, and flush if no space exists. However in this case we also flush the DMA buffer we just put the vertices we wanted to send in. This checks in advance if we have space in the buffer.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|
23d3559bd4ece1fcab5513ebdaa38600d6654374 |
|
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: renaming and headers cleanup
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_dma.c
|