summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-10-28 16:00:46 +0100
committerJani Nikula <jani.nikula@intel.com>2019-11-07 13:59:56 +0100
commit97ecec8b7fa59c378b010efbdaecfd85d7a04d98 (patch)
tree307613545b39ab4e39d6566eee1baa1e983dac1b /include/video
parentdrm/dsi: add missing DSI DCS commands (diff)
downloadlinux-97ecec8b7fa59c378b010efbdaecfd85d7a04d98.tar.xz
linux-97ecec8b7fa59c378b010efbdaecfd85d7a04d98.zip
drm/dsi: rename MIPI_DCS_SET_PARTIAL_AREA to MIPI_DCS_SET_PARTIAL_ROWS
The DCS command has been named SET_PARTIAL_ROWS in the DCS spec since v1.02, for more than a decade. Rename the enumeration to match the spec. v2: add comment about the rename (David Lechner) Cc: David Lechner <david@lechnology.com> Cc: Vandita Kulkarni <vandita.kulkarni@intel.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191028150047.22048-4-jani.nikula@intel.com
Diffstat (limited to 'include/video')
-rw-r--r--include/video/mipi_display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/video/mipi_display.h b/include/video/mipi_display.h
index 928f8c4b6658..b6d8b874233f 100644
--- a/include/video/mipi_display.h
+++ b/include/video/mipi_display.h
@@ -108,7 +108,7 @@ enum {
MIPI_DCS_WRITE_MEMORY_START = 0x2C,
MIPI_DCS_WRITE_LUT = 0x2D,
MIPI_DCS_READ_MEMORY_START = 0x2E,
- MIPI_DCS_SET_PARTIAL_AREA = 0x30,
+ MIPI_DCS_SET_PARTIAL_ROWS = 0x30, /* MIPI DCS 1.02 - MIPI_DCS_SET_PARTIAL_AREA before that */
MIPI_DCS_SET_PARTIAL_COLUMNS = 0x31,
MIPI_DCS_SET_SCROLL_AREA = 0x33,
MIPI_DCS_SET_TEAR_OFF = 0x34,