summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/dp/dp_display.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2021-10-16 15:18:39 -0700
committerRob Clark <robdclark@chromium.org>2021-10-18 14:28:29 -0700
commit269e92d84cd223b3bc32b752a0bcf639c2cb3bd9 (patch)
tree8141d225495a80ab61df8fc5421a79a9bac1e688 /drivers/gpu/drm/msm/dp/dp_display.h
parent167dac97eb46c7b8a15b2195080e191bb0c9ce35 (diff)
drm/msm/dp: Allow specifying connector_type per controller
As the following patches introduced support for multiple DP blocks in a platform and some of those block might be eDP it becomes useful to be able to specify the connector type per block. Although there's only a single block at this point, the array of descs and the search in dp_display_get_desc() are introduced here to simplify the next patch, that does introduce support for multiple DP blocks. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20211016221843.2167329-4-bjorn.andersson@linaro.org Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/dp/dp_display.h')
-rw-r--r--drivers/gpu/drm/msm/dp/dp_display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dp/dp_display.h b/drivers/gpu/drm/msm/dp/dp_display.h
index 8b47cdabb67e..75fcabcfbbdd 100644
--- a/drivers/gpu/drm/msm/dp/dp_display.h
+++ b/drivers/gpu/drm/msm/dp/dp_display.h
@@ -18,6 +18,7 @@ struct msm_dp {
bool is_connected;
bool audio_enabled;
bool power_on;
+ unsigned int connector_type;
hdmi_codec_plugged_cb plugged_cb;