mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
drm/tegra: nvhost virtualisation support for t264
Add compatibility string for virtualised nodes Bug 4587237 Jira HOSTX-5297 Change-Id: I53ff8b03989f4001dee73dc2d3d64ba60a0e3ae3 Signed-off-by: Santosh BS <santoshb@nvidia.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2012 Avionic Design GmbH
|
* Copyright (C) 2012 Avionic Design GmbH
|
||||||
* Copyright (C) 2012-2023 NVIDIA CORPORATION. All rights reserved.
|
* Copyright (C) 2012-2024 NVIDIA CORPORATION. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -1458,6 +1458,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {
|
|||||||
{ .compatible = "nvidia,tegra234-ofa", },
|
{ .compatible = "nvidia,tegra234-ofa", },
|
||||||
{ .compatible = "nvidia,tegra234-host1x-virtual-engine", },
|
{ .compatible = "nvidia,tegra234-host1x-virtual-engine", },
|
||||||
{ .compatible = "nvidia,tegra264-vic", },
|
{ .compatible = "nvidia,tegra264-vic", },
|
||||||
|
{ .compatible = "nvidia,tegra264-host1x-virtual-engine", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -619,6 +619,7 @@ static void virt_engine_sysfs_exit(struct virt_engine *virt)
|
|||||||
|
|
||||||
static const struct of_device_id tegra_virt_engine_of_match[] = {
|
static const struct of_device_id tegra_virt_engine_of_match[] = {
|
||||||
{ .compatible = "nvidia,tegra234-host1x-virtual-engine" },
|
{ .compatible = "nvidia,tegra234-host1x-virtual-engine" },
|
||||||
|
{ .compatible = "nvidia,tegra264-host1x-virtual-engine" },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, tegra_virt_engine_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_virt_engine_of_match);
|
||||||
|
|||||||
Reference in New Issue
Block a user