gpu: host1x: move disply related code under CONFIG_DRM_TEGRA_HAVE_DISPLAY

As display support is not needed for recent chips,
 move the related codes under CONFIG_DRM_TEGRA_HAVE_DISPLAY configs accordingly.

Jira HOSTX-5833

Change-Id: Ie1cfd730a69fcb7d9e26600487a11f720fc509ba
Signed-off-by: Santosh BS <santoshb@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3292240
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Santosh BS
2025-01-28 13:27:43 +00:00
committed by Jon Hunter
parent 91751dfb74
commit 2e59ef0253
5 changed files with 14 additions and 16 deletions

View File

@@ -256,8 +256,10 @@ struct host1x_syncpt_base *host1x_syncpt_get_base(struct host1x_syncpt *sp);
u32 host1x_syncpt_base_id(struct host1x_syncpt_base *base);
#endif
#ifdef CONFIG_DRM_TEGRA_HAVE_DISPLAY
void host1x_syncpt_release_vblank_reservation(struct host1x_client *client,
u32 syncpt_id);
#endif
int host1x_syncpt_get_shim_info(struct host1x *host, phys_addr_t *base, u32 *stride,
u32 *num_syncpts);