linux/drivers/gpu/drm/amd/display/dc/dml
Aurabindo Pillai 1e815068fb drm/amd/display: use unsigned types for local pipe and REG_GET counters
Two small type fixes that match how the values are actually consumed:

- decide_zstate_support() iterates from 0 to pipe_count, which is
  unsigned. Make the loop index unsigned int.

- hpo_enc401_read_state() reads HDMI_PIXEL_ENCODING and
  HDMI_DEEP_COLOR_DEPTH via REG_GET_2(), which internally casts the
  output pointer to (uint32_t *). Passing the address of an int is a
  strict-aliasing wart even when the sizes match. Declare the locals
  as uint32_t.

No behavioural change since the values are only compared against small
non-negative constants.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-06-04 15:24:45 -04:00
..
calcs drm/amd/display: Fix type mismatches in DML and normalize loop bounds 2026-05-05 09:56:52 -04:00
dcn10 drm/amd/display: Fix Silence signed/unsighed mismatch warning in dc 2026-03-30 14:55:17 -04:00
dcn20 drm/amd/display: use unsigned types for local pipe and REG_GET counters 2026-06-04 15:24:45 -04:00
dcn21 drm/amd/display: Fix warnings 2026-05-11 16:10:34 -04:00
dcn30 drm/amd/display: add HDMI 2.1 DSC over FRL support 2026-06-03 13:44:59 -04:00
dcn31 drm/amd/display: add HDMI 2.1 DSC over FRL support 2026-06-03 13:44:59 -04:00
dcn32 drm/amd/display: add HDMI 2.1 DSC over FRL support 2026-06-03 13:44:59 -04:00
dcn35 drm/amd/display: Fix multiple compiler warnings 2026-05-11 16:10:30 -04:00
dcn301 drm/amd/display: Fix signed/unsigned comparison mismatches 2026-05-11 16:10:20 -04:00
dcn302 drm/amd/display: Add DML changes to support HDMI FRL 2026-06-03 13:44:26 -04:00
dcn303 drm/amd/display: Add DML changes to support HDMI FRL 2026-06-03 13:44:26 -04:00
dcn314 drm/amd/display: add HDMI 2.1 DSC over FRL support 2026-06-03 13:44:59 -04:00
dcn321 drm/amd/display: Fix type mismatches in DML and normalize loop bounds 2026-05-05 09:56:52 -04:00
dcn351 drm/amd/display: Fix multiple compiler warnings 2026-05-11 16:10:30 -04:00
dsc drm/amd/display: Fix narrowing boundaries in dml 2026-04-28 14:30:03 -04:00
dc_features.h drm/amd/display: Increase num voltage states to 40 2023-11-29 16:48:59 -05:00
display_mode_enums.h drm/amd/display: Add DML changes to support HDMI FRL 2026-06-03 13:44:26 -04:00
display_mode_lib.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
display_mode_lib.h drm/amd/display: Clean FPGA code in dc 2023-06-09 10:44:11 -04:00
display_mode_structs.h drm/amd/display: Add P-State Keepout to dcn401 Global Sync 2024-07-23 17:07:12 -04:00
display_mode_vba.c drm/amd/display: Fix type mismatches in DML and normalize loop bounds 2026-05-05 09:56:52 -04:00
display_mode_vba.h drm/amd/display: Fix warnings 2026-05-11 16:10:34 -04:00
display_rq_dlg_helpers.c drm/amd/display: Fixed Silence complier warnings in dc 2026-03-30 15:12:15 -04:00
display_rq_dlg_helpers.h drm/amdgpu: Remove unused print__rq_dlg_params_st 2025-03-05 10:44:46 -05:00
dml_inline_defs.h drm/amd/display: Do DML float narrowing explicit 2026-05-05 09:56:52 -04:00
dml_logger.h
dml1_display_rq_dlg_calc.c drm/amd/display: Fix narrowing boundaries in dml 2026-04-28 14:30:03 -04:00
dml1_display_rq_dlg_calc.h drm/amd/display: Fix rest of pass-by-value structs in DML 2021-09-23 15:17:30 -04:00
dml1_frl_cap_chk.c drm/amd/display: add HDMI 2.1 DSC over FRL support 2026-06-03 13:44:59 -04:00
dml1_frl_cap_chk.h drm/amd/display: add HDMI 2.1 DSC over FRL support 2026-06-03 13:44:59 -04:00
Makefile drm/amd/display: Add DML changes to support HDMI FRL 2026-06-03 13:44:26 -04:00