[composer] Make Auto low latency mode APIs optional.
BUG: b/147365206
Test: boot
Change-Id: I54e21cbbf3b69813d8c58bd33b0c1d1e5f7a8fd8
diff --git a/include/hardware/hwcomposer2.h b/include/hardware/hwcomposer2.h
index 182b30c..f9e5e1f 100644
--- a/include/hardware/hwcomposer2.h
+++ b/include/hardware/hwcomposer2.h
@@ -2953,8 +2953,7 @@
/* setAutoLowLatencyMode(displayToken, on)
* Descriptor: HWC2_FUNCTION_SET_AUTO_LOW_LATENCY_MODE
- * Required for HWC2 devices for composer 2.4, connected to a display via HDMI 2.1
- * Optional for internally connected devices and HDMI <2.1 display connections
+ * Optional for HWC2 devices
*
* setAutoLowLatencyMode requests that the display goes into low latency mode. If the display
* is connected via HDMI 2.1, then Auto Low Latency Mode should be triggered. If the display is
@@ -2972,7 +2971,7 @@
/* getSupportedContentTypes(..., outSupportedContentTypes)
* Descriptor: HWC2_FUNCTION_GET_SUPPORTED_CONTENT_TYPES
- * Required for HWC2 devices for composer 2.4
+ * Optional for HWC2 devices
*
* getSupportedContentTypes returns a list of supported content types
* (as described in the definition of ContentType above).
@@ -2993,8 +2992,7 @@
/* setContentType(displayToken, contentType)
* Descriptor: HWC2_FUNCTION_SET_CONTENT_TYPE
- * Required for HWC2 devices for composer 2.4
- * Optional for HWC2 devices for composer 2.1, 2.2, 2.3
+ * Optional for HWC2 devices
*
* setContentType instructs the display that the content being shown is of the given contentType
* (one of GRAPHICS, PHOTO, CINEMA, GAME).