Messages in this thread |  | | Subject | Re: [PATCH] drm: verisilicon: support non-coherent DMA framebuffers | | From | Icenowy Zheng <> | | Date | Wed, 06 May 2026 17:01:42 +0800 |
| |
在 2026-05-05二的 18:25 -0400,Dominique Belhachemi写道: > On Tue, May 5, 2026 at 5:03 AM Icenowy Zheng > <zhengxingda@iscas.ac.cn> wrote: > > > > 在 2026-05-05二的 04:26 +0000,Dominique Belhachemi写道: > > > Wire up the standard non-coherent path matching the ingenic DRM > > > driver. > > > > > > Tested on StarFive JH7110 (VisionFive 2 v1.3B). > > > > Interesting, I am curious about other patches added to test this. > > > Hi, > > I tested this on Debian unstable with a slightly patched 7.0.3 kernel > [1]. > The test branch contains your verisilicon series, Michal's JH7110 > display series [2], > and a JH7110 ccache change [3], which was also required to > communicate > with the BXE-4-32 firmware [4].
BTW did you run any rendering? I think the way currently powervr open source driver works requires "coherent memory" (although it's usually implemented as uncached memory).
> > This change here is only used to remove the ugly framebuffer stripes > on the console and in the desktop environment.
But I still think it'd be better to implement proper uncached memory support instead of flushing caches with dirty tracking.
> > [1] https://github.com/domibel/linux/tree/jh7110_dc8200_hdmi_v7.0.3 > [2] > https://lore.kernel.org/lkml/20251108-jh7110-clean-send-v1-0-06bf43bb76b1@samsung.com/ > [3] > https://lore.kernel.org/lkml/20260430035259.3402954-1-domibel@debian.org/ > [4] > https://github.com/domibel/linux/tree/powervr_on_jh7110_visionfive2_v7.0.3
The POW_RASCALDUST thing looks quite interesting, maybe I should investigate it further.
Thanks, Icenowy > > Dominique
|  |