]> 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)
commit079a18bc31563632c8aeda13cc3fbfa9f7ea3f4e
tree979dbb4996ffeacd3c6b9d3fabb73feaaaf3900f
parent4409fb3e51021b46f7eae715c2935454066a78a3
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