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: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
4bc4dc816c
commit
65816e932b
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user