mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
drm/rockchip: vop2: Fix the name of CSC and BCSH parameters conversion function
Replace vop3_get_csc_paramter_from_bcsh() with
vop3_get_csc_info_from_bcsh().
Fixes: f9166c5c1d ("drm/rockchip: vop2: config csc parameters from bcsh defaultly")
Change-Id: I5feb0be308c73571976f90780a9805e8b21b9d5f
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -13047,8 +13047,8 @@ static void vop2_post_sharp_config(struct drm_crtc *crtc)
|
||||
vcstate->sharp_en = true;
|
||||
}
|
||||
|
||||
static void vop3_get_csc_paramter_from_bcsh(struct rockchip_crtc_state *vcstate,
|
||||
struct post_csc *csc_info)
|
||||
static void vop3_get_csc_info_from_bcsh(struct rockchip_crtc_state *vcstate,
|
||||
struct post_csc *csc_info)
|
||||
{
|
||||
csc_info->r_gain = 256;
|
||||
csc_info->g_gain = 256;
|
||||
@@ -13137,7 +13137,7 @@ static void vop2_cfg_update(struct drm_crtc *crtc,
|
||||
if (vp->csc_info.csc_enable) {
|
||||
vop3_post_csc_config(crtc, &vp->acm_info, &vp->csc_info);
|
||||
} else {
|
||||
vop3_get_csc_paramter_from_bcsh(vcstate, &default_csc_info);
|
||||
vop3_get_csc_info_from_bcsh(vcstate, &default_csc_info);
|
||||
vop3_post_csc_config(crtc, &vp->acm_info, &default_csc_info);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user