mirror_ubuntu-kernels/drivers/gpu/drm/amd
Duncan Ma 2e6e14c9e4 drm/amd/display: Set compbuf size to min at prep prevent overbook crb
[Why]
Detbuffer size is dynamically set for dcn31x. At certain moment,
compbuf+(def size * num pipes) > config return buffer size causing
flickering. This is easily reproducible when MPO is
enabled with two displays.

[How]
At prepare BW, use the min comp buffer size. When it is to
optimize BW, set compbuf size back to maximum possible size.

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Duncan Ma <duncanma@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-02-23 14:21:43 -05:00
..
acp
amdgpu drm/amdgpu: Remove unused get_umc_v8_7_channel_index function 2022-02-23 14:02:51 -05:00
amdkfd drm/amdkfd: Use real device for messages 2022-02-23 14:02:50 -05:00
display drm/amd/display: Set compbuf size to min at prep prevent overbook crb 2022-02-23 14:21:43 -05:00
include drm/amd/include: add DCN 3.1.5 registers 2022-02-18 14:07:00 -05:00
pm drm/amd/pm: validate SMU feature enable message for getting feature enabled mask 2022-02-22 14:44:36 -05:00