drm/amd/display: drop vblank_lock from struct amdgpu_display_manager

As of commit 09a5df6c44 ("drm/amd/display: Fix multi-display support
for idle opt workqueue"), vblank_lock is no longer being used. So, don't
init it in amdgpu_dm_init() and remove it from struct
amdgpu_display_manager.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Hamza Mahfooz
2022-10-31 10:47:36 -04:00
committed by Alex Deucher
parent ee22f63b10
commit 26f2fe8608
2 changed files with 0 additions and 8 deletions

View File

@@ -365,13 +365,6 @@ struct amdgpu_display_manager {
*/
struct mutex audio_lock;
/**
* @vblank_lock:
*
* Guards access to deferred vblank work state.
*/
spinlock_t vblank_lock;
/**
* @audio_component:
*