]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Revert DCN4 max buffered cursor size to 64
authorDillon Varone <Dillon.Varone@amd.com>
Thu, 23 Oct 2025 21:07:04 +0000 (17:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Nov 2025 16:53:20 +0000 (11:53 -0500)
commitac7f4fcc7b7d3b922a0001a101f4ce1bd8824a5e
tree8b0aca2d13cf22b57773e5ae191e763b143a1a99
parentb0ba3108e3f8b20d8631ca4475a1a6d171973651
drm/amd/display: Revert DCN4 max buffered cursor size to 64

[Why & How]
The buffered cursor cap is expressed assuming a square cursor, and usage
of the cursor buffer is limited by the request size. For greater than 32
pixels, the request size is fixed at 256 bytes, so the maximum width
must be floored to the nearest 256th byte. At 4bpp this means even with
24kB DCN4 can only hold a 64x64 cursor in the buffer as even 65 pixels
would require 512 bytes per line instead of 256.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com>
Signed-off-by: Ray Wu <ray.wu@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/resource/dcn32/dcn32_resource.c