drm/tegra: Fix OFA support

When the OFA driver was added for Tegra234, the driver was not added to
the list of drivers registered by the Tegra DRM driver. This is breaking
support for Tegra DRM. Add the OFA driver to the lists of driver to fix
Tegra DRM support.

Bug 3819719
Bug 3845104

Change-Id: I023f2abe38f9249680358170e0bdd85547e0c4ba
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2797758
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2022-10-25 18:51:10 +01:00
committed by Laxman Dewangan
parent 5bd1c2ca5c
commit ef6b32711f
2 changed files with 2 additions and 0 deletions

View File

@@ -1428,6 +1428,7 @@ static struct platform_driver * const drivers[] = {
&tegra_nvdec_driver,
&tegra_nvenc_driver,
&tegra_nvjpg_driver,
&tegra_ofa_driver,
};
static int __init host1x_drm_init(void)

View File

@@ -216,5 +216,6 @@ extern struct platform_driver tegra_vic_driver;
extern struct platform_driver tegra_nvdec_driver;
extern struct platform_driver tegra_nvenc_driver;
extern struct platform_driver tegra_nvjpg_driver;
extern struct platform_driver tegra_ofa_driver;
#endif /* HOST1X_DRM_H */