[PATCH v5 2/2] drm: tilcdc: clear the sync lost bit in crtc isr

2016-10-31 Thread Karl Beldan
Hi, On Mon, Oct 31, 2016 at 2:19 PM, Bartosz Golaszewski wrote: > The frame synchronization error happens when the DMA engine attempts > to read what it believes to be the first word of the video buffer but > it cannot be recognized as such or when the LCDC is starved of data > due to

[PATCH 0/2] ARM: davinci: initial infrastructure for LCDC

2016-10-05 Thread Karl Beldan
patches and > removed the panel node. > > Tested on a da850-lcdk with an LCD display connected over VGA with > two patches already posted to the drm mailing list: > > drm: tilcdc: add a da850-specific compatible string > drm: tilcdc: add a workaround for failed clk_set_rate()

[PATCH 0/3] drm/tilcdc: Some fixes for LCDC rev1

2016-08-26 Thread Karl Beldan
Hi, On Tue, Aug 23, 2016 at 07:24:42PM +0300, Jyri Sarha wrote: > Thanks a lot! > This is very helpful as I do not have LCDC rev1 HW my self, but only > am335x based boards. > > On 08/23/16 15:56, Karl Beldan wrote: > > Hi, > > > > I found some missing b

[PATCH 3/3] drm/tilcdc: Advertise the DRM_FORMATs according to the IP revision

2016-08-23 Thread Karl Beldan
ATM the driver unconditionally advertises support for some 24bpp and 32bpp formats while version 1 of the IP only supports up to 16bpp. Signed-off-by: Karl Beldan --- drivers/gpu/drm/tilcdc/tilcdc_plane.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH 2/3] drm/tilcdc: Enable EOF interrupts for v1 LCDC

2016-08-23 Thread Karl Beldan
This got accidentally dropped in the fixed commit and is required for the driver to properly work on the rev1 IP, such as found on the LCDK. Fixes: 2b2080d7e9ae ("drm/tilcdc: Get rid of complex ping-pong mechanism") Signed-off-by: Karl Beldan --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c

[PATCH 1/3] drm/tilcdc: Adjust the FB_CEILING address

2016-08-23 Thread Karl Beldan
o 00b", the dma_addr_t can be decremented without cast. I tested it with a v2 (AM335x, rev 0x4F201000) and an LCDK (v1). Signed-off-by: Karl Beldan --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc

[PATCH 0/3] drm/tilcdc: Some fixes for LCDC rev1

2016-08-23 Thread Karl Beldan
m-next, I see this warning when loading the module: "drm:drm_helper_disable_unused_functions [drm_kms_helper]] *ERROR* Called for atomic driver, this is not what you want." Regards, Karl Karl Beldan (3): drm/tilcdc: Adjust the FB_CEILING address drm/tilcdc: Enable EOF interrupts f