lkml.org 
[lkml]   [2018]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 01/12] drm/sun4i: sun6i_mipi_dsi: Compute burst mode loop N1 instruction delay
    On Fri, Nov 16, 2018 at 10:09:05PM +0530, Jagan Teki wrote:
    > Loop N1 instruction delay for burst mode lcd panel are
    > computed as per BSP code.
    >
    > Reference code is available in BSP (from linux-sunxi
    > drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/de_dsi.c)
    >
    > dsi_dev[sel]->dsi_inst_loop_num.bits.loop_n1=
    > (panel->lcd_ht-panel->lcd_x)*(150)/(panel->lcd_dclk_freq*8) - 50;
    > => (((mode->htotal - mode->hdisplay) * 150) /
    > ((mode->clock / 1000) * 8)) - 50;
    >
    > So use the similar computation for loop N1 delay.
    >
    > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

    *why* are you doing this? What is it fixing? on which devices?

    Maxime

    --
    Maxime Ripard, Bootlin
    Embedded Linux and Kernel engineering
    https://bootlin.com
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2018-11-19 09:27    [W:4.094 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site