diff options
| author | Thierry Reding <treding@nvidia.com> | 2014-08-05 05:20:25 -0400 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 07:56:10 -0500 |
| commit | 3b46d4a0def157e77000e252bf5caae7d3defe1b (patch) | |
| tree | ac24dade46621c6dc0b9adeb65fef358fd7b0e34 /include/drm | |
| parent | 5cc0af16fc08cfb749fd0635e5e9187c31826827 (diff) | |
drm/dsi: Implement DCS set_{column,page}_address commands
Provide small convenience wrappers to set the column and page extents of
the frame memory accessed by the host processors.
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm')
| -rw-r--r-- | include/drm/drm_mipi_dsi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 79927f2d4b6c..061a792daf7d 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h | |||
| @@ -205,6 +205,10 @@ int mipi_dsi_dcs_enter_sleep_mode(struct mipi_dsi_device *dsi); | |||
| 205 | int mipi_dsi_dcs_exit_sleep_mode(struct mipi_dsi_device *dsi); | 205 | int mipi_dsi_dcs_exit_sleep_mode(struct mipi_dsi_device *dsi); |
| 206 | int mipi_dsi_dcs_set_display_off(struct mipi_dsi_device *dsi); | 206 | int mipi_dsi_dcs_set_display_off(struct mipi_dsi_device *dsi); |
| 207 | int mipi_dsi_dcs_set_display_on(struct mipi_dsi_device *dsi); | 207 | int mipi_dsi_dcs_set_display_on(struct mipi_dsi_device *dsi); |
| 208 | int mipi_dsi_dcs_set_column_address(struct mipi_dsi_device *dsi, u16 start, | ||
| 209 | u16 end); | ||
| 210 | int mipi_dsi_dcs_set_page_address(struct mipi_dsi_device *dsi, u16 start, | ||
| 211 | u16 end); | ||
| 208 | int mipi_dsi_dcs_set_tear_off(struct mipi_dsi_device *dsi); | 212 | int mipi_dsi_dcs_set_tear_off(struct mipi_dsi_device *dsi); |
| 209 | int mipi_dsi_dcs_set_tear_on(struct mipi_dsi_device *dsi, | 213 | int mipi_dsi_dcs_set_tear_on(struct mipi_dsi_device *dsi, |
| 210 | enum mipi_dsi_dcs_tear_mode mode); | 214 | enum mipi_dsi_dcs_tear_mode mode); |
