History log of /frameworks/rs/rsDriverLoader.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae2ec3febedfc29376b9104413fb4042028f1265 01-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.

Bug: 27298560
Change-Id: I8c3d568e98aaf0b7d86881c985d13ed5b8e95338
8e70791ff732ce244077310bdfdaf75dc19baabc 07-Jun-2016 David Gross <dgross@google.com> Add HAL version check, with fallback to CPU reference driver on failure.

libRS_internal and the vendor driver (or CPU reference driver) must
agree on HAL version.

Bug: 27298560
Change-Id: Ie4886af9c9cf6a91a164b8cfedb5c010ffbf9cb0
6c1876bbef1b2c89975dce91230a168bd2d2ce4c 15-Jan-2016 David Gross <dgross@google.com> Support for general reduction kernels.

Requires coordinated change in frameworks/base.

Requires coordinated change in frameworks/compile/libbcc in order
for RsTest to run.

At present, general reduction kernels are run single-threaded.

Also: Remove dead struct field MTLaunchStructForEach::sig.

Bug: 23535724
Change-Id: Ice17ccf20a902f8a106eaa62ec071d46e3c0ad8c
b995629a3fdd6c8dd8e99aa8ffabc08a2d106272 19-Aug-2015 Stephen Hines <srhines@google.com> Merge "Add a basic implementation of the reduce kernel API to the CPU reference implementation."
14ce007a633b10e3b9a3fae29d8f53a7e8c9b59f 31-Jul-2015 Matt Wala <wala@google.com> Add a basic implementation of the reduce kernel API to the CPU
reference implementation.

Bug: 22631253

For now, this just runs a serial reduction on one thread.

Change-Id: I34c96d24bb6f44274de72bb53160abcf79d143b0
e5e18cca3eefccf3a6aabd254ceb2c59f120a7d2 13-Aug-2015 Elliott Hughes <enh@google.com> Lose HAVE_ANDROID_OS in frameworks/rs.

Change-Id: Iba57869192ba9b1fde995ff0e48b7a28b2cb122f
47a5881b8f85d65c74f2471fe6261d4cdb3dce5e 24-Jul-2015 Miao Wang <miaowang@google.com> Add AllocationCreateStrided to support lib CPU driver

- Able to create Allocations with arbitrary alignment requirement,
making Incremental Intrinsic Support able to run with different
native GPU RS runtime.
- Make compat mode CPU driver using an additional rs_compat.spec.
- Add a compat mode only USAGE_INCREMENTAL_SUPPORT.
- Add AllocationCreateStrided() to take an Alignment requirement (power
of 2). Only enbled when detect USAGE_INCREMENTAL_SUPPORT.

Change-Id: I66f913c3a2474f93af5a244c0c84460a7a395e71
b268abd5528936d13a85b03f44458fe3a55cafad 11-Jun-2015 Jon Parr <jon.parr@imgtec.com> Allow drivers to alter the default driver name on rsdHalInit

Bug: 20894432

Permit partner drivers via Context::setDriverName to choose their
own mDriverName rather than the default OVERRIDE_RS_DRIVER string.

This can only be done once from within rsdHalInit otherwise it will
be ignored and the default behaviour will apply.

Change-Id: I49b81e60f7983a81f0e71fbef4b46f9bfc834849
8ce12815675bfaeb2768959b092d6db293ba36c5 19-May-2015 Jason Sams <jsams@google.com> Notify drivers when user get a pointer to allocation

Requested by vendor for driver bring-up.

bug 20894664

Change-Id: I7a1540236e557ef42ffde1c832b5d5ef36b91c96
f82b626e0479ce4a23ebff1fc088e073dcabaa30 12-May-2015 Jason Sams <jsams@google.com> Add USAGE_OEM

Allow OEMs to pass data from other HW blocks via internal

Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
4c368af7e705f0bcb77fa99495b2e33ef20d2699 06-May-2015 Stephen Hines <srhines@google.com> Add a way to link against different driver names.

The existing linker path hard-coded "-lRSDriver" into the command line, but
this won't work for partner drivers that have a different implementation
loaded. In order to still properly handle use of the CPU driver, this needs
to change depending on whether we actually loaded an OVERRIDE_RS_DRIVER or

Change-Id: I0c4a4f12f5db819b234952bc8f364ac6300f147b
b2e33f32b66b820b1973232f0841c5de8616372b 16-Mar-2015 Jason Sams <jsams@google.com> Fix problems creating graphics context.

bug 19762899

Change-Id: Iacf34274b0bde4237ecb61bb2429b24f993b7e8d
6b1b173adc9e97f797d3324006f850cf840137ac 13-Mar-2015 Miao Wang <miaowang@google.com> Make compat lib able to load through the new HAL.

Change-Id: I15a10ffd08399b102e0e209958f5230937e8c83a
0ca7cbaea8d5cf18f25d1148be75fbb6e2d86c62 11-Mar-2015 Jason Sams <jsams@google.com> Refactor hal loading

This CL make the loading of RS drivers more robust by
looking up entry points in place of a structure of entry points.

It also adds framework for a version handshake.

Change-Id: Iae46bf0171785c0ca1048223816b6efc60c337ad