diff options
author | Dave Airlie <airlied@redhat.com> | 2022-11-30 04:08:53 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-11-30 04:08:58 +0100 |
commit | 02339a83dc828cf1b6dfcb42502f80f7c8d7e33f (patch) | |
tree | c6226c233d97e6e996152474db8562460a2b0663 /include/soc | |
parent | Merge tag 'drm-accel-2022-11-22' of https://git.kernel.org/pub/scm/linux/kern... (diff) | |
parent | gpu: host1x: Staticize host1x_syncpt_fence_ops (diff) | |
download | linux-02339a83dc828cf1b6dfcb42502f80f7c8d7e33f.tar.xz linux-02339a83dc828cf1b6dfcb42502f80f7c8d7e33f.zip |
Merge tag 'drm/tegra/for-6.2-rc1' of https://gitlab.freedesktop.org/drm/tegra into drm-next
drm/tegra: Changes for v6.2-rc1
This contains a bunch of cleanups across the board as well as support
for the NVDEC hardware found on the Tegra234 SoC.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Thierry Reding <thierry.reding@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221125155219.3352952-1-thierry.reding@gmail.com
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/tegra/mc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h index 47ce6d434427..51a2263e1bc5 100644 --- a/include/soc/tegra/mc.h +++ b/include/soc/tegra/mc.h @@ -193,6 +193,8 @@ struct tegra_mc_soc { unsigned int num_address_bits; unsigned int atom_size; + unsigned int num_carveouts; + u16 client_id_mask; u8 num_channels; @@ -244,6 +246,8 @@ unsigned int tegra_mc_get_emem_device_count(struct tegra_mc *mc); #ifdef CONFIG_TEGRA_MC struct tegra_mc *devm_tegra_memory_controller_get(struct device *dev); int tegra_mc_probe_device(struct tegra_mc *mc, struct device *dev); +int tegra_mc_get_carveout_info(struct tegra_mc *mc, unsigned int id, + phys_addr_t *base, u64 *size); #else static inline struct tegra_mc * devm_tegra_memory_controller_get(struct device *dev) @@ -256,6 +260,13 @@ tegra_mc_probe_device(struct tegra_mc *mc, struct device *dev) { return -ENODEV; } + +static inline int +tegra_mc_get_carveout_info(struct tegra_mc *mc, unsigned int id, + phys_addr_t *base, u64 *size) +{ + return -ENODEV; +} #endif #endif /* __SOC_TEGRA_MC_H__ */ |