linux-loongson/drivers/gpu/drm/amd/display/dc/dml/dcn32
Yan Li 269c1d1443 drm/amd/display: replace fast_validate with enum dc_validate_mode
[Why]
The boolean fast_validate is used as an
input parameter in multiple functions. To
support more scenarios, we are
replacing it with enum dc_validate_mode.

[How]
The enum dc_validate_mode introduces three
possible values:
1) DC_VALIDATE_MODE_AND_PROGRAMMING:
   Apply the mode to hardware
2) DC_VALIDATE_MODE_ONLY:
   Check whether the mode can be supported
3) DC_VALIDATE_MODE_AND_STATE_INDEX:
   Check if the mode can be supported, and
   determine the optimal voltage level
   needed to support it.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Yan Li <yan.li@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-06-03 15:36:23 -04:00
..
dcn32_fpu.c drm/amd/display: replace fast_validate with enum dc_validate_mode 2025-06-03 15:36:23 -04:00
dcn32_fpu.h drm/amd/display: replace fast_validate with enum dc_validate_mode 2025-06-03 15:36:23 -04:00
display_mode_vba_32.c drm/amd/display: Account for cursor prefetch BW in DML1 mode support 2024-07-01 16:10:35 -04:00
display_mode_vba_32.h drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz 2023-06-09 10:44:08 -04:00
display_mode_vba_util_32.c drm/amd/display: Add 6bpc RGB case for dcn32 output bpp calculations 2025-01-06 14:44:28 -05:00
display_mode_vba_util_32.h drm/amd/display: For prefetch mode > 0, extend prefetch if possible 2023-12-13 15:09:54 -05:00
display_rq_dlg_calc_32.c drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg() 2023-06-09 09:20:40 -04:00
display_rq_dlg_calc_32.h