History log of /external/libdrm/radeon/radeon_bo_gem.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6281cf1b4310ff0b7670677cb4113a89ebf0b619 07-Sep-2014 Emil Velikov <emil.l.velikov@gmail.com> radeon: use drm_mmap/drm_munmap wrappers

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
/external/libdrm/radeon/radeon_bo_gem.c
58ce9d6292c7033ff76bb2ef35da0e4c36de2389 31-Jul-2014 Maarten Lankhorst <maarten.lankhorst@canonical.com> radeon: Use symbol visibility.

All the bof_* symbols are now no longer exported.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/libdrm/radeon/radeon_bo_gem.c
a0178c00c70f4b47e09ed7564fc2ccde611231a0 05-Jun-2013 Mark Kettenis <kettenis@openbsd.org> radeon: correct RADEON_GEM_WAIT_IDLE use

RADEON_GEM_WAIT_IDLE is declared DRM_IOW but libdrm
uses it with drmCommandWriteRead instead of drmCommandWrite
which leads to the ioctl being unmatched and returning an
error on at least OpenBSD.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
/external/libdrm/radeon/radeon_bo_gem.c
0980633afd9c7eecc0c75ef3bea4d3c6b7aa1898 27-Nov-2012 Jerome Glisse <jglisse@redhat.com> drm/radeon: track global bo name and always return the same

To avoid kernel rejecting cs if we return different global name
for same bo keep track of global name and always return the same.
Seems to fix issue with suspend/resume failing and repeatly printing
following message :
[drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!

There might still be way for a rogue program to trigger this issue.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/libdrm/radeon/radeon_bo_gem.c
3163cfe4db925429760407e77140e2d595338bc2 12-Jun-2012 Dave Airlie <airlied@redhat.com> radeon: add prime import/export support

this adds radeon version of the prime import/export support.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/libdrm/radeon/radeon_bo_gem.c
8420743301a36dc1316fadf53bf8e1478068400a 02-Dec-2010 Marek Olšák <maraeo@gmail.com> radeon: silence valgrind warnings by zeroing memory
/external/libdrm/radeon/radeon_bo_gem.c
966c9907c040b4fe4b288b4a9d82598797aee743 28-Aug-2009 Pauli Nieminen <suokkos@gmail.com> libdrm_radeon: Optimize cs_gem_reloc to do less looping.

bo->referenced_in_cs is checked if bo is already in cs. Adding and removing
reference in bo is done with atomic operations to allow parallel access to a
bo from multiple contexts.

cs->id generation code quarentees there is not duplicated ids which limits
number of cs->ids to 32. If there is more cs objects rest will get id 0.

V2:
- Fix configure to check for atomics operations if libdrm_radeon is only selected.
- Make atomic operations private to libdrm.

This optimization decreases cs_write_reloc share of torcs profiling from 4.3%
to 2.6%.

Tested-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
/external/libdrm/radeon/radeon_bo_gem.c
6bf1ed2979ca56d3e8dd8938fc08e3810887ae8a 14-Jan-2010 Jerome Glisse <jglisse@redhat.com> radeon: indentation & trailing space cleanup
/external/libdrm/radeon/radeon_bo_gem.c
6de39fc73050a386a39c53e522098a0a784e7ff8 21-Dec-2009 Dave Airlie <airlied@redhat.com> radeon: fix BO null check, should be in higher level fn
/external/libdrm/radeon/radeon_bo_gem.c
125994ab30d4f0f126c62fa741ec62a52d69d7a8 17-Dec-2009 Dave Airlie <airlied@redhat.com> radeon: straighten out the API insanity.

as Michel pointed out we are exposing too much info for these object
for this to be maintainable going forward.

This patch set minimises the exposed parts of the radeon_bo and
radeon_cs objects to the piece necessary for ddx/mesa to operate
at a decent speed.

The major problem is mesa contains a legacy BO/CS managers which we still
need to expose functionality to, and we really cannot change the API
until we can drop the non-KMS codepaths.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/libdrm/radeon/radeon_bo_gem.c
b84314a86ea4ad30e0f57a71b4ef0fa138fb24c6 07-Dec-2009 Jerome Glisse <jglisse@redhat.com> radeon: Use drmIoctl so we restart ioctl on EINTR or EAGAIN

This is needed as change in kernel will lead to ioctl returning
EINTR if they are interrupted.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/libdrm/radeon/radeon_bo_gem.c
4f57abfe66091281c9f59c14e6ea27b524b55d5b 17-Nov-2009 Kristian Høgsberg <krh@bitplanet.net> Move libdrm/ up one level
/external/libdrm/radeon/radeon_bo_gem.c