diff options
| author | Alexandre Demers <[email protected]> | 2025-04-08 02:10:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-21 14:54:30 +0000 |
| commit | f82e7cf5f5a9cec0770c63891febf33d8cd3de04 (patch) | |
| tree | 1715e6c62794c80a0a47b4bb42397257d6b8873e | |
| parent | drm/radeon: fix typo in atombios.h (diff) | |
| download | kernel-f82e7cf5f5a9cec0770c63891febf33d8cd3de04.tar.gz kernel-f82e7cf5f5a9cec0770c63891febf33d8cd3de04.zip | |
drm/amdgpu: fix duplicated value setting in dce100_resource_construct()
i2c_speed_in_khz was set twice with the same values. Looking at other DCE
versions, we probably wanted to set the value for i2c_speed_in_khz_hdcp.
Signed-off-by: Alexandre Demers <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 e698543ec937..e0c64861eff3 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; |
