]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: Add support for 'memory-region' DT node property
authorMihail Atanassov <Mihail.Atanassov@arm.com>
Mon, 5 Aug 2019 09:56:25 +0000 (09:56 +0000)
committerAyan kumar halder <ayan.halder@arm.com>
Tue, 20 Aug 2019 10:22:23 +0000 (11:22 +0100)
commitc56d7bdd8e61a1e162247a989b159c78fdbab5dd
treeb6cd4a5b441969709afeeba7f0ce2b1daa2221cd
parent7baed0f5e4ab0590169969b6dda0503f0398045f
drm/komeda: Add support for 'memory-region' DT node property

The 'memory-region' property of the komeda display driver DT binding
allows the use of a 'reserved-memory' node for buffer allocations. Add
the requisite of_reserved_mem_device_{init,release} calls to actually
make use of the memory if present.

Changes since v1:
 - Move handling inside komeda_parse_dt

Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Ayan Kumar Halder <ayan.halder@arm.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Link:- https://patchwork.kernel.org/patch/11076413/
drivers/gpu/drm/arm/display/komeda/komeda_dev.c