summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/dp/dp_parser.h
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-01-26 20:26:32 +0200
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-02-11 22:38:07 +0200
commit3ffe15b30a63afb9b53384a4efea9b823f2f5000 (patch)
treeea509dfcd0ce303e0c208b373b0ac0cd47ce1cb0 /drivers/gpu/drm/msm/dp/dp_parser.h
parent1577814118e74df91e065bd9a22f9afe3ed39239 (diff)
drm/msm/dp: move link property handling to dp_panel
Instead of passing link properties through the separate struct, parse them directly in the dp_panel. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Tested-by: Kuogee Hsieh <quic_khsieh@quicinc.com> Reviewed-by: Kuogee Hsieh <quic_khsieh@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/576117/ Link: https://lore.kernel.org/r/20240126-dp-power-parser-cleanup-v3-13-098d5f581dd3@linaro.org
Diffstat (limited to 'drivers/gpu/drm/msm/dp/dp_parser.h')
-rw-r--r--drivers/gpu/drm/msm/dp/dp_parser.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/msm/dp/dp_parser.h b/drivers/gpu/drm/msm/dp/dp_parser.h
index 7306768547a6..21a66932e35e 100644
--- a/drivers/gpu/drm/msm/dp/dp_parser.h
+++ b/drivers/gpu/drm/msm/dp/dp_parser.h
@@ -11,8 +11,6 @@
#include "msm_drv.h"
#define DP_MAX_PIXEL_CLK_KHZ 675000
-#define DP_MAX_NUM_DP_LANES 4
-#define DP_LINK_RATE_HBR2 540000 /* kbytes */
/**
* struct dp_parser - DP parser's data exposed to clients
@@ -23,8 +21,6 @@
struct dp_parser {
struct platform_device *pdev;
struct phy *phy;
- u32 max_dp_lanes;
- u32 max_dp_link_rate;
struct drm_bridge *next_bridge;
};