drm/selftests/test-drm_dp_mst_helper: Place 'struct drm_dp_sideband_msg_req_body...
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:40:59 +0000 (17:40 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Nov 2020 19:07:47 +0000 (20:07 +0100)
commitffefe45a2d9ca4eef4b5fe88bd7a8072cdc94e05
treeb63e91baf1c515909c95643e82c2249d55d6c62a
parentdfa6082bb979611ea6e72b32878313f949590d17
drm/selftests/test-drm_dp_mst_helper: Place 'struct drm_dp_sideband_msg_req_body' onto the heap

The stack is too full.

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c: In function ‘sideband_msg_req_encode_decode’:
 drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c:161:1: warning: the frame size of 1176 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Lyude Paul <lyude@redhat.com>
Cc: David Francis <David.Francis@amd.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201116174112.1833368-30-lee.jones@linaro.org
drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c