From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
Abhinav Kumar <quic_abhinavk@quicinc.com>
Cc: Stephen Boyd <swboyd@chromium.org>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org
Subject: [PATCH v3 0/6] drm/msm/dpu: simplify IRQ helpers
Date: Thu, 17 Feb 2022 07:31:42 +0300 [thread overview]
Message-ID: <20220217043148.480898-1-dmitry.baryshkov@linaro.org> (raw)
This is the second part of
https://patchwork.freedesktop.org/series/91631/ reworked and cleaned up.
Changes since v1:
- Fix warning ins dpu_trace.h related to
dpu_core_irq_unregister_callback event
Changes since v1:
- Use ARRAY_SIZE() rather INTR_IDX_MAX when clearing irq arrays.
Changes since the original pull request:
- Split applied patches
- Add unlikely and WARN_ON in dpu_core_irq_register_callback()
- Remove extra checks in dpu_core_irq_unregister_callback()
- Remove unused arguments of dpu_core_irq_unregister_callback()
- Clean the cb and arg in dpu_core_irq_unregister_callback()
- Split the last patch. Leave enum dpu_intr_idx intact. Pass irq index,
callback and data directly to dpu_encoder helpers.
Dmitry Baryshkov (6):
drm/msm/dpu: remove extra wrappers around dpu_core_irq
drm/msm/dpu: remove always-true argument of dpu_core_irq_read()
drm/msm/dpu: allow just single IRQ callback
drm/msm/dpu: get rid of dpu_encoder_helper_(un)register_irq
drm/msm/dpu: remove struct dpu_encoder_irq
drm/msm/dpu: pass irq to dpu_encoder_helper_wait_for_irq()
drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h | 32 ++--
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 112 +++----------
.../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 43 +----
.../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 92 +++++-----
.../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 51 +++---
.../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 157 +++++++-----------
.../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h | 12 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 27 +--
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 12 --
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 67 ++++----
10 files changed, 202 insertions(+), 403 deletions(-)
--
2.34.1
next reply other threads:[~2022-02-17 4:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 4:31 Dmitry Baryshkov [this message]
2022-02-17 4:31 ` [PATCH v3 1/6] drm/msm/dpu: remove extra wrappers around dpu_core_irq Dmitry Baryshkov
2022-02-17 4:31 ` [PATCH v3 2/6] drm/msm/dpu: remove always-true argument of dpu_core_irq_read() Dmitry Baryshkov
2022-02-17 4:31 ` [PATCH v3 3/6] drm/msm/dpu: allow just single IRQ callback Dmitry Baryshkov
2022-03-03 21:20 ` Stephen Boyd
2022-02-17 4:31 ` [PATCH v3 4/6] drm/msm/dpu: get rid of dpu_encoder_helper_(un)register_irq Dmitry Baryshkov
2022-02-17 4:31 ` [PATCH v3 5/6] drm/msm/dpu: remove struct dpu_encoder_irq Dmitry Baryshkov
2022-03-03 21:21 ` Stephen Boyd
2022-02-17 4:31 ` [PATCH v3 6/6] drm/msm/dpu: pass irq to dpu_encoder_helper_wait_for_irq() Dmitry Baryshkov
2022-03-03 21:22 ` [PATCH v3 0/6] drm/msm/dpu: simplify IRQ helpers Stephen Boyd
2022-03-03 21:47 ` Bjorn Andersson
2022-03-03 21:52 ` 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220217043148.480898-1-dmitry.baryshkov@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=airlied@linux.ie \
--cc=bjorn.andersson@linaro.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=quic_abhinavk@quicinc.com \
--cc=robdclark@gmail.com \
--cc=sean@poorly.run \
--cc=swboyd@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox