drm: hdlcd: Don't depend on VSYNC interrupt when setting new framebuffer.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 22 Jul 2014 17:46:29 +0000 (18:46 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 22 Jul 2014 17:50:18 +0000 (18:50 +0100)
commit58134d3cbe97e894b43ac5039cfb50b3f7a1b862
tree4c1a0a0c26c3bd99a412041efe3c11c3179b706a
parentee7d5138202095a2f5d5a879688dca64637bad84
drm: hdlcd: Don't depend on VSYNC interrupt when setting new framebuffer.

VSYNC state is influenced by the DRM framework and cannot be relied
on when setting a new framebuffer base address and synchronising with
the hardware. Use the DMA_END interrupt as it is a more reliable way
of signaling the end of frame utilisation.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_crtc.c
drivers/gpu/drm/arm/hdlcd_drv.c
drivers/gpu/drm/arm/hdlcd_drv.h
drivers/gpu/drm/arm/hdlcd_fb.c
drivers/gpu/drm/arm/hdlcd_hdmi_encoder.c