diff mbox series

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

Message ID 20240822040100.1249714-1-liyuesong@vivo.com (mailing list archive)
State New, archived
Headers show
Series [v1] drm/amd/display: Fix wrong assignment in dce100_resource_construct() | expand

Commit Message

Yuesong Li Aug. 22, 2024, 4:01 a.m. UTC
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")
Signed-off-by: Yuesong Li <liyuesong@vivo.com>
---
 .../gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c
index 53a5f4cb648c..ea69cd36f714 100644
--- a/drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c
@@ -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;