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:
Santosh BS
2024-09-12 04:30:00 +00:00
committed by Jon Hunter
parent 77f78b0348
commit 021bbbedb0
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* 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>
@@ -1458,6 +1458,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {
{ .compatible = "nvidia,tegra234-ofa", },
{ .compatible = "nvidia,tegra234-host1x-virtual-engine", },
{ .compatible = "nvidia,tegra264-vic", },
{ .compatible = "nvidia,tegra264-host1x-virtual-engine", },
{ /* sentinel */ }
};

View File

@@ -1,6 +1,6 @@
// 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>
@@ -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[] = {
{ .compatible = "nvidia,tegra234-host1x-virtual-engine" },
{ .compatible = "nvidia,tegra264-host1x-virtual-engine" },
{ },
};
MODULE_DEVICE_TABLE(of, tegra_virt_engine_of_match);