Skip to contentSkip to conversation

drm/amd/display: Fix wrong assignment in dce100_resource_construct()

PATCH New Yuesong Li 1 participant 1 message Aug 22, 2024

Subsystems (3)
lore
Share & tools
lore

Yuesong Li

author
#0 lore raw

PATCH 1/1 drm/amd/display: Fix wrong assignment in dce100_resource_construct()

Fix the assignment for i2c_speed_in_khz_hdcp.

Fixex: commit b15cde19c32d ("drm/amd/display:
Add i2c speed arbitration for dc_i2c and hdcp_i2c")

---
 .../gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c +1 -1
index 53a5f4cb648c..ea69cd36f714 100644
@@ -1069,7 +1069,7 @@ static bool dce100_resource_construct(
 	pool->base.timing_generator_count = pool->base.res_cap->num_timing_generator;
 	dc->caps.max_downscale_ratio = 200;
 	dc->caps.i2c_speed_in_khz = 40;
-	dc->caps.i2c_speed_in_khz = 40;
+	dc->caps.i2c_speed_in_khz_hdcp = 40;
 	dc->caps.max_cursor_size = 128;
 	dc->caps.min_horizontal_blanking_period = 80;
 	dc->caps.dual_link_dvi = true;
Signature · 1 line
2.34.1