aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
diff options
context:
space:
mode:
authorLeo Li <[email protected]>2022-06-08 16:17:44 +0000
committerAlex Deucher <[email protected]>2022-06-15 01:38:40 +0000
commit1f474c8742fd53a048cc8cc4b20e20b2614397eb (patch)
tree1b27c71435cce99bf6a458fadec9c92d93ab026e /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
parentdrm/amdgpu: Fix GTT size reporting in amdgpu_ioctl (diff)
downloadkernel-1f474c8742fd53a048cc8cc4b20e20b2614397eb.tar.gz
kernel-1f474c8742fd53a048cc8cc4b20e20b2614397eb.zip
drm/amd/display: Use pre-allocated temp struct for bounding box update
[Why] There is a theoretical problem in prior patches for reducing the stack size of *update_bw_bounding_box() functions. By modifying the soc.clock_limits[n] struct directly, this can cause unintended behavior as the for loop attempts to swap rows in clock_limits[n]. A temporary struct is still required to make sure we stay functinoally equivalent. [How] Add a temporary clock_limits table to the SOC struct, and use it when swapping rows. Signed-off-by: Leo Li <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
0 files changed, 0 insertions, 0 deletions