mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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
|