summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDominik Kaszewski <dominik.kaszewski@amd.com>2025-10-16 14:46:25 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-10-28 16:58:25 +0300
commit48d6be05f540233a72c954777ede1c60b9094386 (patch)
treeae569e30dcf5b2a2a838137b409ea3e09e076fa9 /tools/lib/python
parent8e6361a9e09846ff1fd3a908345862b8dc2632fd (diff)
downloadlinux-48d6be05f540233a72c954777ede1c60b9094386.tar.xz
drm/amd/display: Make observers const-correct
[Why] Observers which do not modify their pointer arguments should take them as const. This clearly signals their intent to the caller, making it clear that the function is safe to call multiple times, or remove the call if the result is no longer necessary. [How] Made const-correct all of the functions below: * full_update_required[_weak] * fast_updates_exist * fast_update_only * dc_can_clear_cursor_limit * dc_stream_get_status (added const named overload) Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Dominik Kaszewski <dominik.kaszewski@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>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions