]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/exynos: mixer: document YCbCr magic numbers
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Fri, 10 Mar 2017 14:21:54 +0000 (15:21 +0100)
committerInki Dae <inki.dae@samsung.com>
Thu, 1 Jun 2017 07:21:36 +0000 (16:21 +0900)
commit2a6e4cd53c498c6762d9fa69745b84ff99815905
tree9937b9c8e0f21a2eefcb9062488629ca983a3b5e
parent2a39db01361ec378718648de90a6e817f891b8d4
drm/exynos: mixer: document YCbCr magic numbers

The output stage of the mixer uses YCbCr for the internal
computations, which is the reason that some registers take
YCbCr related data as input. In particular this applies
to MXR_BG_COLOR{0,1,2} and MXR_CM_COEFF_{Y,CB,CR}.

Document the formatting of the data which we write to
these registers.

While at it, unify wording of comments in the register header.

Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c
drivers/gpu/drm/exynos/regs-mixer.h