sdm: Re-define MultiRect MDP flags
Re-define MultiRect MDP flags in SDM to avoid compilation dependency
with drivers, which do not have MultiRect feature support.
CRs-Fixed: 1003688
Change-Id: I3302dff5ddb679900ca353581859a39cfd6fcbb9
diff --git a/sdm/libs/core/fb/hw_device.h b/sdm/libs/core/fb/hw_device.h
index 4a997a9..7311271 100644
--- a/sdm/libs/core/fb/hw_device.h
+++ b/sdm/libs/core/fb/hw_device.h
@@ -36,6 +36,14 @@
#define IOCTL_LOGE(ioctl, type) DLOGE("ioctl %s, device = %d errno = %d, desc = %s", #ioctl, \
type, errno, strerror(errno))
+#ifndef MDP_LAYER_MULTIRECT_ENABLE
+#define MDP_LAYER_MULTIRECT_ENABLE 0
+#endif
+
+#ifndef MDP_LAYER_MULTIRECT_PARALLEL_MODE
+#define MDP_LAYER_MULTIRECT_PARALLEL_MODE 0
+#endif
+
namespace sdm {
class HWInfoInterface;