[PATCH v10 4/8] drm/msm: Add MSM-specific DSC helper methods

Marijn Suijten marijn.suijten at somainline.org
Tue May 16 22:52:47 UTC 2023


On 2023-05-15 17:59:14, Jessica Zhang wrote:
<snip>
> > The name is good, I'm just not too keen on it hiding the multiplication
> > with msm_dsc_get_slice_per_intf() which is already also computed and
> > available in DSI, and I assume DP too?
> 
> Got it, I see why you want to make that change now. DP only uses 
> get_slice_per_intf() to get eol_byte_num similarly to DSI, so I can just 
> do that then.

Thanks, the function is indeed only called once to calculate
bytes_per_intf() for eol_byte_num, and the value for slice_per_intf is
already available in-line.

- Marijn


More information about the dri-devel mailing list