diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2020-03-05 00:25:12 +0100 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@siol.net> | 2020-03-24 21:14:38 +0100 |
commit | 0e8003076aca7b29c868e923e73f332cca12ed8b (patch) | |
tree | 69a80ad8d17b1bc9cdac5ffd1e93de796327d1ec /mm/slob.c | |
parent | drm/bridge: dw-hdmi: Add support for RGB limited range (diff) | |
download | linux-0e8003076aca7b29c868e923e73f332cca12ed8b.tar.xz linux-0e8003076aca7b29c868e923e73f332cca12ed8b.zip |
drm/bridge: dw-hdmi: rework csc related functions
is_color_space_conversion() is a misnomer. It checks not only if color
space conversion is needed, but also if format conversion is needed.
This is actually desired behaviour because result of this function
determines if CSC block should be enabled or not (CSC block can also do
format conversion).
In order to clear misunderstandings, let's rework
is_color_space_conversion() to do exactly what is supposed to do and add
another function which will determine if CSC block must be enabled or
not.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200304232512.51616-5-jernej.skrabec@siol.net
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions