AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Refactor DM IRQ handling
@ 2020-09-09 14:28 Aurabindo Pillai
  2020-09-09 14:28 ` [PATCH 1/3] drm/amdgpu: Move existing pflip fields into separate struct Aurabindo Pillai
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Aurabindo Pillai @ 2020-09-09 14:28 UTC (permalink / raw)
  To: amd-gfx; +Cc: nicholas.kazlauskas

Interrupts are disabled too early in DM's atomic_commit() which can
cause issues in certain situations with non blocking commits timing
out on flip_done interrupt. The early disabling of interrupts were
necessary due to interrupts accessing crtc state directly. This
refactor removes direct access of crtc state from the irq handler
so that disabling of interrupts can be done later in commit_tail()

Aurabindo Pillai (3):
  drm/amdgpu: Move existing pflip fields into separate struct
  drm/amd/display: Refactor to prevent crtc state access in DM IRQ
    handler
  drm/amd/display: Move disable interrupt into commit tail

 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h      |   4 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 157 +++++++++---------
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |   1 -
 .../display/amdgpu_dm/amdgpu_dm_irq_params.h  |  37 +++++
 4 files changed, 116 insertions(+), 83 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq_params.h

-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-11 16:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-09 14:28 [PATCH 0/3] Refactor DM IRQ handling Aurabindo Pillai
2020-09-09 14:28 ` [PATCH 1/3] drm/amdgpu: Move existing pflip fields into separate struct Aurabindo Pillai
2020-09-09 14:58   ` Kazlauskas, Nicholas
2020-09-09 14:28 ` [PATCH 2/3] drm/amd/display: Refactor to prevent crtc state access in DM IRQ handler Aurabindo Pillai
2020-09-09 15:00   ` Kazlauskas, Nicholas
2020-09-11 16:28     ` Aurabindo Pillai
2020-09-09 14:28 ` [PATCH 3/3] drm/amd/display: Move disable interrupt into commit tail Aurabindo Pillai
2020-09-09 15:01   ` Kazlauskas, Nicholas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox