author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 12 Oct 2016 10:09:42 +0000 (13:09 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Mon, 17 Oct 2016 10:18:57 +0000 (13:18 +0300) | ||
commit | 027ddf1b0ad9f02b3bf64bf6d1d963f34f887162 | |
tree | 4c815d56de6112facd6beab6ee7b640606d1b417 | tree | snapshot (tar.xz tar.gz zip) |
parent | 74186fe689508ecf36c641e75caaa9fc6bcc131b | commit | diff |
ti_config_fragments: increase CMA size for AM3/4 & K2G
AM3 BeagleBone Black, AM4 EVM and K2G EVM all have HDMI output, and
require contiguous memory from CMA for the HDMI buffers. The current CMA
size is not enough for many common use cases.
This patch increases the CMA memory to 48M in *_only.cfg fragments. This
is far from optimal, as even boards without any displays will get
increased CMA area.
Preferably I would want to increase the default CMA memory area from a
board file. This can be done, but results in "cma=" kernel parameter to
be ignored, removing the user's option to change the CMA, which is not
acceptable.
Alternatively, a separate CMA area for display driver could be created,
but this requires more work and testing, and is also not optimal as then
that CMA area is out of other drivers' use.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
AM3 BeagleBone Black, AM4 EVM and K2G EVM all have HDMI output, and
require contiguous memory from CMA for the HDMI buffers. The current CMA
size is not enough for many common use cases.
This patch increases the CMA memory to 48M in *_only.cfg fragments. This
is far from optimal, as even boards without any displays will get
increased CMA area.
Preferably I would want to increase the default CMA memory area from a
board file. This can be done, but results in "cma=" kernel parameter to
be ignored, removing the user's option to change the CMA, which is not
acceptable.
Alternatively, a separate CMA area for display driver could be created,
but this requires more work and testing, and is also not optimal as then
that CMA area is out of other drivers' use.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ti_config_fragments/am33xx_only.cfg | diff | blob | history | |
ti_config_fragments/am43xx_only.cfg | diff | blob | history | |
ti_config_fragments/k2g_only.cfg | diff | blob | history |