]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 5 May 2020 16:03:29 +0000 (17:03 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 29 Jun 2020 07:45:15 +0000 (09:45 +0200)
commit7a05c3b6d24b8460b3cec436cf1d33fac43c8450
tree3388ebf53ac659a639017c69ab9ffe154f0575f2
parent1a5c4fe91de2e81c93c1e249a6a05295295ff3d9
drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline

The helper uses the MIPI_DCS_SET_TEAR_SCANLINE, although it's currently
using the generic write. This does not look right.

Perhaps some platforms don't distinguish between the two writers?

Cc: Robert Chiras <robert.chiras@nxp.com>
Cc: Vinay Simha BN <simhavcs@gmail.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Thierry Reding <treding@nvidia.com>
Fixes: e83950816367 ("drm/dsi: Implement set tear scanline")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200505160329.2976059-3-emil.l.velikov@gmail.com
drivers/gpu/drm/drm_mipi_dsi.c