summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_types.h
diff options
context:
space:
mode:
authorJake Wang <haonan.wang2@amd.com>2021-03-23 13:51:19 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 16:51:52 -0400
commit3306ace54efbf48960dfc0fc87aae026c21a6d2c (patch)
treeb33820bc3a65d94a5cfbc40caddade5ac49f1e56 /drivers/gpu/drm/amd/display/dc/dc_types.h
parent37bedd9929b925b25a4b5397d7f32d3600067688 (diff)
downloadlinux-stable-3306ace54efbf48960dfc0fc87aae026c21a6d2c.tar.gz
linux-stable-3306ace54efbf48960dfc0fc87aae026c21a6d2c.tar.bz2
linux-stable-3306ace54efbf48960dfc0fc87aae026c21a6d2c.zip
drm/amd/display: Added dc_edp_id_count to dc_context
[Why] We need to keep track of the number of eDP links to properly enumerate edp panel control instance. [How] Added dc_edp_id_count to dc_context to keep track of number of eDP links. Signed-off-by: Jake Wang <haonan.wang2@amd.com> Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index d8912a4de3b1..432754eaf10b 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -113,6 +113,7 @@ struct dc_context {
struct gpio_service *gpio_service;
uint32_t dc_sink_id_count;
uint32_t dc_stream_id_count;
+ uint32_t dc_edp_id_count;
uint64_t fbc_gpu_addr;
struct dc_dmub_srv *dmub_srv;