]> git.baikalelectronics.ru Git - 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)
commite15b6a458036ba209125df41cd5e11a4f2558846
tree9937b9c8e0f21a2eefcb9062488629ca983a3b5e
parent0f08f1385bc763a812dbd8b21bd60fed242a41a3
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