]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu/amdgpu_kms: Remove 'struct drm_amdgpu_info_device dev_info' from the...
authorLee Jones <lee.jones@linaro.org>
Fri, 6 Nov 2020 21:49:46 +0000 (21:49 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 19:27:14 +0000 (14:27 -0500)
commite724304e844f64d1aaf8a05e23566a2b06053a54
tree60d58c3066bb87c0bd5db714873654c0f71f8b68
parentb8651143f98a67e03d2d0489dda7eed83d12e1df
drm/amd/amdgpu/amdgpu_kms: Remove 'struct drm_amdgpu_info_device dev_info' from the stack

Place it on the heap instead.

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

 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c: In function ‘amdgpu_info_ioctl’:
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:979:1: warning: the frame size of 1128 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c