linux/drivers/gpu/drm/amd/display/dc/resource/dce100
Wenjing Liu 2ab5a13778 drm/amd/display: Refactor dc_validation_set array into single root struct
[Why]
dc_validate_with_context() took a C array of per-stream elements plus a
separate count. This flat array cannot be extended to carry global objects
without widening the signature further.

[How]
Rename the per-stream element to dc_validation_stream, and make
dc_validation_set a root struct holding streams[MAX_STREAMS] and
stream_count. Update dc_validate_with_context() to take a single
const dc_validation_set * and propagate the new shape through all DC-layer
callers and helpers. Remove the never-implemented
dce112_validate_with_context declaration and the orphaned dce100
forward-declare.

No behavior change.

Reviewed-by: Dominik Kaszewski <dominik.kaszewski@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-07-28 18:37:23 -04:00
..
dce100_resource.c drm/amd/display: dce100: skip non-DP stream encoders for DP MST 2026-07-15 09:15:42 -04:00
dce100_resource.h drm/amd/display: Refactor dc_validation_set array into single root struct 2026-07-28 18:37:23 -04:00