mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
The VIC and NVDEC drivers contain some duplicated code. Start chipping away at that by introducing a helper for programming the TRANSCFG and STREAMID registers. Bug 3778105 Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Change-Id: I30f9cf3fb8fb89fa5abf5f5e17ba41649a42097e Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2771766 (cherry picked from commit 27872b2f90d66d8706594f5903cff4d2b1e88be4) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2759058 Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by: Jonathan Hunter <jonathanh@nvidia.com>
12 lines
250 B
C
12 lines
250 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022, NVIDIA Corporation.
|
|
*/
|
|
|
|
#ifndef DRM_TEGRA_UTIL_H
|
|
#define DRM_TEGRA_UTIL_H
|
|
|
|
void tegra_drm_program_iommu_regs(struct device *dev, void __iomem *regs, u32 transcfg_offset);
|
|
|
|
#endif
|