mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
gpu: host1x-fence: Share host1x compatible string
Same compatible string can be shared between host1x_next and host1x_fence kernel modules so that those two modules will get automatically loaded. Bug 4291144 Signed-off-by: Johnny Liu <johnliu@nvidia.com> Change-Id: Icf8b3fce960318c129194330c694e47826c440ee Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2983673 Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e45c6bc8a9
commit
6323c46280
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* Host1x fence UAPI
|
||||
*
|
||||
* Copyright (c) 2022, NVIDIA Corporation.
|
||||
* Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/anon_inodes.h>
|
||||
@@ -473,6 +473,12 @@ unregister_chrdev_region:
|
||||
return err;
|
||||
}
|
||||
|
||||
static const struct of_device_id host1x_fence_of_match[] = {
|
||||
{ .compatible = "nvidia,tegra234-host1x" },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, host1x_fence_of_match);
|
||||
|
||||
static int __init tegra_host1x_init(void)
|
||||
{
|
||||
return host1x_uapi_init(&uapi_data);
|
||||
|
||||
Reference in New Issue
Block a user