mirror_ubuntu-kernels/drivers/gpu/drm/omapdrm/dss
Tomi Valkeinen d81711458e drm/omap: dsi: rename 'channel' to 'vc'
The "channel" usage in omap dsi driver is confusing. We have three
different "channels":

1) DSI virtual channel ID. This is a number from 0 to 3, included in the
packet payload.

2) VC. This is a register block in the DSI IP. There are four of those
blocks. A VC is a DSI "pipeline", with defined fifo settings, data
source (cpu or dispc), and some other settings. It has no relation to
the 1).

3) dispc channel. It's the "pipeline" number dispc uses to send pixel
data.

The previous patch handled the third case.

 To start fixing 1) and 2), we first rename all uses of 'channel' to
'vc', as in most of the cases that is the correct thing to use.

However, in some places 1) and 2) have gotten mixed up (i.e. the code
uses msg->channel when it should use vc), which will be fixed in the
following patch.

Note that mixing 1) and 2) currently is "fine", as at the moment we only
support DSI peripherals with DSI virtual channel 0, and we always use
VC0 to send data. So both 1) and 2) are always 0.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-66-tomi.valkeinen@ti.com
2020-12-15 16:17:31 +02:00
..
base.c drm/omap: remove dispc_ops 2020-12-15 16:15:06 +02:00
dispc_coefs.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
dispc.c drm/omap: remove dispc_ops 2020-12-15 16:15:06 +02:00
dispc.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
dpi.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
dsi.c drm/omap: dsi: rename 'channel' to 'vc' 2020-12-15 16:17:31 +02:00
dss.c drm/omap: squash omapdrm sub-modules into one 2020-12-15 16:08:27 +02:00
dss.h drm/omap: remove dss_mgr_ops 2020-12-15 16:17:30 +02:00
hdmi4_cec.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi4_cec.h omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support 2017-10-12 10:49:14 +03:00
hdmi4_core.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi4_core.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi4.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
hdmi5_core.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi5_core.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi5.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
hdmi_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdmi_phy.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi_pll.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi_wp.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
hdmi.h drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00
omapdss.h drm/omap: remove dss_mgr_ops 2020-12-15 16:17:30 +02:00
output.c drm/omap: remove dss_mgr_ops 2020-12-15 16:17:30 +02:00
pll.c drm/omap: pll: fix iteration loop check 2020-12-15 16:17:30 +02:00
sdi.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
venc.c drm/omap: drop unused owner field 2020-12-15 16:08:27 +02:00
video-pll.c drm: omapdrm: Replace HTTP links with HTTPS ones 2020-11-10 14:41:22 +02:00