Skip to content
Commit 47cfd85c authored by Quanyang Wang's avatar Quanyang Wang Committed by Bruce Ashfield
Browse files

drm: xlnx: zynqmp: tpg should use swap_coeffs as csc matrix



The Test Pattern Generator in video layer creates output in rgb mode,
so in function zynqmp_disp_blend_layer_coeff, we should add a condition
check to ensure that the matrix swap_coeffs for rgb mode is used for tpg
but not sdtv_coeffs.

And delete zynqmp_disp_blend_layer_coeff from zynqmp_disp_layer_set_tpg,
this is because that zynqmp_disp_blend_layer_coeff will be called later
by zynqmp_disp_layer_enable.

Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 52488843
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment