diff options
author | Jorgen Nilsson <jorgen.nilsson@stericsson.com> | 2012-02-06 17:04:49 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 10:59:33 +0200 |
commit | 7be2331868e098bdade6eb8ae9474e851ecd99e5 (patch) | |
tree | f2eb14e4203de6710ec8383829ea5bf19ac0a5c8 /fs | |
parent | 6fdae26dd1ed7dc56d6d231a48f88e59aee98d8c (diff) |
pm: [ANDROID]: b2r2: Add kernel API to b2r2 and more
Brief:
As a preparation for the ICS hardware composer solution a
kernel API has been added to the b2r2 driver. Some minor
stability fixes are also part of this release. The full
support for dual b2r2 configuration should be in place,
but has yet to be verified with the apropriate hardware.
The change should have minor impact on the single core
solution.
Details:
A new logical device for handling the blitter requests
has been added. This is roughly the same device as the old
blitter the interfaces are therefore the same. From now there
is at least two devices - one blitter device and then for each
core one additional device (dual configuration is the current
target). As a consequence the maximum number of allowed cores
has been raised from 1 to 2.
When a dual configuration is active the b2r2 driver
seamlessly splits requests over available b2r2 cores. Each
request is assigned a core_mask defining which cores are doing
part of the job. This helps keep track when waiting for the reports.
Also, rectangles are now recalculated (based on intersection
of destination rectangle and destination image etc.) before
splitting the job in order to maximize throughput.
Clock and power source can now be configured from
devices-dbxxxx.c or equivalent.
Minor bug fixes:
- Check the return value from clk_enable
- Check if the core is valid before serving a IRQ.
- Check if the core is enabled (domain_enabled) before
adding a new job.
- Return actual job_id used for a request (previously
always 0)
ST-Ericsson ID: 404691
Original Change-Id: Ic3357c4c1e792a84077c1be4ba4c5acdb19da266
Signed-off-by: Jorgen Nilsson <jorgen.nilsson@stericsson.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions