]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Reduce frame size in the bouding box for DCN301
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Wed, 1 Jun 2022 14:39:37 +0000 (10:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jun 2022 15:40:12 +0000 (11:40 -0400)
commit87d6b28e4a753f4a0572a695fcee094510dc6519
treea165ebd28952fe9d0c68ae9bff82fa05e73ac9a7
parent136788cc74cbd9fabc2922b77bfdd38a53eb7155
drm/amd/display: Reduce frame size in the bouding box for DCN301

GCC throw warnings for the function dcn301_fpu_update_bw_bounding_box
due to its frame size that looks like this:

 error: the frame size of 1936 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

For fixing this issue I dropped an intermadiate variable.

Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.c