archive mirror
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <>
To: Rob Clark <>, Sean Paul <>,
	Jonathan Marek <>
Cc: Stephen Boyd <>, David Airlie <>,
	Daniel Vetter <>,,,
Subject: [PATCH v1 0/3] drm/msm/dpu: rework irq handling
Date: Mon, 12 Apr 2021 03:09:51 +0300	[thread overview]
Message-ID: <> (raw)

Simplify IRQ handling. dpu_irq_map is a huge table consisting of all
possible IRQ entries (including a plenty of 'reserved' = not existing
IRQs). It is always used to lookup the interrupt index (in the table)
and then to use this index to lookup related interrupt register and
mask. For the long period of time these indices had 1:1 correspondence
to register/mask pairs. SC7280 introduced 'additional' IRQs removing
this correpondence.

Replace all IRQ lookup with stable irq indices, which correponds
directly to the register/bit pair. The dpu_irq_map table is used only
for the lookup of the irq index.

Changes since RFC:
 - rebase on top of msm/msm-next to include SC7280 changes.

             reply	other threads:[~2021-04-12  0:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12  0:09 Dmitry Baryshkov [this message]
2021-04-12  0:09 ` [PATCH v1 1/3] drm/msm/dpu: merge dpu_hw_intr_get_interrupt_statuses into dpu_hw_intr_dispatch_irqs Dmitry Baryshkov
2021-05-16  4:30   ` Bjorn Andersson
2021-04-12  0:09 ` [PATCH v1 2/3] drm/msm/dpu: hw_intr: always call dpu_hw_intr_clear_intr_status_nolock Dmitry Baryshkov
2021-05-16  4:31   ` Bjorn Andersson
2021-04-12  0:09 ` [PATCH v1 3/3] drm/msm/dpu: simplify interrupt managing Dmitry Baryshkov
2021-05-16  5:24   ` Bjorn Andersson
2021-05-16 12:29     ` Dmitry Baryshkov
2021-05-16 20:35     ` Dmitry Baryshkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v1 0/3] drm/msm/dpu: rework irq handling' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).