summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dio
diff options
context:
space:
mode:
authorClay King <clayking@amd.com>2026-04-27 14:51:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-05-11 16:10:34 -0400
commitc3fb1fb9e65fa6a108b4d19c61bdcb47fd4fe180 (patch)
treedce04f11b6a26d323e3e6fb72d4f1f493eddba1f /drivers/gpu/drm/amd/display/dc/dio
parentda11ed03e1c9f11e700cd59f18754715f27ae14d (diff)
downloadlinux-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.c2
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);