]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Choose HUBP unbounded request based on DML output
authorSung Joon Kim <sungjoon.kim@amd.com>
Fri, 14 Jun 2024 23:14:31 +0000 (19:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:06:53 +0000 (16:06 -0400)
commit73b8a388eb0c1328dab1161e42eed3d7b507764b
tree8ab275bb71e722d298f6985dc63403e4df5fb31d
parent032831f223bce58e2fea9542cade0ae9789dc378
drm/amd/display: Choose HUBP unbounded request based on DML output

[why]
Previously, we decide on the unbounded request
purely based on pipe_cnt which is a wrong variable
to use to determine how many pipes are in "use".
DML already accounts for number of pipes in use
along with other various factors and is a more reliable
method of determination.

[how]
Use UnboundedRequestEnabledThisState to decide
on unbounbded_req_enabled.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c