From: zheng-yan.chen <zheng-yan.chen@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: devicetree@vger.kernel.org,
"Jason-JH . Lin" <jason-jh.lin@mediatek.com>,
Singo Chang <singo.chang@mediatek.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Project_Global_Chrome_Upstream_Group@mediatek.com,
linux-mediatek@lists.infradead.org,
"zheng-yan.chen" <zheng-yan.chen@mediatek.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] Add gamma lut support for mt8195
Date: Tue, 30 Aug 2022 14:39:26 +0800 [thread overview]
Message-ID: <20220830063929.13390-1-zheng-yan.chen@mediatek.com> (raw)
Since the gamma_set_common() function for previous SoC,
such as mt8173 and mt8183, is designed for 9bit-to-10bit
conversion.
mt8195 is using 10bit-to-12bit conversion, which is
not compatible with the previous function.
Thus, need to update the function to fit the need of mt8195.
---
Base on series [1]:
[1]: Add driver nodes for MT8195 SoC
- https://patchwork.kernel.org/project/linux-mediatek/list/?series=666741
---
Change in v2:
1. fix global variable in mtk_disp_gamma.c
2. update mask calculation and delete not-necessary variables
3. fix shift-bit problem.
4. fix commit messages for dt-binding
5. fix dts gamma label.
zheng-yan.chen (3):
dt-bindings: mediatek: Add gamma compatible for mt8195
drm/mediatek: Add gamma lut support for mt8195
arm64: dts: Modify gamma compatible for mt8195
.../display/mediatek/mediatek,gamma.yaml | 3 +-
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +-
drivers/gpu/drm/mediatek/mtk_disp_aal.c | 2 +-
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 3 +-
drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 102 +++++++++++++-----
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 5 +-
drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 1 -
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 +
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 +
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +
10 files changed, 88 insertions(+), 34 deletions(-)
--
2.18.0
WARNING: multiple messages have this Message-ID (diff)
From: zheng-yan.chen <zheng-yan.chen@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: <dri-devel@lists.freedesktop.org>,
<linux-mediatek@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
"Jason-JH . Lin" <jason-jh.lin@mediatek.com>,
Singo Chang <singo.chang@mediatek.com>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
zheng-yan.chen <zheng-yan.chen@mediatek.com>
Subject: [PATCH v2 0/3] Add gamma lut support for mt8195
Date: Tue, 30 Aug 2022 14:39:26 +0800 [thread overview]
Message-ID: <20220830063929.13390-1-zheng-yan.chen@mediatek.com> (raw)
Since the gamma_set_common() function for previous SoC,
such as mt8173 and mt8183, is designed for 9bit-to-10bit
conversion.
mt8195 is using 10bit-to-12bit conversion, which is
not compatible with the previous function.
Thus, need to update the function to fit the need of mt8195.
---
Base on series [1]:
[1]: Add driver nodes for MT8195 SoC
- https://patchwork.kernel.org/project/linux-mediatek/list/?series=666741
---
Change in v2:
1. fix global variable in mtk_disp_gamma.c
2. update mask calculation and delete not-necessary variables
3. fix shift-bit problem.
4. fix commit messages for dt-binding
5. fix dts gamma label.
zheng-yan.chen (3):
dt-bindings: mediatek: Add gamma compatible for mt8195
drm/mediatek: Add gamma lut support for mt8195
arm64: dts: Modify gamma compatible for mt8195
.../display/mediatek/mediatek,gamma.yaml | 3 +-
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +-
drivers/gpu/drm/mediatek/mtk_disp_aal.c | 2 +-
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 3 +-
drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 102 +++++++++++++-----
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 5 +-
drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 1 -
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 +
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 +
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +
10 files changed, 88 insertions(+), 34 deletions(-)
--
2.18.0
WARNING: multiple messages have this Message-ID (diff)
From: zheng-yan.chen <zheng-yan.chen@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: <dri-devel@lists.freedesktop.org>,
<linux-mediatek@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
"Jason-JH . Lin" <jason-jh.lin@mediatek.com>,
Singo Chang <singo.chang@mediatek.com>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
zheng-yan.chen <zheng-yan.chen@mediatek.com>
Subject: [PATCH v2 0/3] Add gamma lut support for mt8195
Date: Tue, 30 Aug 2022 14:39:26 +0800 [thread overview]
Message-ID: <20220830063929.13390-1-zheng-yan.chen@mediatek.com> (raw)
Since the gamma_set_common() function for previous SoC,
such as mt8173 and mt8183, is designed for 9bit-to-10bit
conversion.
mt8195 is using 10bit-to-12bit conversion, which is
not compatible with the previous function.
Thus, need to update the function to fit the need of mt8195.
---
Base on series [1]:
[1]: Add driver nodes for MT8195 SoC
- https://patchwork.kernel.org/project/linux-mediatek/list/?series=666741
---
Change in v2:
1. fix global variable in mtk_disp_gamma.c
2. update mask calculation and delete not-necessary variables
3. fix shift-bit problem.
4. fix commit messages for dt-binding
5. fix dts gamma label.
zheng-yan.chen (3):
dt-bindings: mediatek: Add gamma compatible for mt8195
drm/mediatek: Add gamma lut support for mt8195
arm64: dts: Modify gamma compatible for mt8195
.../display/mediatek/mediatek,gamma.yaml | 3 +-
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +-
drivers/gpu/drm/mediatek/mtk_disp_aal.c | 2 +-
drivers/gpu/drm/mediatek/mtk_disp_drv.h | 3 +-
drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 102 +++++++++++++-----
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 5 +-
drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 1 -
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 +
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 +
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +
10 files changed, 88 insertions(+), 34 deletions(-)
--
2.18.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2022-08-30 6:39 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-30 6:39 zheng-yan.chen [this message]
2022-08-30 6:39 ` [PATCH v2 0/3] Add gamma lut support for mt8195 zheng-yan.chen
2022-08-30 6:39 ` zheng-yan.chen
2022-08-30 6:39 ` [PATCH v2 1/3] dt-bindings: mediatek: Add gamma compatible " zheng-yan.chen
2022-08-30 6:39 ` zheng-yan.chen
2022-08-30 6:39 ` zheng-yan.chen
2022-08-30 7:48 ` AngeloGioacchino Del Regno
2022-08-30 7:48 ` AngeloGioacchino Del Regno
2022-08-30 7:48 ` AngeloGioacchino Del Regno
2022-08-30 9:10 ` Krzysztof Kozlowski
2022-08-30 9:10 ` Krzysztof Kozlowski
2022-08-30 9:10 ` Krzysztof Kozlowski
2022-08-31 2:27 ` zheng-yan.chen
2022-08-31 2:27 ` zheng-yan.chen
2022-08-31 2:27 ` zheng-yan.chen
2022-08-30 6:39 ` [PATCH v2 2/3] drm/mediatek: Add gamma lut support " zheng-yan.chen
2022-08-30 6:39 ` zheng-yan.chen
2022-08-30 6:39 ` zheng-yan.chen
2022-08-30 7:47 ` AngeloGioacchino Del Regno
2022-08-30 7:47 ` AngeloGioacchino Del Regno
2022-08-30 7:47 ` AngeloGioacchino Del Regno
2022-08-30 8:09 ` zheng-yan.chen
2022-08-30 8:09 ` zheng-yan.chen
2022-08-30 8:09 ` zheng-yan.chen
2022-08-31 2:56 ` CK Hu
2022-08-31 2:56 ` CK Hu
2022-08-31 2:56 ` CK Hu
2022-09-10 16:25 ` Jason-JH Lin
2022-09-10 16:25 ` Jason-JH Lin
2022-09-10 16:25 ` Jason-JH Lin
2022-08-30 6:39 ` [PATCH v2 3/3] arm64: dts: Modify gamma compatible " zheng-yan.chen
2022-08-30 6:39 ` zheng-yan.chen
2022-08-30 6:39 ` zheng-yan.chen
2022-08-30 7:49 ` AngeloGioacchino Del Regno
2022-08-30 7:49 ` AngeloGioacchino Del Regno
2022-08-30 7:49 ` AngeloGioacchino Del Regno
2022-08-30 9:14 ` Krzysztof Kozlowski
2022-08-30 9:14 ` Krzysztof Kozlowski
2022-08-30 9:14 ` Krzysztof Kozlowski
2022-08-31 2:29 ` zheng-yan.chen
2022-08-31 2:29 ` zheng-yan.chen
2022-08-31 2:29 ` zheng-yan.chen
2022-08-31 6:04 ` Krzysztof Kozlowski
2022-08-31 6:04 ` Krzysztof Kozlowski
2022-08-31 6:04 ` Krzysztof Kozlowski
2022-08-31 7:47 ` AngeloGioacchino Del Regno
2022-08-31 7:47 ` AngeloGioacchino Del Regno
2022-08-31 7:47 ` AngeloGioacchino Del Regno
2022-08-30 9:13 ` Krzysztof Kozlowski
2022-08-30 9:13 ` Krzysztof Kozlowski
2022-08-30 9:13 ` Krzysztof Kozlowski
2022-08-31 2:25 ` zheng-yan.chen
2022-08-31 2:25 ` zheng-yan.chen
2022-08-31 2:25 ` zheng-yan.chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220830063929.13390-1-zheng-yan.chen@mediatek.com \
--to=zheng-yan.chen@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=chunkuang.hu@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jason-jh.lin@mediatek.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=singo.chang@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.