]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Request HW cursor on DCN3.2 with SubVP
authorAric Cyr <Aric.Cyr@amd.com>
Thu, 23 Jan 2025 21:39:52 +0000 (16:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:03:01 +0000 (21:03 -0500)
commit13437c91606c9232c747475e202fe3827cd53264
tree38cd3b3e3db354ec626c33dad4f2f9f66823c488
parent2739bd123782f9bedc39285b3965ff2b4b3e6411
drm/amd/display: Request HW cursor on DCN3.2 with SubVP

[WHY]
When SubVP is active the HW cursor size is limited to 64x64, and
anything larger will force composition which is bad for gaming on
DCN3.2 if the game uses a larger cursor.

[HOW]
If HW cursor is requested, typically by a fullscreen game, do not
enable SubVP so that up to 256x256 cursor sizes are available for
DCN3.2.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Aric Cyr <Aric.Cyr@amd.com>
Signed-off-by: Alex Hung <alex.hung@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/dcn32/dcn32_fpu.c