OSDN Git Service

drm/exynos: mixer: Fix color range setting
authorChristoph Manszewski <c.manszewski@samsung.com>
Wed, 28 Nov 2018 15:32:12 +0000 (16:32 +0100)
committerInki Dae <inki.dae@samsung.com>
Wed, 5 Dec 2018 08:35:21 +0000 (17:35 +0900)
commit13e810f199b48383523707aa69fb9673d688055a
treebd89011db6faa6e102536dd447390acadca678ab
parente9e5ba93cb1f61c16298aade49ec2537d497f0d6
drm/exynos: mixer: Fix color range setting

Color format and color range was set based on resolution. Change that,
by splitting range and format. Leave color format setting as it is,
set color range based on drm_display_mode using
drm_default_quant_range helper function.

Tested on Odroid-U3 with Exynos 4412 CPU, kernel next-20181128
using modetest.

Signed-off-by: Christoph Manszewski <c.manszewski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c
drivers/gpu/drm/exynos/regs-mixer.h