mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
drm/rockchip: vop2: add some debug log for BCSH
Some platform VP can't support BCSH, add some log to remind this info when userspace want to enable BCSH at unsupported VP. Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I8247475edad30e14f08ef8c23e8314916c57a1f4
This commit is contained in:
@@ -10471,6 +10471,13 @@ static void vop2_tv_config_update(struct drm_crtc *crtc,
|
||||
vcstate->tv_state->contrast != 50 ||
|
||||
vcstate->tv_state->saturation != 50 || vcstate->tv_state->hue != 50)
|
||||
vcstate->bcsh_en = 1;
|
||||
|
||||
if (!vp_data->regs->bcsh_en.mask) {
|
||||
if (vcstate->bcsh_en)
|
||||
DRM_WARN("VP%d unsupported BCSH\n", vp->id);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* The BCSH only need to config once except one of the following
|
||||
* condition changed:
|
||||
|
||||
Reference in New Issue
Block a user