Skip to contentSkip to conversation

drm: Add new DCS commands in the enum list

PATCH In review Deepak M 2 participants 2 messages Mar 24, 2016 Framebuffer layer

lore
Share & tools
lore

Deepak M

author
#0 lore raw

PATCH 1/1 drm: Add new DCS commands in the enum list

Adding new DCS commands which are specified in the DCS 1.3 spec related to CABC.

Cc Thierry Reding <[email protected]>
Cc David Airlie <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 include/video/mipi_display.h | 8 ++++++++
 1 file changed, 8 insertions(+)
include/video/mipi_display.h +8 -0
index ddcc8ca..bb8195b 100644
@@ -117,6 +117,14 @@ enum {
 	MIPI_DCS_GET_SCANLINE		= 0x45,
 	MIPI_DCS_READ_DDB_START		= 0xA1,
 	MIPI_DCS_READ_DDB_CONTINUE	= 0xA8,
+	MIPI_DCS_GET_DISPLAY_BRIGHTNESS = 0x52,
+	MIPI_DCS_GET_CABC_MIN_BRIGHTNESS = 0x5F,
+	MIPI_DCS_GET_POWER_SAVE		= 0x56,
+	MIPI_DCS_GET_CONTROL_DISPLAY	= 0x54,
+	MIPI_DCS_SET_DISPLAY_BRIGHTNESS = 0x51,
+	MIPI_DCS_SET_CABC_MIN_BRIGHTNESS = 0x5E,
+	MIPI_DCS_WRITE_POWER_SAVE	= 0x55,
+	MIPI_DCS_WRITE_CONTROL_DISPLAY  = 0x53,
 };
 
 /* MIPI DCS pixel formats */
Signature · 6 lines
1.9.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 19 lines · Deepak M

Adding new DCS commands which are specified in the DCS 1.3 spec related to CABC.

Cc Thierry Reding <[email protected]>
Cc David Airlie <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 include/video/mipi_display.h | 8 ++++++++
 1 file changed, 8 insertions(+)
include/video/mipi_display.h +0 -0
index ddcc8ca..bb8195b 100644
@@ -117,6 +117,14 @@ enum {
 	MIPI_DCS_GET_SCANLINE		= 0x45,

include/video/mipi_display.h enum { · line 127

Quoted 10 lines
include/video/mipi_display.h +8 -0
 	MIPI_DCS_READ_DDB_START		= 0xA1,
 	MIPI_DCS_READ_DDB_CONTINUE	= 0xA8,
+	MIPI_DCS_GET_DISPLAY_BRIGHTNESS = 0x52,
+	MIPI_DCS_GET_CABC_MIN_BRIGHTNESS = 0x5F,
+	MIPI_DCS_GET_POWER_SAVE		= 0x56,
+	MIPI_DCS_GET_CONTROL_DISPLAY	= 0x54,
+	MIPI_DCS_SET_DISPLAY_BRIGHTNESS = 0x51,
+	MIPI_DCS_SET_CABC_MIN_BRIGHTNESS = 0x5E,
+	MIPI_DCS_WRITE_POWER_SAVE	= 0x55,
+	MIPI_DCS_WRITE_CONTROL_DISPLAY  = 0x53,

Please keep the list sorted by value.
Maybe it would be worth to add comment indicating spec version?

	MIPI_DCS_GET_DISPLAY_BRIGHTNESS = 0x52,		/* Spec 1.3 */

Regards
Andrzej

include/video/mipi_display.h enum { · line 130

Quoted 4 lines
include/video/mipi_display.h +0 -0
 };
 
 /* MIPI DCS pixel formats */

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel