Re: [PATCH 1/2] drm/msm: don't free the IRQ if it was not requested

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/05/2022 04:41, Stephen Boyd wrote:
Quoting Dmitry Baryshkov (2022-05-11 18:30:55)
On 12/05/2022 04:29, Stephen Boyd wrote:
Quoting Dmitry Baryshkov (2022-05-11 18:01:31)
On Thu, 12 May 2022 at 03:54, Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:

Quoting Dmitry Baryshkov (2022-05-06 18:00:20)

Does this supersede commit 01013ba9bbdd ("drm/msm/disp/dpu1: avoid
clearing hw interrupts if hw_intr is null during drm uninit")? I mean
that with this patch applied kms->irq_requested makes the check in
dpu_core_irq_uninstall() irrelevant because it isn't called anymore?

Yes.


I didn't see it deleted in the second patch so is a revert going to be
sent?

No need to. They are separate checks. The older one is superseded (as it
will be never hit),  but it is still valid and useful (to protect from
the crash if this code changes again).


Ew, gross. The extra conditionals everywhere really makes it hard to
follow along.

With the second patch being dropped I'd prefer to leave both conditions in place.

--
With best wishes
Dmitry



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux