]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Refactor to prevent crtc state access in DM IRQ handler
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 12 Aug 2020 22:56:14 +0000 (18:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:39 +0000 (17:52 -0400)
commit18c898311cad5f66d6e3e8b7b3a6c5e46f9420fa
tree979dbb4996ffeacd3c6b9d3fabb73feaaaf3900f
parent580d96c5c73bf5d2ca9164c824ac5f2bd30fa3c4
drm/amd/display: Refactor to prevent crtc state access in DM IRQ handler

[Why&How]
Currently commit_tail holds global locks and wait for dependencies which is
against the DRM API contracts. Inorder to fix this, IRQ handler should be able
to run without having to access crtc state. Required parameters are copied over
so that they can be directly accessed from the interrupt handler

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq_params.h