drm/amdgpu/display/mst: adjust the logic in 2nd phase of updating payload
authorWayne Lin <Wayne.Lin@amd.com>
Wed, 18 Jan 2023 10:01:15 +0000 (18:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jan 2023 18:26:19 +0000 (13:26 -0500)
commitba512eaa75e4bcf596ac616ca8388959556855b3
treec43b64c79d28ea315d0bf5ce5ae93212bbb43590
parentf0127cb11299df80df45583b216e13f27c408545
drm/amdgpu/display/mst: adjust the logic in 2nd phase of updating payload

[why & how]
adjust the coding in dm_helpers_dp_mst_send_payload_allocation()
for reading easily.

Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c