drm/rockchip: vop2: use default sdr2hdr(1000nit) curve

keep sdr2hdr result consistent between VOP and GPU

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I3ef6b289978d4b0c083d99e93d97a95b2e7f0b25
This commit is contained in:
Sandy Huang
2021-06-04 09:26:49 +08:00
committed by Tao Huang
parent a433c6370d
commit b312a6cefb

View File

@@ -4400,7 +4400,7 @@ static void vop2_setup_hdr10(struct vop2_video_port *vp, uint8_t win_phys_id)
bool sdr2hdr_en = 0;
bool sdr2hdr_tf = 0;
bool hdr2sdr_tf_update = 1;
bool sdr2hdr_tf_update = 1;
bool sdr2hdr_tf_update = 0; /* default sdr2hdr curve is 1000 nit */
unsigned long win_mask = vp->win_mask;
int phys_id;
bool have_sdr_layer = false;