drm/amd/display: Cache cursor when cursor exceeds 64x64
authorChris Park <chris.park@amd.com>
Tue, 28 Jun 2022 16:36:04 +0000 (12:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:17:21 +0000 (17:17 -0400)
commit4074f96d0f2db2fcbd8e223aebe60ca445b8aeae
treefe715a2aa94fbe43422dc199653206be42a240b7
parent81f776b670a0eb17bf9cfbfd2df32f66a34bc453
drm/amd/display: Cache cursor when cursor exceeds 64x64

[Why]
When Static screen from MALL, the cursor needs to be
cached if cursor exceeds 64x64 size.

[How]
Program the bit that cache cursor in MALL when size
of the cursor exceeds 64x64.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Chris Park <chris.park@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/dcn32/dcn32_hubp.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h