mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
gpu: host1x: multi device support
Update the node names to support multi device config. Bug 4505161 Jira NVGPU-11046 Signed-off-by: Santosh BS <santoshb@nvidia.com> Change-Id: Id5cc345d9ee2eab96e0c999c9e6b510642a398d9 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3142192 Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
00cdac08b6
commit
566858f37f
@@ -50,7 +50,7 @@ int host1x_memory_context_list_init(struct host1x *host1x)
|
||||
ctx->dma_mask = DMA_BIT_MASK(38);
|
||||
ctx->dev.dma_mask = &ctx->dma_mask;
|
||||
ctx->dev.coherent_dma_mask = ctx->dma_mask;
|
||||
dev_set_name(&ctx->dev, "host1x-ctx.%d", i);
|
||||
dev_set_name(&ctx->dev, "%s.host1x-ctx.%d", dev_name(host1x->dev), i);
|
||||
ctx->dev.bus = &host1x_context_device_bus_type;
|
||||
ctx->dev.parent = host1x->dev;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user