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>
Bu işleme şunda yer alıyor:
@@ -58,7 +58,9 @@
|
|||||||
#include <linux/qcom-iommu-util.h>
|
#include <linux/qcom-iommu-util.h>
|
||||||
#include "soc/qcom/secure_buffer.h"
|
#include "soc/qcom/secure_buffer.h"
|
||||||
#include <linux/qtee_shmbridge.h>
|
#include <linux/qtee_shmbridge.h>
|
||||||
|
#ifdef CONFIG_DRM_SDE_VM
|
||||||
#include <linux/gunyah/gh_irq_lend.h>
|
#include <linux/gunyah/gh_irq_lend.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CREATE_TRACE_POINTS
|
#define CREATE_TRACE_POINTS
|
||||||
#include "sde_trace.h"
|
#include "sde_trace.h"
|
||||||
@@ -4823,6 +4825,7 @@ parse_fail:
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_DRM_SDE_VM
|
||||||
int sde_kms_get_io_resources(struct sde_kms *sde_kms, struct msm_io_res *io_res)
|
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);
|
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;
|
return rc;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int sde_kms_hw_init(struct msm_kms *kms)
|
static int sde_kms_hw_init(struct msm_kms *kms)
|
||||||
{
|
{
|
||||||
|
Yeni konuda referans
Bir kullanıcı engelle