]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Don't consider cursor for no plane case in DML1
authorAlvin Lee <alvin.lee2@amd.com>
Tue, 25 Jun 2024 20:40:51 +0000 (16:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:07:09 +0000 (17:07 -0400)
commit0961367cb5208850a123d235d147f92f586b2491
treec96b4c749a86807323d08156ed89856848b523f5
parent5f30ee493044e9ea3a46167e5597a96f5c302adb
drm/amd/display: Don't consider cursor for no plane case in DML1

[Description]
For no plane scenarios we should not consider cursor as there cannot
be any cursor if  there's no planes. This fixes an issue where
dc_commit_streams fails due to prefetch bandwidth requirements
(the display config + dummy planes + cursor causes the prefetch
bandwidth to exceed what is possible).

Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@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/dml/dcn20/dcn20_fpu.c