[PATCH v2 06/11] video: rockchip: Add VOP2 support
Dang Huynh
danct12 at riseup.net
Tue Mar 4 02:04:37 CET 2025
Hi Chaoyi Chen,
On Monday, March 3, 2025 9:48:14 AM UTC Chaoyi Chen wrote:
> Hi Dang,
>
> On 2025/3/2 12:09, Dang Huynh wrote:
> >>> + struct rk3568_vop_esmart *esmart = priv->regs +
> >
> > VOP2_ESMART_OFFSET(0);
> >
> >> You are assuming that the RK356X is always used ESMART0, which generally
> >> works. But considering
> >> that there are multiple Video Ports and different Video Ports may have
> >> different primary win,
> >> selecting the appropriate win can simplifies the processing for U-Boot
> >> to Kernel transitions in the future.
> >>
> >> It's a good idea to implement the win selection as a configurable
> >> parameter, or we can consider the
> >> default win used for different Video Ports.
> >
> > ESMART0 is configured to the desired video port on U-Boot. VOP2 should be
> > reconfigured by Linux.
>
> That make sense. But would this be a problem if it is to be displayed
> on multiple video ports (HDMI & MIPI DSI)
>
> at the same time? I've only tested HDMI so far.
U-Boot doesn't support multiple displays, so it doesn't seem to be a issue.
More information about the U-Boot
mailing list