Re: [PATCH v2] drm/panel/panel-sitronix-st7701: Fix RTNI calculation

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

 



On Tue, Oct 18, 2022 at 11:03 AM Marek Vasut <marex@xxxxxxx> wrote:
> On 10/18/22 10:53, Linus Walleij wrote:
> > On Thu, Oct 13, 2022 at 12:12 AM Marek Vasut <marex@xxxxxxx> wrote:
> >
> >> The RTNI field is multiplied by 16 and incremented by 512 before being
> >> used as the minimum number of pixel clock per horizontal line, hence
> >> it is necessary to subtract those 512 bytes from htotal and then divide
> >> the result by 16 before writing the value into the RTNI field. Fix the
> >> calculation.
> >>
> >> Fixes: de2b4917843c ("drm/panel/panel-sitronix-st7701: Infer horizontal pixel count from TFT mode")
> >> Signed-off-by: Marek Vasut <marex@xxxxxxx>
> >> ---
> >> Cc: Guido Günther <agx@xxxxxxxxxxx>
> >> Cc: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>
> >> Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> >> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> >> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
> >> Cc: Thierry Reding <thierry.reding@xxxxxxxxx>
> >> ---
> >> V2: Clamp the htotal to range 512...1008, so RTNI always fits the bitfield
> >
> > I tried to apply this to drm-misc-fixes but the branch has not yet
> > been moved forward to v6.1-rc1.
>
> Can I maybe get RB until then ?

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

I've been told to go and poke the DRM git people at IRC to rebase
the fixes branch.

Yours,
Linus Walleij




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux