History log of /external/libdrm/radeon/radeon_cs_gem.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1924b6704aa34bb3dd044b8e1e29558c521c6902 20-Nov-2016 Grazvydas Ignotas <notasas@gmail.com> libdrm: random typo fixes

Just some trivial boring typo fixes all over the tree.
READMEs and comments only.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/radeon/radeon_cs_gem.c
248b3343ce4b855c89bdad4e8251885d1fa6904e 21-Jul-2016 Andreas Boll <andreas.boll.dev@gmail.com> radeon: Fix typo in stderr message

Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/radeon/radeon_cs_gem.c
ec2b105492cae093cc78003239e9b6816d1a7384 15-Aug-2015 Emil Velikov <emil.l.velikov@gmail.com> radeon: cleanup bo/cs func tables

Annotate the data as static const and use C99 designated initializers.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/libdrm/radeon/radeon_cs_gem.c
0f8da82500ec542e269092c0718479e25eaff5f6 31-Mar-2015 Emil Velikov <emil.l.velikov@gmail.com> drm: remove drm_public macro

Some compilers (like the Oracle Studio), require that the function
declaration must be annotated with the same visibility attribute as the
definition. As annotating functions with drm_public is no longer
required just remove the macro.

Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/radeon/radeon_cs_gem.c
42465feb9759ef5a6d79d7e628510cd0a081f913 05-Apr-2015 Emil Velikov <emil.l.velikov@gmail.com> drm: rename libdrm{,_macros}.h

Provide a more meaningful name, considering what it does.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/radeon/radeon_cs_gem.c
ab84a95e85eb88a4f6020100526ddfbd667d00a2 23-Mar-2015 Emil Velikov <emil.l.velikov@gmail.com> radeon: move bof.[ch] out of libdrm_radeon

The functions(files) are used if one explicitly modifies radeon_cs_gem.c
by setting CS_BOF_DUMP to 1. As bof.[ch] is used (copied) to other
out-of-tree projects, keep them around in the distribution tarball.

Cc: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/radeon/radeon_cs_gem.c
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_cs_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_cs_gem.c
58d008883165ba35c83041fa9ed84937163d5f76 06-Sep-2013 Alex Deucher <alexander.deucher@amd.com> radeon: pad CS to 8 DW

Aligns the IB to 8 DWs. The aligns the IB to the
CP fetch size. r6xx also require at least 4 DW
alignment to avoid a hw bug.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/libdrm/radeon/radeon_cs_gem.c
bc494b310d76f701798aee0f2b0b472d608cbfaf 28-Aug-2012 Andreas Boll <andreas.boll.dev@gmail.com> radeon: fix unused-function warning

radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but
not used [-Wunused-function]

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/libdrm/radeon/radeon_cs_gem.c
8420743301a36dc1316fadf53bf8e1478068400a 02-Dec-2010 Marek Olšák <maraeo@gmail.com> radeon: silence valgrind warnings by zeroing memory
/external/libdrm/radeon/radeon_cs_gem.c
78de69713d742645c1c4347a06afca5b38f97184 08-Apr-2010 Jerome Glisse <jglisse@redhat.com> drm/radeon: add new cs command stream dumping facilities

Dump command stream + associated bo into a binary file
which follow a similar design as json file. It allows
to intercept a command stream and replay it in a standalone
program (see radeondb tools).
/external/libdrm/radeon/radeon_cs_gem.c
cc20ed8100834b7a5129ed403dee6c0e15d82cd1 29-Mar-2010 Jerome Glisse <jglisse@redhat.com> drm/radeon: tab/whitespace cleanup
/external/libdrm/radeon/radeon_cs_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_cs_gem.c
1802e1a4e747b5906d3af10c4a53fd457eddcbb4 01-Feb-2010 Pauli Nieminen <suokkos@gmail.com> libdrm/radeon: Fix section size mismatch to reset the section.

If there is section size mismatch reusing the section object
makes section start fail.
Reseting the object before doing error checking prevents the
possible flood of errors.
/external/libdrm/radeon/radeon_cs_gem.c
320811b282d7f57b364f8414e2e7b714f89b0503 14-Jan-2010 Jerome Glisse <jglisse@redhat.com> radeon: get device id from the kernel, use it in cs_print

This allow external tools to know for which asics a cs
is destinated to.
/external/libdrm/radeon/radeon_cs_gem.c
2612371a626337452e598a3339355bf980f5be38 14-Jan-2010 Jerome Glisse <jglisse@redhat.com> radeon: simpler cs print function

We don't intend libdrm-radeon to become clever enough to
decode cs for all GPU we support. Better to let an external
tool do the job. This will print raw cs in an easy to parse
way.
/external/libdrm/radeon/radeon_cs_gem.c
b06cb754a1eee0746c40f62c51d4f0544c39c843 14-Jan-2010 Jerome Glisse <jglisse@redhat.com> radeon: indentation + trailing space cleanup
/external/libdrm/radeon/radeon_cs_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_cs_gem.c
4f57abfe66091281c9f59c14e6ea27b524b55d5b 17-Nov-2009 Kristian Høgsberg <krh@bitplanet.net> Move libdrm/ up one level
/external/libdrm/radeon/radeon_cs_gem.c