sdm: drm: add interlaced content support
Add interlaced content support for drm
Change-Id: Iee47e866f1284d07649330d7d0c977ca8e4757d5
CRs-fixed: 2018756
diff --git a/libdrmutils/drm_interface.h b/libdrmutils/drm_interface.h
index 399972b..bf46200 100644
--- a/libdrmutils/drm_interface.h
+++ b/libdrmutils/drm_interface.h
@@ -92,6 +92,12 @@
*/
PLANE_SET_V_DECIMATION,
/*
+ * Op: Sets source config flags
+ * Arg: uint32_t - Plane ID
+ * uint32_t - flags to enable or disable a specific op. E.g. deinterlacing
+ */
+ PLANE_SET_SRC_CONFIG,
+ /*
* Op: Sets frame buffer ID for plane. Set together with CRTC.
* Arg: uint32_t - Plane ID
* uint32_t - Framebuffer ID
@@ -169,6 +175,10 @@
COVERAGE = 3,
};
+enum struct DRMSrcConfig {
+ DEINTERLACE = 0,
+};
+
/* Display type to identify a suitable connector */
enum struct DRMDisplayType {
PERIPHERAL,