Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-08 Thread Marijn Suijten
On 2023-05-08 17:51:08, Jessica Zhang wrote: > > > On 5/7/2023 11:34 AM, Marijn Suijten wrote: > > On 2023-05-07 17:27:33, Marijn Suijten wrote: > >> On 2023-05-04 15:05:15, Abhinav Kumar wrote: > >>> > >>> > >>> On 5/4/2023 2:56 PM, Marijn Suijten wrote: > On 2023-04-12 16:25:20, Jessica Zh

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-08 Thread Jessica Zhang
On 5/7/2023 11:34 AM, Marijn Suijten wrote: On 2023-05-07 17:27:33, Marijn Suijten wrote: On 2023-05-04 15:05:15, Abhinav Kumar wrote: On 5/4/2023 2:56 PM, Marijn Suijten wrote: On 2023-04-12 16:25:20, Jessica Zhang wrote: hdisplay for compressed images should be calculated as bytes_per_

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-08 Thread Jessica Zhang
On 5/8/2023 2:46 PM, Marijn Suijten wrote: On 2023-04-12 16:25:20, Jessica Zhang wrote: hdisplay for compressed images should be calculated as bytes_per_slice * slice_count. Thus, use MSM DSC helper to calculate hdisplay for dsi_timing_setup instead of directly using mode->hdisplay. This do

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-08 Thread Marijn Suijten
On 2023-04-12 16:25:20, Jessica Zhang wrote: > hdisplay for compressed images should be calculated as bytes_per_slice * > slice_count. Thus, use MSM DSC helper to calculate hdisplay for > dsi_timing_setup instead of directly using mode->hdisplay. This doesn't really matter in the common case of of

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-07 Thread Marijn Suijten
On 2023-05-07 17:27:33, Marijn Suijten wrote: > On 2023-05-04 15:05:15, Abhinav Kumar wrote: > > > > > > On 5/4/2023 2:56 PM, Marijn Suijten wrote: > > > On 2023-04-12 16:25:20, Jessica Zhang wrote: > > >> hdisplay for compressed images should be calculated as bytes_per_slice * > > >> slice_count

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-07 Thread Marijn Suijten
On 2023-05-04 15:34:08, Jessica Zhang wrote: > > > On 5/4/2023 2:56 PM, Marijn Suijten wrote: > > On 2023-04-12 16:25:20, Jessica Zhang wrote: > >> hdisplay for compressed images should be calculated as bytes_per_slice * > >> slice_count. Thus, use MSM DSC helper to calculate hdisplay for > >> ds

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-07 Thread Marijn Suijten
On 2023-05-04 15:05:15, Abhinav Kumar wrote: > > > On 5/4/2023 2:56 PM, Marijn Suijten wrote: > > On 2023-04-12 16:25:20, Jessica Zhang wrote: > >> hdisplay for compressed images should be calculated as bytes_per_slice * > >> slice_count. Thus, use MSM DSC helper to calculate hdisplay for > >> ds

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-04 Thread Jessica Zhang
On 5/4/2023 2:56 PM, Marijn Suijten wrote: On 2023-04-12 16:25:20, Jessica Zhang wrote: hdisplay for compressed images should be calculated as bytes_per_slice * slice_count. Thus, use MSM DSC helper to calculate hdisplay for dsi_timing_setup instead of directly using mode->hdisplay. Changes

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-04 Thread Abhinav Kumar
On 5/4/2023 2:56 PM, Marijn Suijten wrote: On 2023-04-12 16:25:20, Jessica Zhang wrote: hdisplay for compressed images should be calculated as bytes_per_slice * slice_count. Thus, use MSM DSC helper to calculate hdisplay for dsi_timing_setup instead of directly using mode->hdisplay. Changes

Re: [PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-04 Thread Marijn Suijten
On 2023-04-12 16:25:20, Jessica Zhang wrote: > hdisplay for compressed images should be calculated as bytes_per_slice * > slice_count. Thus, use MSM DSC helper to calculate hdisplay for > dsi_timing_setup instead of directly using mode->hdisplay. > > Changes in v3: > - Split from previous patch >

[PATCH v6 6/7] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-04-12 Thread Jessica Zhang
hdisplay for compressed images should be calculated as bytes_per_slice * slice_count. Thus, use MSM DSC helper to calculate hdisplay for dsi_timing_setup instead of directly using mode->hdisplay. Changes in v3: - Split from previous patch - Initialized hdisplay as uncompressed pclk per line at the