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

2022-10-18 Thread Linus Walleij
On Tue, Oct 18, 2022 at 12:01 PM Marek Vasut wrote: > On 10/18/22 11:13, Linus Walleij wrote: > > I've been told to go and poke the DRM git people at IRC to rebase > > the fixes branch. > > That would be #dri-devel on OFTC I think ? Yups, I pinged and mlankhorst says he will fix it. Yours, Linu

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

2022-10-18 Thread Marek Vasut
On 10/18/22 11:13, Linus Walleij wrote: On Tue, Oct 18, 2022 at 11:03 AM Marek Vasut wrote: On 10/18/22 10:53, Linus Walleij wrote: On Thu, Oct 13, 2022 at 12:12 AM Marek Vasut wrote: The RTNI field is multiplied by 16 and incremented by 512 before being used as the minimum number of pixel

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

2022-10-18 Thread Linus Walleij
On Tue, Oct 18, 2022 at 11:03 AM Marek Vasut wrote: > On 10/18/22 10:53, Linus Walleij wrote: > > On Thu, Oct 13, 2022 at 12:12 AM Marek Vasut 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,

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

2022-10-18 Thread Marek Vasut
On 10/18/22 10:53, Linus Walleij wrote: On Thu, Oct 13, 2022 at 12:12 AM Marek Vasut 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 th

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

2022-10-18 Thread Linus Walleij
On Thu, Oct 13, 2022 at 12:12 AM Marek Vasut 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 w

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

2022-10-12 Thread Marek Vasut
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. Fi