Skip to content

Commit

Permalink
(DO NOT MERGE) ODROID-COMMON: drm/meson: not load RGB709 to YUV709 co…
Browse files Browse the repository at this point in the history
…efficient

By loading this matrix, OSD color becomes a bit reddish.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ice08001c967c39b638ab534453b784c2958ff7f0
  • Loading branch information
tobetter committed Sep 8, 2021
1 parent 51125f1 commit ef59683
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/meson/meson_viu.c
Expand Up @@ -425,9 +425,12 @@ void meson_viu_init(struct meson_drm *priv)
if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXM) ||
meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXL))
meson_viu_load_matrix(priv);
#if 0
/* FIXME: */
else if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_G12A))
meson_viu_set_g12a_osd1_matrix(priv, RGB709_to_YUV709l_coeff,
true);
#endif

/* Initialize OSD1 fifo control register */
reg = VIU_OSD_DDR_PRIORITY_URGENT |
Expand Down

0 comments on commit ef59683

Please sign in to comment.