mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
drm/rockchip: tve: set the &rockchip_tve.tv_format in &drm_encoder_helper_funcs.mode_set()
Although the previous patch helps to avoid display flashing during
the uboot/kernel logo switching, it forgot to set the
&rockchip_tve.tv_format in &drm_encoder_helper_funcs.mode_set()
which is needed in later &drm_encoder_helper_funcs.enable() process.
Fixes: e3b31a037d ("drm/rockchip: tve: add .loader_protect() support for tve")
Change-Id: Ib4e81f0c9ab64c1c2db9bd19209a6f108cae70e9
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -503,6 +503,8 @@ static void rockchip_tve_encoder_mode_set(struct drm_encoder *encoder,
|
||||
tve_set_mode(tve);
|
||||
dac_enable(tve, true);
|
||||
}
|
||||
|
||||
tve->tv_format = tv_format;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
||||
Reference in New Issue
Block a user