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)
commitdbaadb3cebaad49c37e3fec937e73e6e41054404
tree3ec46fcf28dfc4030da6e5003c28f2bd1e076eae
parent8c5e9bbb3662b09fb9b5353dc48d2f871f13127f
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