Re: [PATCH v7 7/9] drm/mediatek: change the dsi phytiming calculate method

2019-12-13 Thread Ryan Case
Hi Enric, On Thu, Dec 12, 2019 at 5:53 AM Enric Balletbo Serra wrote: > > Hi, > > Missatge de CK Hu del dia dj., 26 de set. 2019 a les > 10:51: > > > > Hi, Jitao: > > > > On Thu, 2019-09-19 at 14:58 +0800, Jitao Shi wrote: > > > Change the method of frame rate calc which can get more accurate >

Re: [PATCH v7 7/9] drm/mediatek: change the dsi phytiming calculate method

2019-12-12 Thread CK Hu
Hi, Ryan: On Thu, 2019-12-12 at 14:47 -0800, Ryan Case wrote: > Hi Enric, > > On Thu, Dec 12, 2019 at 5:53 AM Enric Balletbo Serra > wrote: > > > > Hi, > > > > Missatge de CK Hu del dia dj., 26 de set. 2019 a les > > 10:51: > > > > > > Hi, Jitao: > > > > > > On Thu, 2019-09-19 at 14:58 +0800,

Re: [PATCH v7 7/9] drm/mediatek: change the dsi phytiming calculate method

2019-12-12 Thread Enric Balletbo Serra
Hi, Missatge de CK Hu del dia dj., 26 de set. 2019 a les 10:51: > > Hi, Jitao: > > On Thu, 2019-09-19 at 14:58 +0800, Jitao Shi wrote: > > Change the method of frame rate calc which can get more accurate > > frame rate. > > > > data rate = pixel_clock * bit_per_pixel / lanes > > Adjust hfp_wc to

Re: [PATCH v7 7/9] drm/mediatek: change the dsi phytiming calculate method

2019-09-26 Thread CK Hu
Hi, Jitao: On Thu, 2019-09-19 at 14:58 +0800, Jitao Shi wrote: > Change the method of frame rate calc which can get more accurate > frame rate. > > data rate = pixel_clock * bit_per_pixel / lanes > Adjust hfp_wc to adapt the additional phy_data > > if MIPI_DSI_MODE_VIDEO_BURST > hfp_wc = h

[PATCH v7 7/9] drm/mediatek: change the dsi phytiming calculate method

2019-09-18 Thread Jitao Shi
Change the method of frame rate calc which can get more accurate frame rate. data rate = pixel_clock * bit_per_pixel / lanes Adjust hfp_wc to adapt the additional phy_data if MIPI_DSI_MODE_VIDEO_BURST hfp_wc = hfp * bpp - data_phy_cycles * lanes - 12 - 6; else hfp_wc = hfp * bpp -