[PATCH 22/22] drm: rockchip: Add VOP2 driver
Sascha Hauer
s.hauer at pengutronix.de
Wed Jan 5 04:20:39 PST 2022
Hi Andy,
On Tue, Jan 04, 2022 at 07:07:23PM +0800, Andy Yan wrote:
>
>
> I thinks we should be very carefully about switch to regmap.
>
> Most of the registers are take effect by frame sync(that is you write the
> config done bit and when vsync interrupt come),
>
> Not only windows register, but also the SYS_CTRL, post processor(VP0/1/2),
> OVERLAY, hdr and so on.
That's why I marked these as nonvolatile, so that reading the registers
comes from the cache. I may have missed some registers, these could be
added when needed.
> > + ret = vop2_win_init(vop2);
> > + if (ret)
> > + return ret;
> Do you have a count about how much time the function vop2_win_init cost ?
No. Why does that matter?
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the Linux-rockchip
mailing list