]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: add const qualifiers to watermark params struct
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 26 Mar 2026 21:13:27 +0000 (17:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:23:56 +0000 (15:23 -0400)
commitdd2308c1d007d7a3416c02e542abdc6acc23966d
treedda2090748707df37986fa06e86f456a753bec37
parent2b104fc31be0607c04188fadbd4a9fa5b50f3b99
drm/amd/display: add const qualifiers to watermark params struct

[why]
There are few non const input pointer fields. Setting them to const to
prevent future modification of read-only data.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_shared_types.h