On Thu, Dec 05, 2024 at 08:31:47PM -0800, Abhinav Kumar wrote: > p1 register block is needed for the second mst stream. > Add support in the catalog to be able to program this block. > > Signed-off-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> > --- > drivers/gpu/drm/msm/dp/dp_catalog.c | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > @@ -1137,6 +1160,12 @@ static int msm_dp_catalog_get_io(struct msm_dp_catalog_private *catalog) > DRM_ERROR("unable to remap p0 region: %pe\n", dss->p0.base); > return PTR_ERR(dss->p0.base); > } > + > + dss->p1.base = msm_dp_ioremap(pdev, 4, &dss->p1.len); > + if (IS_ERR(dss->p1.base)) { > + DRM_ERROR("unable to remap p1 region: %pe\n", dss->p1.base); > + return PTR_ERR(dss->p1.base); > + } Forgot to mention, please also map p1 in the legacy bingdings branch in this function. > } > > return 0; > > -- > 2.34.1 > -- With best wishes Dmitry