[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1677267647-28672-1-git-send-email-quic_khsieh@quicinc.com>
Date: Fri, 24 Feb 2023 11:40:45 -0800
From: Kuogee Hsieh <quic_khsieh@...cinc.com>
To: <dri-devel@...ts.freedesktop.org>, <robdclark@...il.com>,
<sean@...rly.run>, <swboyd@...omium.org>, <dianders@...omium.org>,
<vkoul@...nel.org>, <daniel@...ll.ch>, <airlied@...il.com>,
<agross@...nel.org>, <dmitry.baryshkov@...aro.org>,
<andersson@...nel.org>
CC: Kuogee Hsieh <quic_khsieh@...cinc.com>,
<quic_abhinavk@...cinc.com>, <quic_sbillaka@...cinc.com>,
<marijn.suijten@...ainline.org>, <freedreno@...ts.freedesktop.org>,
<linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [RFC PATCH 0/2] Add DPU DSC helper module
There is a lots of duplicate calculation for DSC encoder between DSI and DP.
Also, with more DSC version it is easier to have a common helper module which
handle all the DPU DSC encoder math.
This series has only been compile test because there is no DSI DSC V1.1 panel
to test it as DSC V1.2 panel is yet to be brough it up. In preparation to post
DSC V1.2 over DP, let's handle all common DSI and DP DSC parameters calculation
in this new module.
Kuogee Hsieh (2):
drm/msm/dpu: add dsc helper functions
drm/msm/dsi: use new dpu_dsc_populate_dsc_config()
drivers/gpu/drm/msm/Makefile | 1 +
drivers/gpu/drm/msm/disp/dpu1/dpu_dsc_helper.c | 209 +++++++++++++++++++++++++
drivers/gpu/drm/msm/disp/dpu1/dpu_dsc_helper.h | 34 ++++
drivers/gpu/drm/msm/dsi/dsi_host.c | 78 ++-------
4 files changed, 256 insertions(+), 66 deletions(-)
create mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_dsc_helper.c
create mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_dsc_helper.h
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists