disp: msm: sde: Move TVM related code under SDE VM config

This change moves TVM related code under SDE VM config.

Change-Id: I8357d6a984fd97f18f24eee33464299e8ea66b12
Signed-off-by: Andhavarapu Karthik <quic_kartkart@quicinc.com>
This commit is contained in:
Andhavarapu Karthik
2021-10-25 16:05:46 +05:30
parent 531591b654
commit c6b0d1fbe9

View File

@@ -58,7 +58,9 @@
#include <linux/qcom-iommu-util.h>
#include "soc/qcom/secure_buffer.h"
#include <linux/qtee_shmbridge.h>
#ifdef CONFIG_DRM_SDE_VM
#include <linux/gunyah/gh_irq_lend.h>
#endif
#define CREATE_TRACE_POINTS
#include "sde_trace.h"
@@ -4823,6 +4825,7 @@ parse_fail:
return rc;
}
#ifdef CONFIG_DRM_SDE_VM
int sde_kms_get_io_resources(struct sde_kms *sde_kms, struct msm_io_res *io_res)
{
struct platform_device *pdev = to_platform_device(sde_kms->dev->dev);
@@ -4854,6 +4857,7 @@ int sde_kms_get_io_resources(struct sde_kms *sde_kms, struct msm_io_res *io_res)
return rc;
}
#endif
static int sde_kms_hw_init(struct msm_kms *kms)
{