]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/dm/mst: Rename get_payload_table()
authorLyude Paul <lyude@redhat.com>
Wed, 17 Aug 2022 19:38:31 +0000 (15:38 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 23 Aug 2022 20:53:34 +0000 (16:53 -0400)
commit390398adfa0eff0a498eda5589ac519b1039ecc9
tree3ec46fcf28dfc4030da6e5003c28f2bd1e076eae
parent59bc99cc3f40a1d2c6e90ccc1183f814ab005377
drm/amdgpu/dm/mst: Rename get_payload_table()

This function isn't too confusing if you see the comment around the
call-site for it, but if you don't then it's not at all obvious this is
meant to copy DRM's payload table over to DC's internal state structs.
Seeing this function before finding that comment definitely threw me into a
loop a few times.

So, let's rename this to make it's purpose more obvious regardless of where
in the code you are.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Wayne Lin <Wayne.Lin@amd.com>
Cc: Fangzhi Zuo <Jerry.Zuo@amd.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220817193847.557945-3-lyude@redhat.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c