summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorDuncan Ma <duncan.ma@amd.com>2022-05-17 17:50:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-07 16:09:53 -0400
commit0c56705d8aae9696348cc320b71d531ede001b79 (patch)
tree703395b1d1e48dfcb3f2fb5469eda4edbec3fd74 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent2d017189e2b39cf2fae63984215385401b77ea83 (diff)
downloadlinux-0c56705d8aae9696348cc320b71d531ede001b79.tar.bz2
drm/amd/display: Correct min comp buffer size
[Why] In 3-way mpo pipes, there is a case that we overbook the CRB buffer size. At rare instances, overbooking the crb will cause underflow. This only happens when det_size changes dynamically based on pipe_cnt. [How] Set min compbuff size to 1 segment when preparing BW. Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Duncan Ma <duncan.ma@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions