Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65816e93 authored by Nilaan Gunabalachandran's avatar Nilaan Gunabalachandran Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: Decouple techpack components



Decouple each subcomponent by checking config flags during
compilation.
Add handling inside rotator debug to decouple event logging.

Change-Id: I3ac60444f9d18e20c28232324023e561a7aa4f96
Signed-off-by: default avatarNilaan Gunabalachandran <ngunabal@codeaurora.org>
parent 4bc4dc81
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -17,6 +17,6 @@ ifeq ($(CONFIG_ARCH_LITO), y)
LINUXINCLUDE    += -include $(srctree)/techpack/display/config/saipdispconf.h
endif

obj-y += msm/
obj-y += rotator/
obj-y += pll/
obj-$(CONFIG_DRM_MSM) += msm/
obj-$(CONFIG_MSM_SDE_ROTATOR) += rotator/
obj-$(CONFIG_QCOM_MDSS_PLL) += pll/
+11 −0
Original line number Diff line number Diff line
@@ -34,8 +34,19 @@ enum sde_rot_dbg_evtlog_flag {
	sde_rot_evtlog_tout_handler(false, __func__, ##__VA_ARGS__, \
		SDE_ROT_EVTLOG_TOUT_DATA_LIMITER)

#if defined(CONFIG_MSM_SDE_ROTATOR_EVTLOG_DEBUG)
void sde_rot_evtlog(const char *name, int line, int flag, ...);
void sde_rot_evtlog_tout_handler(bool queue, const char *name, ...);
#else
static inline
void sde_rot_evtlog(const char *name, int line, int flag, ...)
{
}
static inline
void sde_rot_evtlog_tout_handler(bool queue, const char *name, ...)
{
}
#endif

struct sde_rotator_device;