]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Backup and restore plane configuration only on update
authorDillon Varone <Dillon.Varone@amd.com>
Thu, 24 Apr 2025 17:38:19 +0000 (13:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 13:25:32 +0000 (09:25 -0400)
commit37052175016ca0d4816365fa333474867184d0af
tree911c625eb0948ebcac0fea090b45b2ad89f9aa71
parent0a5c060b593ad152318f89e5564bfdfcff8a6ac0
drm/amd/display: Backup and restore plane configuration only on update

[WHY&HOW]
When backing up and restoring plane states for minimal transition
cases, only configuration should be backed up and restored. Information
only relevant to the object/allocation (like refcount) should be
excluded. Also move this interface to dc_plane.h.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@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/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_surface.c
drivers/gpu/drm/amd/display/dc/dc_plane.h