[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 2/4] xlnx_dp: Introduce a vblank signal
From: |
Peter Maydell |
Subject: |
Re: [PATCH v1 2/4] xlnx_dp: Introduce a vblank signal |
Date: |
Mon, 16 May 2022 11:42:01 +0100 |
On Mon, 16 May 2022 at 11:36, Frederic Konrad <fkonrad@xilinx.com> wrote:
> > From: Peter Maydell <peter.maydell@linaro.org>
> >
> > On Tue, 3 May 2022 at 16:27, <frederic.konrad@xilinx.com> wrote:
> > The ptimer documentation (in include/hw/ptimer.h) says
> > * The default ptimer policy retains backward compatibility with the legacy
> > * timers. Custom policies are adjusting the default one. Consider providing
> > * a correct policy for your timer.
> >
> > and goes on to describe various weird behaviours of the default
> > policy. You almost certainly don't want to use PTIMER_POLICY_DEFAULT
> > for a new timer -- instead figure out the behaviour you actually
> > want and specify the appropriate flags.
>
> Hi Peter,
>
> Thanks for your feedback.
>
> Yes, I think, I can just use CONTINUOUS_TRIGGER and NO_IMMEDIATE_TRIGGER
> instead of forcing the decrementer / reload value to 1. Would that be
> cleaner?
I don't know exactly what behaviour you want, but you should probably
also consider PTIMER_POLICY_WRAP_AFTER_ONE_PERIOD.
-- PMM
- [PATCH v1 0/4] xlnx-zcu102: fix the display port., frederic.konrad, 2022/05/03
- [PATCH v1 1/4] xlnx_dp: fix the wrong register size, frederic.konrad, 2022/05/03
- [PATCH v1 3/4] xlnx_dp: Fix the interrupt disable logic, frederic.konrad, 2022/05/03
- [PATCH v1 4/4] xlnx-zynqmp: fix the irq mapping for the display port and its dma, frederic.konrad, 2022/05/03
- RE: [PATCH v1 0/4] xlnx-zcu102: fix the display port., Frederic Konrad, 2022/05/13