Re: [PATCHv6 3/4] drm/omap: add framedone interrupt support

2019-05-31 Thread Tomi Valkeinen
On 30/05/2019 00:55, Sebastian Reichel wrote: Oh sorry, I missed the part that omap_irq_wait_init() actually enables the framedone irq. It should be enough to just drop the warning (and the curly brackets) to keep existing behaviour. The code exits early with the above warning for any existing c

Re: [PATCHv6 3/4] drm/omap: add framedone interrupt support

2019-05-29 Thread Sebastian Reichel
Hi Tomi, On Tue, May 28, 2019 at 01:19:01PM +0300, Tomi Valkeinen wrote: > Hi Sebastian, > > On 23/05/2019 23:07, Sebastian Reichel wrote: > > > @@ -302,6 +328,30 @@ void omap_crtc_vblank_irq(struct drm_crtc *crtc) > > DBG("%s: apply done", omap_crtc->name); > > } > > +void omap_crtc_frame

Re: [PATCHv6 3/4] drm/omap: add framedone interrupt support

2019-05-28 Thread Tomi Valkeinen
Hi Sebastian, On 23/05/2019 23:07, Sebastian Reichel wrote: @@ -302,6 +328,30 @@ void omap_crtc_vblank_irq(struct drm_crtc *crtc) DBG("%s: apply done", omap_crtc->name); } +void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus) +{ + struct omap_crtc *omap_cr

[PATCHv6 3/4] drm/omap: add framedone interrupt support

2019-05-23 Thread Sebastian Reichel
This prepares framedone interrupt handling for manual display update support. Acked-by: Pavel Machek Tested-by: Tony Lindgren Tested-by: Pavel Machek Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 50 + drivers/gpu/drm/omapdrm/omap_crtc.

[PATCHv6 3/4] drm/omap: add framedone interrupt support

2019-04-04 Thread Sebastian Reichel
This prepares framedone interrupt handling for manual display update support. Acked-by: Pavel Machek Tested-by: Tony Lindgren Tested-by: Pavel Machek Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 50 + drivers/gpu/drm/omapdrm/omap_crtc.