drm/rockchip: vop: fix hdmi swith color mode lead to post csc error

Change-Id: Iff1e6369c02ca585a8973a5d2d68a20a8701c6b1
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
Sandy Huang 2018-01-26 10:31:54 +08:00 committed by Tao Huang
commit c6fe4ba3a0

View file

@ -2996,7 +2996,7 @@ static void vop_tv_config_update(struct drm_crtc *crtc,
if (!memcmp(s->tv_state,
&vop->active_tv_state, sizeof(*s->tv_state)) &&
s->yuv_overlay == old_s->yuv_overlay &&
s->bcsh_en == old_s->bcsh_en)
s->bcsh_en == old_s->bcsh_en && s->bus_format == old_s->bus_format)
return;
memcpy(&vop->active_tv_state, s->tv_state, sizeof(*s->tv_state));