From cda9e1fbeff0ea8c1d5fffb4cfc7b4cdfeaed95d Mon Sep 17 00:00:00 2001 From: "Bin.Wang2" Date: Wed, 17 May 2023 11:26:28 +0800 Subject: [PATCH] amvecm: hdr tone mapping ioctl api unification [1/1] PD#SWPL-114841 Problem: hdr tone mapping ioctl communication fail Solution: unify hdr tome mapping ioctl api Verify: verify on T3 Change-Id: Ifda2ec2d1439cfd04bf29dc2af8958c79760dd49 Signed-off-by: Bin.Wang2 --- include/linux/amlogic/media/amvecm/amvecm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/amlogic/media/amvecm/amvecm.h b/include/linux/amlogic/media/amvecm/amvecm.h index e55283843..dcb4cfc26 100644 --- a/include/linux/amlogic/media/amvecm/amvecm.h +++ b/include/linux/amlogic/media/amvecm/amvecm.h @@ -415,7 +415,10 @@ enum lut_type_e { struct hdr_tone_mapping_s { enum lut_type_e lut_type; unsigned int lutlength; - unsigned int *tm_lut; + union { + void *tm_lut; + long long tm_lut_len; + }; }; /* CMS ioctl data structure */