diff options
| author | Clay King <clayking@amd.com> | 2026-04-27 14:51:35 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-11 16:10:34 -0400 |
| commit | c3fb1fb9e65fa6a108b4d19c61bdcb47fd4fe180 (patch) | |
| tree | dce04f11b6a26d323e3e6fb72d4f1f493eddba1f /drivers/gpu/drm/amd/display/dc/dio | |
| parent | da11ed03e1c9f11e700cd59f18754715f27ae14d (diff) | |
| download | linux-next-c3fb1fb9e65fa6a108b4d19c61bdcb47fd4fe180.tar.gz linux-next-c3fb1fb9e65fa6a108b4d19c61bdcb47fd4fe180.zip | |
drm/amd/display: Fix warnings
[Why & How]
Fix various warnings related to unsigned/signed mismatches
- Consistently use the same signedness for a given value
- Explcitly cast between types when needed
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Clay King <clayking@amd.com>
Signed-off-by: James Lin <pinglei.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dio')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_link_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_link_encoder.c index 872ea3646023..59b68422334d 100644 --- a/drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_link_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_link_encoder.c @@ -450,7 +450,7 @@ static uint8_t get_frontend_source( unsigned int dcn10_get_dig_frontend(struct link_encoder *enc) { struct dcn10_link_encoder *enc10 = TO_DCN10_LINK_ENC(enc); - int32_t value; + uint32_t value; enum engine_id result; REG_GET(DIG_BE_CNTL, DIG_FE_SOURCE_SELECT, &value); |
