[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190713120346.30349-1-jernej.skrabec@siol.net>
Date: Sat, 13 Jul 2019 14:03:43 +0200
From: Jernej Skrabec <jernej.skrabec@...l.net>
To: maxime.ripard@...tlin.com, wens@...e.org
Cc: airlied@...ux.ie, daniel@...ll.ch, dri-devel@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-sunxi@...glegroups.com
Subject: [PATCH 0/3] drm/sun4i: Add support for color encoding and range
In order to correctly convert image between YUV and RGB, you have to
know color encoding and color range. This patch set adds appropriate
properties and considers them when choosing CSC conversion matrix for
DE2 and DE3.
Note that this is only the half of needed changes when using HDMI output.
DW HDMI bridge driver has to be extended to have a property to select
limited (TVs) or full (PC monitors) range. But that will be done at a
later time.
Please take a look.
Best regards,
Jernej
Jernej Skrabec (3):
drm/sun4i: Introduce color encoding and range properties
drm/sun4i: sun8i_csc: Simplify register writes
drm/sun4i: sun8i-csc: Add support for color encoding and range
drivers/gpu/drm/sun4i/sun8i_csc.c | 155 +++++++++++++++++++------
drivers/gpu/drm/sun4i/sun8i_csc.h | 6 +-
drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 21 +++-
3 files changed, 146 insertions(+), 36 deletions(-)
--
2.22.0
Powered by blists - more mailing lists