[PATCH v2 06/11] video: rockchip: Add VOP2 support
Chaoyi Chen
chaoyi.chen at rock-chips.com
Mon Mar 3 10:48:14 CET 2025
Hi Dang,
On 2025/3/2 12:09, Dang Huynh wrote:
> Hi Chaoyi Chen,
>
> On Thursday, February 27, 2025 6:29:13 AM UTC Chaoyi Chen wrote:
>> Could you use a naming prefix like "rkvop2" to explicitly indicate the
>> use of vop2, thereby distinguishing it from rk_vop.c?
>>
> Yes. This will be in v3.
Thank you!
>
>>> + 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.
>
>
More information about the U-Boot
mailing list