From: Russell King - ARM Linux Subject: Re: [PATCH] drm: hdlcd: allow HDLCD to be used without interrupt Date: Wed, 30 Aug 2017 12:13:55 +0100 Message-ID: <20170830111355.GK20805@n2100.armlinux.org.uk> References: <20170726102748.GM31807@n2100.armlinux.org.uk> <20170728152311.GA970@e110455-lin.cambridge.arm.com> <20170728155827.GV31807@n2100.armlinux.org.uk> <20170829133351.GK10796@e110455-lin.cambridge.arm.com> <20170829164824.GH20805@n2100.armlinux.org.uk> <20170830105414.GB1310@e110455-lin.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170830105414.GB1310-A/Nd4k6kWRHZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Liviu Dudau Cc: Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, David Airlie , dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, Rob Herring , Mali DP Maintainers , Brian Starkey , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: dri-devel@lists.freedesktop.org On Wed, Aug 30, 2017 at 11:54:14AM +0100, Liviu Dudau wrote: > On Tue, Aug 29, 2017 at 05:48:24PM +0100, Russell King - ARM Linux wrote: > > On Tue, Aug 29, 2017 at 02:33:52PM +0100, Liviu Dudau wrote: > > > I've worked with Vladimir Murzin inside ARM to try to sort out problems > > > on the board like the one that you have. He's got to a point where the HDLCD > > > starts correctly after adding a non-fixed pxlclk source, but then the rest of > > > the setup is semi-useless without a working IRQ because DRM atomic calls > > > will give you a vblank timeout splat everytime you invoke them. So I'm > > > not sure how you want to progress with this patch, as not having an IRQ > > > line means you will not get any vblank interrupts and you can't use the > > > driver with userspace that calls DRM API. > > > > > > The RTL guys are apparently working on a fix, but I have no ETA or > > > details on when they are going to do. > > > > It sounds then like this patch doesn't make sense - so I'm happy > > for it to be dropped. It's something to bear in mind in the future > > when folk decide whether to adopt fbdev or DRM support for hardware > > that gets used in MMU-less hardware... > > I don't think this has anything to do with the presence of a MMU or not. It doesn't directly, but nommu is probably more likely to not wire the interrupt than mmu systems, on the grounds that nommu is more embedded. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html