aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2022-04-06 15:10:19 +0530
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2022-04-26 00:50:47 +0300
commit0f40ba48de3b8a4c5793013768cd62805033869c (patch)
tree5e3e0023b8d12ee1bc2d91e047297f0583a141d4 /include/drm
parentdrm/msm/dsi: add support for dsc data (diff)
downloadwireguard-linux-0f40ba48de3b8a4c5793013768cd62805033869c.tar.xz
wireguard-linux-0f40ba48de3b8a4c5793013768cd62805033869c.zip
drm/msm/dsi: Pass DSC params to drm_panel
When DSC is enabled, we need to get the DSC parameters from the panel driver, so add a dsc parameter in panel to fetch and pass DSC configuration for DSI panels to DPU encoder, which will enable and then configure DSC hardware blocks accordingly. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Signed-off-by: Vinod Koul <vkoul@kernel.org> Patchwork: https://patchwork.freedesktop.org/patch/480910/ Link: https://lore.kernel.org/r/20220406094031.1027376-3-vkoul@kernel.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_panel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h
index 1ba2d424a53f..d279ee455f01 100644
--- a/include/drm/drm_panel.h
+++ b/include/drm/drm_panel.h
@@ -179,6 +179,13 @@ struct drm_panel {
* Panel entry in registry.
*/
struct list_head list;
+
+ /**
+ * @dsc:
+ *
+ * Panel DSC pps payload to be sent
+ */
+ struct drm_dsc_config *dsc;
};
void drm_panel_init(struct drm_panel *panel, struct device *dev,