]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Add context device management code
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:19:48 +0000 (17:19 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 14:27:52 +0000 (16:27 +0200)
commit19282f8e44a10cce6425ab15f88476013b80e635
tree2e09643084d8c033217ebc5c397a35ea450aefd7
parentefa5ab2cf3268cec641fd27b6d34870ff94a2a68
gpu: host1x: Add context device management code

Add code to register context devices from device tree, allocate them
out and manage their refcounts.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/Makefile
drivers/gpu/host1x/context.c [new file with mode: 0644]
drivers/gpu/host1x/context.h [new file with mode: 0644]
drivers/gpu/host1x/dev.c
drivers/gpu/host1x/dev.h
include/linux/host1x.h