mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
597b89d30b
The context bus is a "dummy" bus that contains struct devices that correspond to IOMMU contexts assigned through Host1x to processes. Even when host1x itself is built as a module, the bus is registered in built-in code so that the built-in ARM SMMU driver is able to reference it. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
15 lines
331 B
C
15 lines
331 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (c) 2021, NVIDIA Corporation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __LINUX_HOST1X_CONTEXT_BUS_H
|
|
#define __LINUX_HOST1X_CONTEXT_BUS_H
|
|
|
|
#include <linux/device.h>
|
|
|
|
#ifdef CONFIG_TEGRA_HOST1X_CONTEXT_BUS
|
|
extern struct bus_type host1x_context_device_bus_type;
|
|
#endif
|
|
|
|
#endif
|