History log of /external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4fd97b46a071a8dcec6ec6658dfc835e08f4e2c6 30-Jan-2012 Marek Olšák <maraeo@gmail.com> r600g: remove unused flush code
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
bb1f0cf3508630a9a93512c79badf8c493c46743 02-Dec-2011 Jerome Glisse <jglisse@redhat.com> r600g: add support for virtual address space on cayman v11

Virtual address space put the userspace in charge of their GPU
address space. It's up to userspace to bind bo into the virtual
address space. Command stream can them be executed using the
IB_VM chunck.

This patch add support for this configuration. It doesn't remove
the 64K ib size limit thought this limit can be extanded up to
1M for IB_VM chunk.

v2: fix rendering
v3: fix rendering when using index buffer
v4: make vm conditional on kernel support add basic va management
v5: catch the case when we already have va for a bo
v6: agd5f: update on top of ioctl changes
v7: agd5f: further ioctl updates
v8: indentation cleanup + fix non cayman
v9: rebase against lastest mesa + improvement from Marek & Michel
v10: fix cut/paste bug
v11: don't rely on updated radeon_drm.h

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
93f4e3cb6c1ca303ee1f5c2a2491a8eff33f2633 24-Dec-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: move managing GEM domains back to drivers

This partially reverts commit 363ff844753c46ac9c13866627e096b091ea81f8.

It caused severe performance drops in Nexuiz. Reported by Phoronix.

Tested by me on r300g and by IRC people on r600g.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
363ff844753c46ac9c13866627e096b091ea81f8 27-Sep-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: move GEM domains out of the drivers into winsys

The drivers don't need to care about the domains. All they need to set
are the bind and usage flags. This simplifies the winsys too.

This also fixes on r600g:
- fbo-depth-GL_DEPTH_COMPONENT32F-copypixels
- fbo-depth-GL_DEPTH_COMPONENT16-copypixels
- fbo-depth-GL_DEPTH_COMPONENT24-copypixels
- fbo-depth-GL_DEPTH_COMPONENT32-copypixels
- fbo-depth-GL_DEPTH24_STENCIL8-copypixels
I can't explain it.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
6101b6d442b06a347c001fe85848d636ab7df260 11-Sep-2011 Marek Olšák <maraeo@gmail.com> r600g: merge r600_bo with r600_resource

I have moved 'last_flush' and 'binding' from r600_bo to winsys/radeon.
The other members are now part of r600_resource.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
a3cd2c6c9b3724dbc3aa565dab98968c46bde963 27-Sep-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: remove redundant member radeon_bo::size

It's part of pb_buffer already.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
bfa51dfeac67a7e3383614374c86bdfb5751997a 27-Sep-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: simplify passing GEM domains through to GEM_CREATE
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
296b8990956fcbd7ce47902d7c108a5973db9397 07-Aug-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: remove broken bo-is-busy-for-write guessing

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
2664980760c5cf2e7dde4065f9cc8e8b865627c3 03-Aug-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: remove dummy function pb_buffer
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
d35aeff4bb0b03450b2c3c08bd7f84db5bf43283 18-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g/winsys: rename r300->radeon and do a little cleanup

Renaming a few files, types, and functions.
Also make the winsys independent of r300g.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
6caac3ecb8bc32d92c35fdb1f0a67541ffa8af29 03-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g: do not wait for a busy BO if neither GPU nor CPU is changing it

Improves frame rate in apps with at least one user vertex buffer and
a hw index buffer.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
9d881cbd5a4cd3252fdc8e1f81a6d48d67fc5e5c 03-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g: remove unused RADEON_PB_USAGE_CACHE
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
c35572352e3e92683988ee8d151b47f4190d62f9 03-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g: remove the redundant reference counter in radeon_bo

We already have pb_buffer::reference::count.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
b9e2cde6006b557a3a23a82384899f4d5a5ac7b8 15-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: offload the CS ioctl to another thread

This is a multi-threading optimization which hides the kernel overhead
behind a thread. It improves performance in CPU-limited apps by 2-15%.
Of course you must have at least 2 cores for it to make any difference.

It can be disabled with:

export RADEON_THREAD=0
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
8decb0a96de0accfc8361890cbcf9db89f8fe8ba 15-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: fix a possible race condition when mapping a buffer

This is the last one I think.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
df54b53b7d12a3bca5867b6649cb308feb36f0da 11-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: improve function radeon_bo_is_referenced_by_cs

This should prevent calling into radeon_get_reloc when there's
only one context.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
de22d8f1eebd3245acccdb4098526ee1bf616c06 11-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: remove unused function prototypes, update copyright
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
6ccab620a0e7364ab6c0d902b3ddf58ee988f7fa 23-Dec-2010 Marek Olšák <maraeo@gmail.com> r300g: import the last bits of libdrm and cleanup the whole thing

Based on Dave's branch.

The majority of this commit is a cleanup, mainly renaming things.
There wasn't much code to import, just ioctl calls.

Also done:
- implemented unsynchronized bo_map (important optimization!)
- radeon_bo_is_referenced_by_cs is no longer a refcount hack
- dropped the libdrm_radeon dependency

I'm surprised that this has resulted in less code in the end.
/external/mesa3d/src/gallium/winsys/radeon/drm/radeon_drm_bo.h