]> 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)
commit6959f675794706db919ec5e8e01bf9749d35a8f2
tree9937b9c8e0f21a2eefcb9062488629ca983a3b5e
parentec44394fae1fd33989d2ab21926ce6291564c840
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