]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Add lock descriptor to check_update
authorDominik Kaszewski <dominik.kaszewski@amd.com>
Wed, 30 Jul 2025 13:16:15 +0000 (15:16 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Oct 2025 13:58:22 +0000 (09:58 -0400)
commit8e6361a9e09846ff1fd3a908345862b8dc2632fd
treed30087ce2b869cf890325dff0fd93b95d7a8c287
parent518a368c57a0e63f531e471baa9499c45ab87f7c
drm/amd/display: Add lock descriptor to check_update

[Why]
DM locks the global DC lock during all updates, even if multiple
updates touch different resources and could be run in parallel.

[How]
Add extra enum specifying which kind of resources should be locked.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Dominik Kaszewski <dominik.kaszewski@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan 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/dc.h
drivers/gpu/drm/amd/display/dc/dc_stream.h