https://github.com/torvalds/linux
Revision faed5d0182480556cddb8343d9bad968387848f4 authored by Nathan Chancellor on 16 September 2022, 21:06:57 UTC, committed by Alex Deucher on 21 September 2022, 21:36:49 UTC
Most of the arguments are identical between the two call sites and they can be accessed through the 'struct vba_vars_st' pointer. This reduces the total amount of stack space that dml314_ModeSupportAndSystemConfigurationFull() uses by 240 bytes with LLVM 16 (2216 -> 1976), helping clear up the following clang warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn314/display_mode_vba_314.c:4020:6: error: stack frame size (2216) exceeds limit (2048) in 'dml314_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than] void dml314_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib) ^ 1 error generated. Link: https://github.com/ClangBuiltLinux/linux/issues/1710 Reported-by: "kernelci.org bot" <bot@kernelci.org> Tested-by: Maíra Canal <mairacanal@riseup.net> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent abbc7a3
Tip revision: faed5d0182480556cddb8343d9bad968387848f4 authored by Nathan Chancellor on 16 September 2022, 21:06:57 UTC
drm/amd/display: Reduce number of arguments of dml314's CalculateWatermarksAndDRAMSpeedChangeSupport()
drm/amd/display: Reduce number of arguments of dml314's CalculateWatermarksAndDRAMSpeedChangeSupport()
Tip revision: faed5d0
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 366 bytes |
advise.c | -rw-r--r-- | 2.1 KB |
advise.h | -rw-r--r-- | 316 bytes |
alloc_cache.h | -rw-r--r-- | 1.1 KB |
cancel.c | -rw-r--r-- | 7.2 KB |
cancel.h | -rw-r--r-- | 579 bytes |
epoll.c | -rw-r--r-- | 1.5 KB |
epoll.h | -rw-r--r-- | 213 bytes |
fdinfo.c | -rw-r--r-- | 6.1 KB |
fdinfo.h | -rw-r--r-- | 100 bytes |
filetable.c | -rw-r--r-- | 4.4 KB |
filetable.h | -rw-r--r-- | 2.5 KB |
fs.c | -rw-r--r-- | 6.6 KB |
fs.h | -rw-r--r-- | 929 bytes |
io-wq.c | -rw-r--r-- | 33.4 KB |
io-wq.h | -rw-r--r-- | 2.0 KB |
io_uring.c | -rw-r--r-- | 101.1 KB |
io_uring.h | -rw-r--r-- | 8.3 KB |
kbuf.c | -rw-r--r-- | 13.2 KB |
kbuf.h | -rw-r--r-- | 3.8 KB |
msg_ring.c | -rw-r--r-- | 4.0 KB |
msg_ring.h | -rw-r--r-- | 178 bytes |
net.c | -rw-r--r-- | 31.5 KB |
net.h | -rw-r--r-- | 2.1 KB |
nop.c | -rw-r--r-- | 498 bytes |
nop.h | -rw-r--r-- | 168 bytes |
notif.c | -rw-r--r-- | 2.0 KB |
notif.h | -rw-r--r-- | 896 bytes |
opdef.c | -rw-r--r-- | 11.0 KB |
opdef.h | -rw-r--r-- | 1.2 KB |
openclose.c | -rw-r--r-- | 6.1 KB |
openclose.h | -rw-r--r-- | 596 bytes |
poll.c | -rw-r--r-- | 25.7 KB |
poll.h | -rw-r--r-- | 1006 bytes |
refs.h | -rw-r--r-- | 1.2 KB |
rsrc.c | -rw-r--r-- | 31.4 KB |
rsrc.h | -rw-r--r-- | 4.5 KB |
rw.c | -rw-r--r-- | 26.8 KB |
rw.h | -rw-r--r-- | 666 bytes |
slist.h | -rw-r--r-- | 3.0 KB |
splice.c | -rw-r--r-- | 2.9 KB |
splice.h | -rw-r--r-- | 306 bytes |
sqpoll.c | -rw-r--r-- | 9.5 KB |
sqpoll.h | -rw-r--r-- | 753 bytes |
statx.c | -rw-r--r-- | 1.6 KB |
statx.h | -rw-r--r-- | 217 bytes |
sync.c | -rw-r--r-- | 2.7 KB |
sync.h | -rw-r--r-- | 460 bytes |
tctx.c | -rw-r--r-- | 7.4 KB |
tctx.h | -rw-r--r-- | 934 bytes |
timeout.c | -rw-r--r-- | 16.7 KB |
timeout.h | -rw-r--r-- | 1.2 KB |
uring_cmd.c | -rw-r--r-- | 3.0 KB |
uring_cmd.h | -rw-r--r-- | 494 bytes |
xattr.c | -rw-r--r-- | 5.5 KB |
xattr.h | -rw-r--r-- | 654 bytes |
Computing file changes ...