Re: [PATCH v7 8/8] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-09 Thread Marijn Suijten
On 2023-05-09 15:06:54, 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 For most intents and purposes, these values are the same when bits_per_pixel=8. We should find a place where we

[PATCH v7 8/8] drm/msm/dsi: update hdisplay calculation for dsi_timing_setup

2023-05-09 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. Reviewed-by: Dmitry Baryshkov Signed-off-by: Jessica Zhang --- drivers/gpu/drm/msm/dsi/dsi_host.c |